Strange Mystique Search Results XHTML disappearing videos problem
-
This is wierd and unfortunately, I cannot pin down precisely when it started happening, but I only noticed it yesterday. I’m sure it didn’t use to do this.
I have Mystique theme and I use Smart Youtube plugin in most of my posts.
For a normal page such as my home page
https://mortifrog.basnet.co.uk/
Everything works fine. Videos display ok and XHTML validates.
If I do a search using Firefox the page displays ok with all the videos in posts intact. However, the xhtml does not validate.
If I do the same search in IE8 (doesn’t matter if I am in compatibility mode or not) – as the page renders – the videos appear – then they disappear leaving white space in their place.
I have tried disabling all plugs-ins (which is really annoying as settings disappear in WP Super Cache and WordPress.com Stats) to no avail.
I think the problem is something to do with the ampersand before mystique not saying & in the source code of the search results:
@import "https://mortifrog.basnet.co.uk/?s=daniel&mystique=css";
However, I have been unable so far to find where about this line of code is being generated from. I tried downloading the mystique theme from my themes directory and searching all the files for: mystique=
found nothing:
searched for @import and amongst a couple of other results which I don’t think were relevant – I found the following code which I think might be causing the error, although I could be way of the mark.
function mystique_load_stylesheets(){ ?> <style type="text/css"> @import "<?php bloginfo('stylesheet_url'); ?>"; @import "<?php echo esc_url_raw(add_query_arg('mystique', 'css', (is_404() ? get_bloginfo('url') : mystique_curPageURL()))); ?>"; </style>
Has anyon got any ideas please?
- The topic ‘Strange Mystique Search Results XHTML disappearing videos problem’ is closed to new replies.