Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author August Infotech

    (@augustinfotech)

    Hello _SSS,

    yes, the code is correct and you get the images id with this code. To display the image kindly use this code <?php wp_get_attachment_image_src(id,'thumbnail'); ?> and also please confirm you get the value in $each_cat->term_taxonomy_id.

    Please let me know if you have any query.

    Thanks & Regards,
    August Infotech

    Thread Starter _SSS

    (@_sss)

    hi ,
    thanx for quick reply
    yes i am getting the value of each category id i.e($each_cat->term_taxonomy_id) .
    do_shortcode(‘[multiimg id=”‘.$term_taxonomy_id.'” taxname=”tribe_events_cat”]’);
    what this function return to me.(if var_dump(do_shortcode) then it gives me string 0)how to do that plz let me know

    wp_get_attachment_image_src(id,’thumbnail’);in this function which id do i need to pass i am not getting .

    TY

    Plugin Author August Infotech

    (@augustinfotech)

    Hello _SSS,

    Will you please provide us your site url.

    Thanks & Regards,
    August Infotech

    Thread Starter _SSS

    (@_sss)

    Hi August Infotech
    do_shortcode(‘[multiimg id=”‘.$term_taxonomy_id.'” taxname=”tribe_events_cat”]’);
    not working for me .but i got the solution . anyway Thanx

    Plugin Author August Infotech

    (@augustinfotech)

    Hello _SSS,

    We think might be you resolved your problem and if you have still any query regarding this then please tell us.

    Thanks & Regards,
    August Infotech

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to get the images in templates?’ is closed to new replies.