NiceThemesBroken HTML – NiceThemes http://nicethemeswp.com/forums/topic/broken-html/feed/ Tue, 22 Apr 2025 03:03:45 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/broken-html/#post-7052 <![CDATA[Broken HTML]]> http://nicethemeswp.com/forums/topic/broken-html/#post-7052 Mon, 25 Apr 2016 00:24:26 +0000 tchillidog Hi Juan–

I created a similar site to the one you helped me out with before, but for some reason it’s showing a bunch of broken HTML on the homepage. It looks like there were an update to the theme, which I installed, but it doesn’t seem to fix it. It’s under the Grid Iron site within the network.

Do you have any idea of what is causing this? Thank you.

Tiffany

P.S. I sent you new access to my WordPress site since I already deleted the previous one.

]]>
http://nicethemeswp.com/forums/topic/broken-html/#post-7055 <![CDATA[Reply To: Broken HTML]]> http://nicethemeswp.com/forums/topic/broken-html/#post-7055 Mon, 25 Apr 2016 14:00:36 +0000 Juanfra Aldasoro Hi Tiffany,

Thank you for writing.

I’ve received the access keys, unfortunately my user role is set to moderator and I cannot see any configuration panel. Would you please set me as admin so I can help you?

Best,
Juan

]]>
http://nicethemeswp.com/forums/topic/broken-html/#post-7056 <![CDATA[Reply To: Broken HTML]]> http://nicethemeswp.com/forums/topic/broken-html/#post-7056 Mon, 25 Apr 2016 17:35:34 +0000 tchillidog Hi Juan,

Sorry about that. I was pretty sure I set it as admin last night, but I just reset your privileges again to admin so see if that works.

]]>
http://nicethemeswp.com/forums/topic/broken-html/#post-7057 <![CDATA[Reply To: Broken HTML]]> http://nicethemeswp.com/forums/topic/broken-html/#post-7057 Mon, 25 Apr 2016 18:02:41 +0000 Juanfra Aldasoro Hi Tiffany,

Thank you for the follow up.

It seems that the permissions didn’t apply correctly. I tried loggin out and in again and I’m still unable to see the dashboard: https://cloudup.com/cmS95Zmk_W9

If you are using WordPress multisite, please take a look at the Network settings and apply the roles directly over there.

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/broken-html/#post-7058 <![CDATA[Reply To: Broken HTML]]> http://nicethemeswp.com/forums/topic/broken-html/#post-7058 Mon, 25 Apr 2016 18:21:30 +0000 tchillidog Hi sorry, I forgot to check off a box. You should be all set now.

]]>
http://nicethemeswp.com/forums/topic/broken-html/#post-7059 <![CDATA[Reply To: Broken HTML]]> http://nicethemeswp.com/forums/topic/broken-html/#post-7059 Mon, 25 Apr 2016 19:19:12 +0000 Juanfra Aldasoro Hi,

Thank you for the follow up. I was able to log in now.

It seems that you are using a plugin that is adding some HTML to the “title” attribute of the images, and it is breaking the HTML. Would you please try deactivating the plugins one by one and checking which one can be causing the problem? In my opinion, it might be related to the SEO plugin, because the code added is:

FAQ

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/broken-html/#post-7060 <![CDATA[Reply To: Broken HTML]]> http://nicethemeswp.com/forums/topic/broken-html/#post-7060 Mon, 25 Apr 2016 20:17:25 +0000 tchillidog Hi Juan,

I have that SEO plug-in activated on my other site under the same network and it’s not creating the same problem. I’m afraid if I start deactivating plug-ins by trial and error I’m going to lose a bunch of work.

]]>
http://nicethemeswp.com/forums/topic/broken-html/#post-7061 <![CDATA[Reply To: Broken HTML]]> http://nicethemeswp.com/forums/topic/broken-html/#post-7061 Mon, 25 Apr 2016 21:20:58 +0000 Juanfra Aldasoro Hi Tiffany,

Thank you for the follow up

I’m afraid that the plugin is hooking over the WordPress native function get_the_title(); and that is causing the problem. It is not a problem of the theme itself but the plugin that is altering the normal functioning of a WordPress function by adding HTML to it.

Do you know if you can configure that from their options?

Other option is if you use the function esc_html to escape the HTML printed by the SEO plugin within the title attribute of the link. I’ve created a file applying that fix to the original file.

To try that, all you need to do is grab this file: https://gist.github.com/juanfra/052ba155b020e1fe32631ea5fa7eee6f

And replace the original /flatbase/includes/functions.php with it.

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/broken-html/#post-7062 <![CDATA[Reply To: Broken HTML]]> http://nicethemeswp.com/forums/topic/broken-html/#post-7062 Mon, 25 Apr 2016 23:31:38 +0000 tchillidog Hi Juan,

Thanks for the help. It looks like the SEO plug-in Yoast doesn’t have the option to configure the settings to use the get_the_title() function. So I tried your other option, which seemed to have solve the problem!

My only question with this solution is will this be included in the next theme update or will I have to manually update the code again?

Tiffany

]]>
http://nicethemeswp.com/forums/topic/broken-html/#post-7063 <![CDATA[Reply To: Broken HTML]]> http://nicethemeswp.com/forums/topic/broken-html/#post-7063 Mon, 25 Apr 2016 23:42:12 +0000 Juanfra Aldasoro Hi Tiffany,

Thank you for the follow up. I’m happy your problem is now solved.

Given that SEO by Yoast is a largely used plugin it is quite likely that we will include this fix on the next release.

Best,
Juan.

]]>