New Front EN › Support Forums › Sensei Theme Support › Nivo-slider images
Tagged: Nivo-slider
- This topic has 4 replies, 2 voices, and was last updated 11 years, 10 months ago by incraz.
-
AuthorPosts
-
January 21, 2013 at 4:50 pm #863incrazParticipant
Hi,
I am using shortcode for the nivo-slider for one of my pages. I am attempting to get the nivo-slider to pull specific images. I am not sure how to do this. At the moment it appears to be pulling random images except for the categories option. Please help.
Thanks,
Kari
January 21, 2013 at 11:56 pm #865satoriKeymasterDear Kari,
if you want your nivo slider to pull images from the post it is inserted into, please choose the “post” option from the “Source of images” dropdown in the shortcode setup screen (the final shortcode that is inserted into the page/post will look something like this:
[nivo_slider source=”post” link=”image” size=”656×300″ limit=”10″ effect=”random” speed=”600″ delay=”3000″]
Now, in order to attach images to the post/page, press the “Add media” button above the text editor area and choose the files to upload; once the are uploaded, press “Save all changes” at the bottom of the window and close it. Save the page – and you should be able to see the slider. Please see this demo page I’ve made for you for the final look of the slider.
I hope I wasn’t too confusing :)
Sincerely,
Andrew | SatoriJanuary 22, 2013 at 10:14 am #868incrazParticipantHi Andrew,
Thanks for this. This is what I did originally. The problem I have is when I select the ‘post’ option it pulls a random image from one post and another image from another post. The nivo-slider is on the home page and I only want it to pull from the most recent post from the post page. Is there a way to specify which post it is meant to pull from, and if so where would I enter it into the shortcode?
Thanks again,
KariJanuary 22, 2013 at 2:23 pm #870satoriKeymasterDear Kari,
in order to force the slider to extract images from a particular post or page (not necessarily the current one), try the following shortcode:
[nivo_slider source=”post=12” link=”image” size=”656×300″ limit=”10″ effect=”random” speed=”600″ delay=”3000″]
putting the desired post/page ID instead of the “12”. You can find the ID of a page/post by entering the editor mode – the URL part with says “?post=12” or some other number is what you need.
Also, if you want to pull the images from the latest posts on your homepage, why not try the Recent Posts Slider, which is also included in the theme – you can choose it in the “Custom header” box below the content editor in the page edit mode, and adjust its settings in “Appearance -> Recent Posts Slider”.
Sincerely,
Andrew | SatoriJanuary 22, 2013 at 2:37 pm #872incrazParticipantGreat! that worked!
Thanks again,
Kari
-
AuthorPosts
- You must be logged in to reply to this topic.