• Resolved travelvice

    (@travelvice)


    Howdy Bernhard & others,

    I just wanted to get a quick usability clarification, if you have a moment.

    It’s my intention to tag various pages with country names (like ‘Peru’ — these tags likely not shown to the visitor), and output a list of said tagged pages on a primary country page.

    Thus, the Peru page would display relevant content from interspersed pages that might touch on multiple country subjects (such as crossing the border into Ecuador).

    I just wanted to verify that this is indeed not an issue w/ this plugin, and was curious if there was a way to output the results based on the creation date of the content, as opposed to alphabetically?

    Cheers,

    //craig

    https://www.ads-software.com/extend/plugins/tagpages/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Bernhard Riedl

    (@neoxx)

    Hi Craig,

    TagPages enables WordPress with post-tags functionality for pages. In other words, most of the WordPress default functions for tags can be used.

    As described in the FAQs you could include a call to the built-in template tag get_the_tags to retrieve the tags associated with a certain page. You could then implement for example get_posts to query for the related posts/pages of the tags-list you’ve retrieved before.

    Please note, that WordPress does not store any date information with your tags, though pages have various timestamp fields in the database which you can use for your purpose.

    If you don’t like to do this by hand, I’m pretty sure there are some plugins out there which you can combine…

    greetz,
    Berny

    Thread Starter travelvice

    (@travelvice)

    Thanks for your thoughts Berny. I’ve certainly no issues with crafting by hand.

    Regarding get_posts, would using an 'orderby'=>'post_date', 'orderby'=>'date', or 'orderby'=>'modified' result in the desired output?

    //craig

    Plugin Author Bernhard Riedl

    (@neoxx)

    if there was a way to output the results based on the creation date of the content

    'orderby' => 'date' which also seems to be the default of get_posts

    Thread Starter travelvice

    (@travelvice)

    Great! Thanks Berny, looking forward to leaning on your plugin a great deal in the near future.

    Cheers,

    //craig

    Plugin Author Bernhard Riedl

    (@neoxx)

    No worries. – A rating would be nice… ??

    Thread Starter travelvice

    (@travelvice)

    done, sir. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: TagPages] Output tagged pages based on the creation date of the content?’ is closed to new replies.