WordPress.org

Ready to get started?Download WordPress

Forums

Latest Custom Post Type Updates
[resolved] widget to theme ! (5 posts)

  1. kianograph
    Member
    Posted 1 year ago #

    i want to add latest custom post type's publish date to a cell of table in my template..

    <thead>
    		<tr>
    			<th><strong>latest update time</strong></th>
    		</tr>
    ........

    can i do this with your plugin ?

    http://wordpress.org/extend/plugins/latest-custom-post-type-updates/

  2. David Wood
    Member
    Plugin Author

    Posted 1 year ago #

    This is not something that can be done with this plugin as it's purpose is to add a widget to the sidebar. If you are attempting to do this in the WordPress loop, you can use the WP function the_modified_time() (See here) or get_the_modified_time()

  3. kianograph
    Member
    Posted 1 year ago #

    thank you for your answer but i think you can set something like: php query or shortcode or ...
    then i can add this to my template. for example:
    http://wordpress.org/plugins/ads-by-datafeedrcom/
    in this plugin user can use:
    - Simple Usage (Shortcode)
    - Simple Usage (PHP)
    - Advanced Usage (Shortcode)
    - Advanced Usage (PHP)
    to show content anywhere in site template or in post or page!

  4. David Wood
    Member
    Plugin Author

    Posted 1 year ago #

    I know it can be done and I know how to do it, but I am not going to add it to this plugin as I feel it does not fit within the intended scope of this plugin. I apologize for any inconvenience this may cause and I am not trying to be rude or mean, but this plugin is intended to add a widget and nothing more.

  5. kianograph
    Member
    Posted 1 year ago #

    thank you Mr. David Wood ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic