October 1, 2012 at 1:26 am #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’.
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. ;)October 1, 2012 at 9:39 am #92608
You can replace the slider code in includes/helper-template-dynamic.php – open up the file and replace:
$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);
if( strpos($type, 'big') !== false)
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.October 1, 2012 at 9:57 pm #92609October 2, 2012 at 5:51 am #92610
The topic ‘Template Builder & Slideshow’ is closed to new replies.