WordPress.org

Ready to get started?Download WordPress

Forums

Anarcho Notepad
How to insert featured posts slider? (3 posts)

  1. raul_coca
    Member
    Posted 5 months ago #

    Hi. I want to insert a featured posts slider in the theme. At first, I wanted to insert it in the header, but it proved too difficult and now I decided to put one between the header and the latest posts on the homepage only. How can I do this?

  2. Arthur Gareginyan
    Member
    Theme Author

    Posted 4 months ago #

    Hi! What is "featured posts slider"?

  3. raul_coca
    Member
    Posted 4 months ago #

    Sorry for the late answer. I was away from home for a while. I want to show a slider with the latest posts on homepage, before the latest posts. I tried with a static page and I could put the slider, but if I have many articles they will all show on the homepage, making my website a mile long :P.

    A featured posts slider is that box that usually exists on top of the latest posts. Your theme doesn't have one, but I liked it and wanted to use it anyway, thinking that I can add a slider after. But it's not that easy. I have a slider called "Lazy content slider", check the plugins area on wordpress.org, and it gives you a code to put it wherever you want the slider to appear. I want it to appear on the top of the homepage, and the only place where I can insert the code is home.php, but when I insert it here, the slider repeats at the bottom of every post, making this weird. I thought I should insert it in index.php, but the slider doesn't appear.

    This is my website http://www.necenzuratinarges.ro. You can see at the top the moving slider with 4 featured posts. I solved this using a static page, as I said earlier, but the problem is that I want it to show on my homepage and I don't know where to put the code for the slider, which is <?php if (function_exists("drawslider")){ drawslider(); }; ?>

Reply

You must log in to post.

About this Theme

About this Topic