Latest news


#1

How to add more than 3 latest news posts?


#2

Hi, you are probably referring to Sydney FP: Latest news widget, if so you have edit file theme root > widgets > fp-latest-news.php, find code below

$r = new WP_Query( array(
			'no_found_rows'       => true,
			'post_status'         => 'publish',
			'posts_per_page'	  => 3,
			'category_name'		  => $category
		) );

and change posts_per_page value to 6 for example('posts_per_page' => 6,).

For this kind of changes you should consider using child theme since changes will be lost on next theme update.

Important: if you decide to use child theme search forum for unregister widget since you have to register changed FP: Latest news.php widget.

Best regards


Latest news section display alignment for more posts (each row with same number posts)
#3

Thanks a lot! It worked out well!
Amazing support, keep it going!