I made a search and still couldn’t solve my problem.
I got this error msg on my theme:
Warning: Invalid argument supplied for foreach() in /home/catscity/domains/catscity.com.my/public_html/xu/wp-content/themes/brajeshwar-v70-1/index.php on line 43
and the line 43 code shows this:
<h3 class=”sec-title”>Recent articles</h3>
$posts = get_posts(‘numberposts=5&offset=1’);
foreach($posts as $post) :
why it doesn’t work?
I am using the latest wordpress and a theme called brajeshwar.
- The topic ‘Recent Post display’ is closed to new replies.