Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Weird text on top of the page when with the plugin active
- This topic has 5 replies, 2 voices, and was last updated 5 years, 1 month ago by
remyvaneijsden17.
-
AuthorPosts
-
April 28, 2021 at 12:57 pm #32967
remyvaneijsden17
ParticipantHello,
I suddenly get a lot of weird text on the frontend on top of my pages… It’s from the ajax search pro plugin.. It also mentions it in the code.
When i deactivate the plugin, the text is gone. Some of the text i get:@font-face { font-family: ‘asppsicons2’; src: url(‘https://zeeuwsebeelden.nl/wp-content/plugins/ajax-search-pro/css/fonts/icons/icons2.eot’); src: url(‘https://zeeuwsebeelden.nl/wp-content/plugins/ajax-search-pro/css/fonts/icons/icons2.eot?#iefix’) format(’embedded-opentype’), url(‘https://zeeuwsebeelden.nl/wp-content/plugins/ajax-search-pro/css/fonts/icons/icons2.woff2’) format(‘woff2’), url(‘https://zeeuwsebeelden.nl/wp-content/plugins/ajax-search-pro/css/fonts/icons/icons2.woff’) format(‘woff’), url(‘https://zeeuwsebeelden.nl/wp-content/plugins/ajax-search-pro/css/fonts/icons/icons2.ttf’) format(‘truetype’), url(‘https://zeeuwsebeelden.nl/wp-content/plugins/ajax-search-pro/css/fonts/icons/icons2.svg#icons’) format(‘svg’); font-weight: normal; font-style: normal; } .asp_m{height: 0;}
Before this the plugin worked perfect! Is there something changed?
thanks,
Remy
April 28, 2021 at 1:02 pm #32968Ernest Marcinko
KeymasterHi,
You have a type error in your site header in one of the meta tags: https://i.imgur.com/rhfLkYj.png
The tag is therefore not closed and the inline style text is printed as is. Try checking your header.php theme file if you made changes to it recently, to resolve that incorrect quote character.April 28, 2021 at 1:18 pm #32971remyvaneijsden17
ParticipantHello Ernest,
thanks for the quick response!
I’ve changed nothing about the install.. Only updated my plugins and wordpress.I intentionally don’t make changes to the theme files. I only have a child theme with a few lines of code that change something for woocommerce, further than that i try to keep all code as is.
In the child theme I see nothing weird..
April 28, 2021 at 1:26 pm #32972remyvaneijsden17
Participantsorry, it was my own stupid fault!… I added code trough the elementor code into the header a few weeks back. The closing tag was not there. Thanks for helping me find it!
Remy
April 28, 2021 at 2:18 pm #32974Ernest Marcinko
KeymasterYou cannot access this content.
April 28, 2021 at 2:21 pm #32975remyvaneijsden17
Participantyes, it can be closed!
-
AuthorPosts
- The topic ‘Weird text on top of the page when with the plugin active’ is closed to new replies.