• I’m using Storefronts Pharmacy child theme.
    Is there an easy way to display post meta data on pages?
    I would like to include author date published/date updated.
    Similar to the way the meta data is displayed on this page!

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

    (@sri-shunyata)

    For the sake of extra clarity I would like add a byline (author, post published date and or updated date) below your post title on pages.

    According to this rather old article: How to Display Blog Post Meta Data this is usually done by adding something like the following inside the page or post loop.

    By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> in <?php the_category(', '); ?> <?php edit_post_link(__('{Edit}'), ''); ?>

    The problem is that I’d lose this customization when I update my child theme. Is there a way to inject it into the loop by way of a function?

    Thanks

    `

    Hi!

    Since you purchased the child theme, I suggest that you submit a support ticket – https://woocommerce.com/my-account/create-a-ticket/

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to display Author and Date Meta Data on Pages?’ is closed to new replies.