code

font size

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

text

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

background

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

margin

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

padding

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

appearance

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

font size

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

line height

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

letter case

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

letter spacing

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

border

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}
function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

theme custom settings

alignwide

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

alignfull

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

alignleft

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

alignright

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

aligncenter

function the_title( $before = '', $after = '', $echo = true ) {
    $title = get_the_title();
 
    if ( strlen( $title ) == 0 ) {
        return;
    }
 
    $title = $before . $title . $after;
 
    if ( $echo ) {
        echo $title;
    } else {
        return $title;
    }
}

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

[emulsion_relate_posts]