WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. detters
    Member
    Posted 1 year 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.

    <?php
    $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!

    http://wordpress.org/extend/plugins/vipers-video-quicktags/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic