WordPress.org

Ready to get started?Download WordPress

Forums

Mantra
[resolved] Add more than 5 slides (eg 8 slides) (5 posts)

  1. babyatom
    Member
    Posted 1 year ago #

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

  2. babyatom
    Member
    Posted 1 year ago #

    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.

  3. babyatom
    Member
    Posted 1 year ago #

    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;?>" />

  4. headless99
    Member
    Posted 1 year ago #

    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

  5. headless99
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.