Homepage Blog Slider Items set to a specific category?

Ask Enigma Premium Theme Installation, Settings & Configuration, Problem, Error & Bug Related Issues Here

Moderator: forum_m

Post Reply
mattsmedia43
Posts: 5
Joined: December 9th, 2016, 11:04 pm

Homepage Blog Slider Items set to a specific category?

Post by mattsmedia43 » May 25th, 2018, 10:57 pm

I would like to set the homepage blog slider to a specific blog category.

How can I accomplish this?

This is the website I need help with: http://cifac.org/

support_staff
Posts: 7252
Joined: February 26th, 2015, 1:40 pm

Re: Homepage Blog Slider Items set to a specific category?

Post by support_staff » May 26th, 2018, 12:53 pm

Hello,

Firstly create a child theme using a plugin - https://wordpress.org/plugins/orbisius- ... e-creator/

Now copy and paste home-blog.php from your parent theme to child theme.
Open home-blog.php of your child theme and replace the code with the code given in the below link and save the file -
https://pastebin.com/awrzS9V8

Open the functions.php file of your child theme - copy and paste the code given in the below link at the end of a functions.php file and save the file -
https://pastebin.com/0QnvDRsm

Now go to Dashboard -> Appearance -> Slider Blog Options -> here you can select a category and save the settings.

Thanks.

mattsmedia43
Posts: 5
Joined: December 9th, 2016, 11:04 pm

Re: Homepage Blog Slider Items set to a specific category?

Post by mattsmedia43 » May 27th, 2018, 4:17 am

Thank you very much for this step-by-step process to resolve my challenge.

Works great, couldn't be happier.

support_staff
Posts: 7252
Joined: February 26th, 2015, 1:40 pm

Re: Homepage Blog Slider Items set to a specific category?

Post by support_staff » May 28th, 2018, 11:15 am

You're Welcome,

Let us know for further query.

Post Reply

Return to “Theme Installation, Settings & Configuration, Problem, Error & Bug”