WordPress.org

Support

Support » Plugins and Hacks » where do u add the code?

where do u add the code?

  • Hi.
    Awesome plugin luv the idea!

    Im wanting to display the image on the post page, iv added the code to the single.php page, but nothing is showing up. the post has the tag associated with it and iv added an image to that tag. PLEAS HELP!

    $image_url = apply_filters( 'taxonomy-images-queried-term-image-url', '' );
    echo $image_url;

    https://wordpress.org/plugins/taxonomy-images/

Viewing 1 replies (of 1 total)
  • Elias Gómez
    Participant

    @eliasgdj

    As you can see in the Home of the plugin:

    This filter only works in views that naturally use templates like category.php, tag.php taxonomy.php and all of their derivatives

    and not in single.php.

    I think you should use on of the other filters explained there.

Viewing 1 replies (of 1 total)
  • The topic ‘where do u add the code?’ is closed to new replies.