Support » Plugin: Taxonomy Terms List » [Plugin: Taxonomy Terms List] Does it work for pages, too?

  • Resolved iftomkins

    (@iftomkins)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Michael Fields

    (@mfields)

    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

    Thread Starter iftomkins

    (@iftomkins)

    Mike,

    Works perfectly. Thanks so much!

    Cheers,
    Alan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Taxonomy Terms List] Does it work for pages, too?’ is closed to new replies.