• Resolved theronin42

    (@theronin42)


    How can I remove the Posted on and by line in pages and posts? I’ve looked everywhere particularly in functions.php. Am I not seeing it? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter theronin42

    (@theronin42)

    I’m sorry but if I could also ask where to remove the Bookmark permalink link at the bottom of pages also.

    Thank you!

    Thread Starter theronin42

    (@theronin42)

    Oh nevermind I got it …

    content-single.php

    To remove byline …

    Delete:

    <div class=”entry-meta”>

    <?php zerif_posted_on(); ?>

    </div><!– .entry-meta –>

    To remove category and bookmark permalink in footer …

    Delete:

    <?php

    /* translators: used between list items, there is a space after the comma */

    $category_list = get_the_category_list( __( ‘, ‘, ‘zerif-lite’ ) );

    /* translators: used between list items, there is a space after the comma */

    $tag_list = get_the_tag_list( ”, __( ‘, ‘, ‘zerif-lite’ ) );

    if ( ! zerif_categorized_blog() ) {

    // This blog only has 1 category so we just need to worry about tags in the meta text

    if ( ” != $tag_list ) {

    $meta_text = __( ‘This entry was tagged %2$s. Bookmark the permalink.’, ‘zerif-lite’ );

    } else {

    $meta_text = __( ‘Bookmark the permalink.’, ‘zerif-lite’ );

    }

    } else {

    // But this blog has loads of categories so we should probably display them here

    if ( ” != $tag_list ) {

    $meta_text = __( ‘This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.’, ‘zerif-lite’ );

    } else {

    $meta_text = __( ‘This entry was posted in %1$s. Bookmark the permalink.’, ‘zerif-lite’ );

    }

    } // end check for categories on this blog

    printf(

    $meta_text,

    $category_list,

    $tag_list,

    get_permalink()

    );

    ?>

    Thread Starter theronin42

    (@theronin42)

    marking as resolved

    Alexandra

    (@alexandrastan001)

    Glad that you got it fixed! and thank you for sharing your solution with us ??

    Best regards,
    Alexandra

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Post By and Date?’ is closed to new replies.