• I know that Dyad 2 can feature a maximum of 6 posts in the featured content slider on the blog page.

    I am trying to increase this to, for instance, 7 and I think that the clue is in the jetpack.php theme file. There I find this code:

    add_theme_support( 'featured-content' , array(
    			'featured_content_filter' => 'dyad_2_get_banner_posts',
    			'max_posts' => 6,
    			'post_types' => array( 'post' ),
    		) );

    and I have increased the max_posts number to 7 and inserted the code into functions.php via the Snippets Plugin.

    But it won’t show more than 6 featured posts. Is there a way to achieve this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @ukandrzej,

    Unless someone else can chime in with a solution, I recommend asking a developer for advice about changing Dyad’s default functionality — they should be able to confirm which file is controlling the number of featured posts.

    It looks like you are already using a child theme, which was the other thing I was going to suggest ??

    @ukandrzej I too recommend adding this via your existing child theme instead. Please let us know whether you need more help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Maximum number of featured posts in featured content slider’ is closed to new replies.