Support » Theme: Leaf » Use Slider to post "Category" instead of "Latest Posts"

  • Hey Brad – Great Theme!

    I was was wondering if it is possible to have the slider show posts from a single category instead of the ‘latest posts’. What I would like to be able to do is create a category called “Headlines” and have any post that I set to that category show up in the slider.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author bradthomas127


    Hi Nick, This will be something that comes in a future update, the next update about to roll out will just have bug fixes since it’s a new theme but i will be adding more options soon.

    Thanks for the quick response Brad!
    Can you point me to the CSS file that controls this? maybe I can hack it up myself.

    thank you!

    I did this by creating a child theme and adding:

    'category__in' => array(19)

    to the $args line of the slider section (where 19 is the category id of the category I wanted to display on the home page slider).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Use Slider to post "Category" instead of "Latest Posts"’ is closed to new replies.