how to display the image on the category page wordpress?

Question

this is code upload image & edit image category

https://pastebin.com/GmjsJ2K7

this is code for loop category with image

        <?php
        foreach ($tax_terms as $tax_term) {
            echo '
                <div class="col-6 col-md-4 col-lg-3 col-xl-2">
                <div class="video-block video-block-cat">
                <a class="thumb" href="' . esc_attr(get_term_link($tax_term, $taxonomy)) . '" title="' . $tax_term->name.'">
                <img class="video-img img-fluid" data-src="' . esc_attr(get_term_link($tax_term->name, $taxonomy)) . '">        </a>
                <a class="infos" href="' . esc_attr(get_term_link($tax_term, $taxonomy)) . '" title="' . $tax_term->name.'">
                <span class="title">' . $tax_term->name.'</span>
                <div class="video-datas">
                ' . $tax_term->count.' videos           
                </div>
                </a>
                </div>
                </div>
        ';
        }
        ?>

how to display the image on the category page wordpress?

enter image description here

0
No Name 4 months 0 Answers 13 views 0

Leave an answer