get_lastpostdate for custom post type
-
This is probably a simple one but I can’t seem to find an answer anywhere.
I have 2 custom post types. I display them in sections on my home page.
In each section I’d like to have “Last Updated [DATE]” text near the title for each section.
I’ve found
<?php get_lastpostdate( $timezone ) ?>but is there a way of specifying which post type you’d like to query?Many thanks,
S
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘get_lastpostdate for custom post type’ is closed to new replies.