Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1230965

    Hi there.

    I’ve been using this post to implement tags on a blog grid by adding:

                    $cats = get_the_tag_list('<span>Tags: ',', ','</span>', $the_id);
    
                    if(!empty($cats))
                    {
                        $excerpt = '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
                        $excerpt .= $cats;
                        $excerpt .= '</span>';
                    }

    To the postslider.php file after the line

    $output .= !empty($excerpt) ? "<div class='slide-entry-excerpt entry-content' $markup>".$excerpt."</div>" : "";

    Can’t see to get the tags to display though.

    Any thoughts would be useful.
    Thanks
    Richard

    #1231209

    Hey Richard,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1231671

    Hi Victoria

    I’ve managed to solve the problem adding the following after line number 718 in /avia-shortcodes/postslider.php

    $output .= "<div class='slide-meta-tags' $markup>" .get_the_tag_list('',' • ','', $the_id)."</div>";

    Thanks
    Richard

    #1231766

    Hi raslade,

    Glad you got it working for you and thank you for sharing! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Show Tags in a Blog Grid’ is closed to new replies.