Amount of posts on featured on the slider (4 posts)

  1. arthursmirnov
    Posted 1 year ago #


    Would you please tell me how I can change amount of slides on the slider on the mail page at http://www.blackandindianmission.org

    I can't find out where this number is..

    Thank you very much!

  2. Hi there, to set up a slider in Untitled, you need to decide on a tag - a special word to identify the posts you want to appear in the slider. If you don't remember what it was, you can check the tag under Appearance > Customize > Featured Content.

    Once you know what the tag is, edit the posts you want to remove from the slider and remove the featured-content tag from those posts from the Tags area. Save the post after you've removed the tag.

    Let me know it goes.

  3. arthursmirnov
    Posted 1 year ago #


    Thanks for your response! I really appreciate it.

    The problem is I need to have a different number of posts that will be featured on the slider. As of now, it only allows me to have 10 posts featured in the slider on the main page. I need to change this number to like 25-30.

    Can you please help me which php file is responsible for that?



  4. Hi Arthur, the number of posts in the slider is set in the file inc/jetpack.php on line 23.

    The challenge is that it can't be easily overridden in a child theme without some custom functions, and if you change it in the theme without making a child theme, your tweak will be erased every time you update the theme.

    If you'd like to experiment with some function enqueuing/dequeing in your child theme, here's something to point you in the right direction:

    remove_action( 'after_setup_theme', 'untitled_infinite_scroll_setup' );

    add_action( 'after_setup_theme', 'theme_prefix_my_jetpack_setup' );

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic