• Resolved louge1

    (@louge1)


    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/ky0r6y

    Are you able to help me out with this problem? ??

    Thanks in advance.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Support for custom post types’ is closed to new replies.