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

    Having installed to very good layerslider WP plugin (from codecanyon.net – top plugin !) into my site with the “corona” theme.

    when creating a new page – using “fullsize preview image, no sidebar” and entering [layerslider id=”1″] and on a new line TEST TEST

    it shows the layerslider slideshow and the TEST TEST – really OK !

    when creating a new page – using a dynamic template, using the template builder with “Post/Page Content” and using the page content, which again is [layerslider id=”1″], it shows NO layerslider slideshow, but it does show TEST TEST.

    So when using the template builder functions, the layerslider WP plugin is not working, when using it via a “normal” page layout, it works.

    Something in the “interpretation” of the template builder elements is hindering layerslider WP in working, I guess.

    Please advise.

    #97172

    You can try to remove the content filter from the page/post element code. Open up includes/helper-templates.php and replace:

    $content = get_the_content('<span class="inner_more">'.__('Read more  →','avia_framework').'</span>');
    $content = apply_filters('the_content', $content);
    $content = str_replace(']]>', ']]>', $content);

    with:

    $content = get_the_content('<span class="inner_more">'.__('Read more  →','avia_framework').'</span>');
    $content = str_replace(']]>', ']]>', $content);

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘layerslider WP not working with template builder…..’ is closed to new replies.