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


    love the ‘Template Builder’. Regarding the standard template called ‘Big Slider Template’ which we

    get if we already imported the dummy data I thought it would be very nice if we could exchange the integrated

    Slideshow with a third party slider like the amazing ‘Slider Revolution Responsive WordPress Plugin’.

    >>> (Purchase code hidden if logged out) /2751380

    So it would be awesome if we could copy&paste the shortcode ‘[rev_slider example1]’ directly in the ‘Slideshow’ field of the ‘Template Builder’.

    Right now we only have the following options:

    1. Display the slideshow of this entry

    2. Choose a Page

    I tested the shortcode in the ‘Text Area /Callout / Quotes’ field right in the text box which is called

    ‘The text message that should be displayed’ & it works fine. :)

    (The only problem here is the slider is not fitting the biggest container which is the

    div class=”container_wrap” & is stucked in the container called div class=”container”)

    So I hope & think that implementing this idea is not that difficult but would be a huge advantage for a lot of

    people who can not or do not want to edit template files (core files) by their own.

    What do you think?

    In the meantime what would be the best method to exchange the normal slider with the Rev. Slider via the php command:

    <?php putRevSlider(“example1”); ?>

    So that we still can use the Template Builder & are not stucked with a normal static template.

    Thanks. ;)


    You can replace the slider code in includes/helper-template-dynamic.php – open up the file and replace:

    function slideshow($element)
    global $avia_config;

    if(!isset($element['saved_value'])) return;

    $this -> contentBlock = true;
    $id = $dynamic_slideshow_which_post_page == 'self' ? avia_get_the_ID() : $dynamic_slideshow_page_id;
    $type = avia_post_meta($id, '_slideshow_position');

    $slider = new avia_slideshow($id);
    $slider->customClass("dynamic_element dynamic_el_".$this->dynamic_counter);

    if( strpos($type, 'big') !== false)
    return $slider->display_big();
    return $slider->display();


    function slideshow($element)
    return putRevSlider("example1");

    However you need to make sure that the putRevSlider function just RETURNS a value and doesn’t output the html code directly (eg with the php echo function). Tbh I really doubt that we’ll integrate premium third party sliders into our theme and an api wouldn’t help users without advanced coding skills too.


    Thanks for your answer! :)



    Glad that I could help you :)



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

The topic ‘Template Builder & Slideshow’ is closed to new replies.