Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1061254

    hello Enfold team,
    I followed this thread and added the following code to my functions.php to add the tags at the bottom of my page
    https://kriesi.at/support/topic/portfolio-tags-linking-error-tag-placement/

    But the tags are still coming up at the top. I even tried changing the priority from 999 to 50000, but they still stay at the top..
    What can I do to change that?
    Thanks
    Srishti

    add_filter(‘avf_template_builder_content’, ‘avia_add_social_toolbar_template_builder’, 999, 1);
    function avia_add_social_toolbar_template_builder($content = “”)
    {
    if(is_singular(‘portfolio’))
    {
    $posttags = get_the_tags();
    if ($posttags)
    {
    $content .= ‘<span class=”blog-tags minor-meta”>‘.__(‘Tags:’,’avia_framework’).’<span> ‘;

    $numItems = count($posttags);
    $i = 0;

    foreach($posttags as $key=>$tag)
    {
    if(++$i === $numItems)
    {
    $content .= ‘term_id).'”>’. $tag->name .’‘;
    }
    else
    {
    $content .= ‘term_id).'”>’. $tag->name .’, ‘;
    }
    }
    $content .= ‘</span></span>’;
    }
    }

    return $content;
    }

    #1062244

    Hey c_srishti,

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.