[Plugin: Simple Taxonomies] Adding this to filters.php (2 posts)

  1. extatix
    Posted 6 years ago #

    Hi, I'm using this plugin to assign genres to reviews on my reviewblog. I'm currently running the Arras Theme and want to add it to the filters.php so it shows automatically (and deleting the tags from the filters.php).

    I used this code:

    if ( get_option('yoast_simpletax') && !is_attachment() )
    $postheader .= '<span class="tags">' . __('Genre(s):', 'arras') . '' . yoast_term_title(' ', ', ', ' ') . '</span>';

    But it only shows the word 'Genre(s):' but not the output. Any idea how to fix this?


  2. extatix
    Posted 6 years ago #

    I've found a workaround for this with the help of a plugin. I'll use tags for assigning genres and Mircrokid's Related Posts plugin to manually assign related posts (which was the problem because the related posts plugin I used until now looked at the tags only).

    But I still like to know how to fix this piece of code so I might (in a future far far away) assign things like studio's and directors to the posts.

Topic Closed

This topic has been closed to new replies.

About this Topic