Automaticatly add image on smart lists's "last page"

Posted in: Newspaper
Post count: 3

Hello,

I would like to add automomaticatly an image at the end of all my smart lists.
For example, if i create a smart list with 5 images, i want the article display 6 images, the last one will be the image i want to add automaticatly.

Example :
I have 5 smart lists published on my website.
All theses 5 smart lists have 10 images.
=> I would like to add an image at the end of all theses smart lists to have 11 images (the 11th image will be the same on all smart lists, and integrated automaticatly.)

More details :
I have a sport website, and i want all the smart list finish with the same image to promote our facebook page.

Is it possible ? Without add with my hand on all smart list, the image i want, because if i need to change the image, i want it changes on all smart lists 😉

Thanks a lot for answer ?

Regards

Franck

Post count: 22421

Hello,

Unfortunately there is no option for this. You will have to edit the theme core files in order to implement such an feature. You can use a do_shortcode function and use a visual composer single image element shortcode like so:
Add a single image element and place your image inside it. Use the settings for the block element to adjust size and other options: http://screencast.com/t/cII3MReWUA then enter classic mode and text mode to get the shortcode for the element: http://screencast.com/t/yxQaVF8PM
Then you can use this code: $buffy .= do_shortcode('enter visual composer element here');
You have to place the code in the smartlit file corresponding to the smartlist you use: http://screencast.com/t/saAZIJFjaAsn
This will make an image appear on the bottom of every slide. Just adding one image on the end of the smartlist is not so easy to do from the code as smartlists are based on a loop.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.