Hello again, I have a problem with php queries of wordpress in your slider.
When I edit a slide in the custom slider (of Royalslider of course) and add php code to list posts from category, such as:
$catquery = new WP_Query( 'cat=1&posts_per_page=2' );
while($catquery->have_posts()) : $catquery->the_post();
?>
It only writes
have_posts()) : $catquery->the_post(); ?>
This code works perfectly in a widget, but does not work in the royal slider. Any help?
.
help.dimsemenov.com
No comments:
Post a Comment