Support » Theme: Mantra » Add more than 5 slides (eg 8 slides)

  • Resolved babyatom

    (@babyatom)


    Title says it all really… I want to be able to have more than 5 slides on the homepage – how do I do it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • babyatom

    (@babyatom)

    Sorry :-/ It’s in the FAQs http://www.cryoutcreations.eu/mantra/mantra-faqs
    So I’ve changed the slider to show 8 posts from a category. Trouble is the images in the slider now link to the post – I don’t want them to link to the post as there’s no post really, they just exist for the homepage slider.

    babyatom

    (@babyatom)

    Not sure if I’m being annoying here but I’ve solved this myself….

    For anyone who’s interested, in theme-frontpage.php there’s this which makes the slider image a link:
    “><img src=”<?php echo $image[0]; ?>” alt=”” title=”#caption<?php echo $i;?>” />

    So I took out the link bit to leave this:
    <img src=”<?php echo $image[0]; ?>” alt=”” title=”#caption<?php echo $i;?>” />

    Chris Head

    (@headless99)

    Thanks for the tip on the php code. I have followed the Mantra FAQ’s, created a category and added some posts with images. However I do not see the image in the slider; I see the title of the post as the slider cycles them through but never the image.
    I have tried the different Formats for the post but clearly I am missing something. Do you have any suggestions I might try?

    Cheers

    Chris Head

    (@headless99)

    Back again and resolved. I didn’t set the featured image in the post! So much for reading the Mantra FAQ’s

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add more than 5 slides (eg 8 slides)’ is closed to new replies.