WordPress.org

Forums

Cant get author, date to show in post (2 posts)

  1. stuartmr
    Member
    Posted 7 months ago #

    I have tried adding the following code to my page.php:
    <?php the_author(); ?> | <?php the_date('l, F jS, Y'); ?><br /><br />

    However, this still isn't showing. I'm using the free theme Grid Responsive which I imagine is interfering but I can't figure out how. It may be the AddThis plugin since that flows right below the title (but I can't seem to find the code in any of the php files). Here is an example page where it is not showing.

    I got it to show on this static page but can't get it to show on the blog posts. I know it must be something simple I'm missing. However, I have looked through all the other files and can't seem to find anywhere else where the title and content is listed.

    Any help is GREATLY appreciated!

  2. Aaron Nimocks
    Member
    Posted 7 months ago #

    I dont see it working on either page.

    But 1 of the pages you use Discuss for comments and the other you dont. So off the top of my head I would say disable that plugin and see if you get the same results on both a page and a post.

Reply

You must log in to post.

About this Topic