plugin do not show the selected image
-
sorry for my ignorance, I installed the plugin and set the settings as shown in the images. But it doesn’t show the image on the category page. Maybe I need to add this php script somewhere?
$taxonomy_img = get_taxonomy_image( int $term_id = get_queried_object()->term_id , boolean $return_img_tag = false , array $class = array() );
get taxonomy image url if $return_html = true then return tag
Parameters :
$term_id
(int) (Required) Taxonomy ID of the term.$return_img_tag
(boolean) (Optional) Formatted Image with tag for the field during output.$class
(array) (Optional) Array of image classes ex: array(‘class1′,’class2’,…) but $return_img_tag should be true to add image class.echo $taxonomy_img; // taxonomy image url
thank you
Luciano
The page I need help with: [log in to see the link]
- The topic ‘plugin do not show the selected image’ is closed to new replies.