Plugin breaking ALL frontend search queries
-
Hi there,
I seem to be getting an issue with the plugin where I am trying to do a very basic custom search query on the frontend of my site. Please see the code below.
<?php $args = array('s' => get_search_query()); ?> <?php $query = new WP_Query($args); ?> <?php while ($query->have_posts()) : $query->the_post(); ?> <?php the_title(); ?> <?php endwhile; ?>
When this plugin is activated the custom search query returns no results, however as soon as I disable CPT UI everything works as it should.
I have tried changing themes, disabling all plugins except CPT UI and nothing seems to be work. Is this a known issue? I don’t think that this is theme or plugin conflict related due to the tests I have made. The only thing I am yet to test is moving the hosting, else this looks like it is a bug within the plugin files.
I appreciate any help and support you can give on this.
Cheers
Aaron
- The topic ‘Plugin breaking ALL frontend search queries’ is closed to new replies.