WordPress.org

Ready to get started?Download WordPress

Forums

Leaf
Slider: Only 3 Articles instead of 5 (4 posts)

  1. skofield
    Member
    Posted 1 year ago #

    Hi,

    do you know how I can tell the slider that he just shows the latest 3 articles instead of 5 and then continue with the 4th under "More Articles"?

  2. skofield
    Member
    Posted 1 year ago #

    Nobody? Here is the link to the site:

    http://www.crazy-geese.at

  3. bradthomas127
    Member
    Theme Author

    Posted 1 year ago #

    Make or download ( https://github.com/bradthomas127/leaf-child )a child theme and place a copy of home.php from Leaf and place in the child theme.
    Edit lines: 23 and 25 ( https://github.com/bradthomas127/leaf/blob/master/home.php ) to make "posts_per_page' => 5" to display " posts_per_page' => 3"

  4. skofield
    Member
    Posted 1 year ago #

    Thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic