Viper's Video Quicktags
Conflict with WP_Query content (1 post)

  1. detters
    Posted 2 years ago #

    Hi all,

    When I have the following php call in my home.php file and the viper Plugin is activated, the home page does not display the slider. If I deactivate the viper plugin, the slider displays.

    $slider_query = new WP_Query($query_string.'&posts_per_page=-1');
    if ($slider_query -> have_posts()) : while ($slider_query -> have_posts()) : $slider_query -> the_post();
    $featured = get_post_meta($post->ID, 'featured', $single = true);
    $featured_image = get_post_meta($post->ID, 'featured_image', $single = true);
    if($featured =='1'){?>

    Many thanks!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Viper's Video Quicktags
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic