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

    Hi support,

    I am building a portfolio on a new website and want the title on each portfolio items to show on separate lines (i.e. line1: Namem line 2 : job description). I have used Enfold on other sites before where I have succeded in doing so by just adding a <br> tag where I want the titletext to split and move to the next line, but whenever I do so, the tag just disappears and the text in it’s entirety is shown on the same line.
    Where can to turn HTML tags on?

    Regards
    Metin

    #1253821

    Hi Metin,

    Can you try to edit wp-content > themes > enfold > config-template-builder > avia-shortcodes > portfolio > portfolio.php (line 1031):

    $output .= "<a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a>";

    replace it with:

    $output .= "<a href='{$title_link}' title='".esc_attr($title)."'>".$title."</a>";

    By removing strip_tags function it does make the brs work.

    Best regards,
    Nikko

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