• Resolved bammann

    (@bammann)


    Hello,

    I’ve been trying to disable the default entry meta displayed at the bottom of posts in Espied and have it displayed instead beneath the post title. So far my solution has been to write out the following code in the content.php file inside the “entry-content” div:

    <?php echo “Posted on”?>
    <?php espied_entry_date(); ?>
    <?php echo “by” ?>
    <?php the_author_posts_link() ?>

    I then style this with CSS and remove the call to the function espied_entry_meta() in the footer. Is this not a good way to be changing the layout of the meta information for posts, and if not, can anyone suggest a better alternative?

    My last question is the posts are still displaying my username instead of first/last name. I’ve seen mention online of a “Display Name Publicly As” option in the user profile underneath the “Nickname” field, but I do not have a dropdown box titled this.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bammann

    (@bammann)

    Quick update regarding the “Display Name Publicly As” option not showing up. It appears its an issue with developing the WP site via localhost, as the option appears for me just fine on my webhost.

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi there, the PHP solution is one way to do this, but you can also hide the post meta data below the post content with CSS.

    .site-content footer.entry-meta {
        display: none;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Post Entry-Meta Layout & Display Name’ is closed to new replies.