Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Thread Starter arthursmirnov

    (@arthursmirnov)

    Kathryn,

    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?

    Thanks,

    Arthur

    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' );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Amount of posts on featured on the slider’ is closed to new replies.