Strange error with serach

Hey. For some reason, whenever I put in ‘Temple of the Rose’ I get the slider associated with Temple of the Rose on the search page. And while it is a beautiful picture, I do not understand why this is happening. Here’s the url for the search can someone explain?

Hey @Peter_Fae,

This looks like a result of customization. The Slider Above Masthead only applies to standard pages but it is displayed in your search results page. If you have custom PHP templates in your child theme and/or additional functions in your functions.php, please remove them and add them back one by one to see what code causes the issue. Or, to check if this is a bug, please switch to the parent theme.

Thanks.

As far as I know, there are no custom templates. This is all the code that exists within the functions.php file -

<?php // ============================================================================= // FUNCTIONS.PHP // ----------------------------------------------------------------------------- // Overwrite or add your own custom functions to Pro in this file. // ============================================================================= // ============================================================================= // TABLE OF CONTENTS // ----------------------------------------------------------------------------- // 01. Enqueue Parent Stylesheet // 02. Additional Functions // ============================================================================= // Enqueue Parent Stylesheet // ============================================================================= add_filter( 'x_enqueue_parent_stylesheet', '__return_true' ); // Additional Functions // ============================================================================= // Add Social Sharing and Link to Donations Page at bottom of all posts add_action( 'x_before_the_content_end', 'x_print_social', 999 ); function x_print_social(){ if(is_singular( 'post' )){ echo do_shortcode('[share title="Share the Magick!" facebook="true" twitter="true" google_plus="true" linkedin="true" pinterest="true" reddit="true" email="true"]'); echo '

LIKE THIS ARTICLE? WANT TO HELP CHANGE THE WORLD? CLICK TO SUBSCRIBE TO THE MYTHICA! '; } } The error seems to draw on the name of the Revolution Slider and then put that into the search parameters. Any way of discerning the issue through the code?

Have you tried switching to the parent theme? If that does not help, please keep the parent theme enabled and give us WP Admin and FTP access so we could check what’s wrong with Pro.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.