WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Terms List
[resolved] Does it work for pages, too? (3 posts)

  1. iftomkins
    Member
    Posted 3 years ago #

    Hi! Love the concept. I installed it, and have tested on pages. But I can't get it to work.

    The pages I'm not seeing the links on are part of custom taxonomy with several other pages, and those pages are marked with the same terms as other pages within that taxonomy. Yet the links are not showing up.

    This leads me to ask--does it work for pages, too? And if not, could I tweak it?

    Thanks!
    Alan

    http://wordpress.org/extend/plugins/taxonomy-terms-list/

  2. Michael Fields
    Themer
    Plugin Author

    Posted 3 years ago #

    This was intended to be a very simple plugin and currently it only works on posts. To extend the functionality to pages, you can change the code around line 54 from:

    if( is_single() ) {
        return $c . $o;
    }

    To:

    if( is_single() || is_page() ) {
        return $c . $o;
    }

    Hope this helps,
    -Mike

  3. iftomkins
    Member
    Posted 3 years ago #

    Mike,

    Works perfectly. Thanks so much!

    Cheers,
    Alan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic