estate_089
Member
Posted 11 months ago #
Hey Guys,
Taxonomy Images gives great new possibilities but when I copy&paste the filter to my loop-single.php inside the loop I only get:
Warning: Missing argument 2 for taxonomy_images_plugin_list_the_terms() in C:\xampp\htdocs\glaswerkfreital\wp-content\plugins\taxonomy-images\public-filters.php on line 242
Snippet I used:
<?php print apply_filters( 'taxonomy-images-list-the-terms', '' ); ?>
I have no idea where this warning does come from.
Regards
http://wordpress.org/extend/plugins/taxonomy-images/
Hi, This is most likely a bug in the plugin ... i thought I fixed all of these, but maybe I missed one. Please try the following code and let me know how it works for you:
<?php print apply_filters( 'taxonomy-images-list-the-terms', '', array() ); ?>
I'll investigate and get this fixed in the next release.
Thanks!
-Mike
Yep. This is definitely a bug ... got it fixed in the public git repo. Still have a few changes before the next version though. If you're antsy, the master branch is stable:
https://github.com/mfields/Taxonomy-Images
Rein Aris
Member
Posted 9 months ago #
With the version from the git repo the error disappears but my image doesn't show up :)
If my post is attached to an taxonomy wich has an image I can just use print apply_filters( 'taxonomy-images-list-the-terms', '' ); within the loop to display the image(s) right?