• The “last_updated” works for existing pages since I have added the plugin post_updated(). But the “last_updated” does not show up for the new pages that are created after plugin being added.

    This is what I have in the index.php:

    <span class=””><?php post_updated(‘F j, Y’); ?> by <?php the_author() ?></span>

    Does anyone know why and how to fix it? Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter misty9

    (@misty9)

    Oh, I think that I have to use both “posted” as well as “post_updated” to handle the new and existing pages. I thought that post_updated() would handle both scenarios.

    Please do share your comments if you know a way that post_updated can handle new and existing pages. thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin post_updated() doesn’t work for new pages’ is closed to new replies.