Support for custom post types
-
Hello,
Wonderful plugin, however I am having some struggles with a custom post type. I am using WP Job Manager and I would like to display the last modified date using PHP.
I have activated the modified date for posts and custom post types according the documentation. I have a php file (single_job) where I submit the following code:
<?php if ( function_exists( ‘get_the_last_modified_info’ ) ) { get_the_last_modified_info(); } ?>
<?php if ( function_exists( ‘the_last_modified_info’ ) ) { the_last_modified_info(); } ?>
However, both codes are not working (nothing will be displayed).
Also, when I post the shortcodes in the description, they are not converted.
https://prntscr.com/ky0r6yAre you able to help me out with this problem? ??
Thanks in advance.
- The topic ‘Support for custom post types’ is closed to new replies.