iuliasro
Forum Replies Created
-
Forum: Plugins
In reply to: [Same Category Posts] Problem with multiple categoriesHi,
Sorry for not giving more details.
The args should be:$query = new WP_Query( array( ‘cat’ => 4 ) );
but they are in your code:
$query = new WP_Query(array(‘cat’ => array( ‘cat’ => 4 ) ));
this is the exact copy from your code:$args = array(
‘cat’ => array( ‘cat’ => $category),
‘category__not_in’ => $exclude_categories,
‘post__not_in’ => array( $exclude_current_post ),
‘showposts’ => isset($instance[‘num’])?$instance[‘num’]:0, // Number of same posts that will be shown
‘ignore_sticky_posts’ => 1,
‘orderby’ => $sort_by,
‘order’ => $sort_order
);The problem was that the posts were not pulled from the same category, the category was ignored. I corrected that line and now the posts are pulled from the correct category. It is a small problem probably from your latest update and I just wanted to warn you about it.
I have a custom theme, wordpress 4.2.2
Thank you for your response.
Forum: Plugins
In reply to: [WP Favorite Posts] List of favorite post in page is emptyThis implementation worked for me: https://wordpress.org/support/topic/cant-list-favourites?replies=2
Forum: Plugins
In reply to: [YOP Poll] Update paid but no archive receivedThank you, I’ve received the email now
Forum: Plugins
In reply to: [YOP Poll] error in inc/public-admin.phpHello,
I can see the same problem in the latest version, on line 34 there is a function used :
$yop_poll_options = Yop_Poll_Model::get_poll_options_by_id( $yop_poll_id[‘ID’] );and in the file yop_poll_model.php the function get_poll_options_by_id is not defined.