• Resolved cedo89

    (@cedo89)


    I am using Hueman theme and I`m loving it but there is a problem with <> (Gt and Lt tags) when making lists. On any other theme when I check the source code I get:

    <ul>
    <li></li>
    </ul>

    But with Hueman I get something like this:

    & lt ; ul & gt ;

    & lt ; li & gt ; “Text” & lt ;/ li & gt ;
    & lt ; li & gt ; “Text” & lt ;/ li & gt ;

    & lt ;/ ul & gt ;

    And whenever I check the keyword density of the page “Gt” and “Lt” take up the first 4,5 spots. I don`t know if there is any way to resolve this, but at the moment it is really frustrating me and I am starting to think that it may be interfering with my rankings on Google.

    So, what I`m asking is, is there anything we can do to address this “issue” or changing the theme is the only solution?

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi cedo89. Not sure what you’re seeing that but here is a source code snippet from the theme demo:

    <ul class='children'>
    	<li class="page_item page-item-19"><a href="http://demo.alxmedia.se/hueman/demo/shortcodes/columns/">Columns</a></li>
    	<li class="page_item page-item-1222"><a href="http://demo.alxmedia.se/hueman/demo/shortcodes/tables/">Tables</a></li>
    	<li class="page_item page-item-1226"><a href="http://demo.alxmedia.se/hueman/demo/shortcodes/typography/">Typography</a></li>
    </ul>
    Thread Starter cedo89

    (@cedo89)

    Hi bdbrown, thanks for stopping by and helping out.

    I was not keen on sharing my website but I didn`t find any pages with lists on the theme demo so here goes…

    Here is a page from my website http://helpyourback.org/health/quad-exercises-and-stretches-for-patellar-tendonitis

    There are quite a few lists in the post and everything looks fine but try taking a look at the source code and doing a search for “Gt” or “Lt”

    all the &lt and &gt occur because your code is being sanitized. This is done to keep hackers from injecting code that might crash your site.

    It probably not coming from the theme but from wordpress trying to protect your site from sql injection.

    Thread Starter cedo89

    (@cedo89)

    Hm damn, I guess you are right. I thought this didn`t happen with previous themes but I just tried changing it to Twenty Fifteen and I got the same thing…

    Thanks for clearing that up. Is there a way to reverse that, maybe downgrade my WP installation?

    It probably not a good ideal to run old versions of wordpress. Many of the upgrade are put into place because of security holes. What are you using when this problem occurs.

    There’s something else going on here. If you look at this page, the source code for the first 3-item list shows this:

    <p><strong>Patellar tendonitis</strong> is a condition characterized by pain in the proximal part of the patellar tendon. The pain is usually intensified if a person:</p><ul><li>Walks uphill</li><li>Shifts from sitting to standing position or</li><li>Engages in sport and physical activity</li></ul>

    Further down in the source, you’ll see the author’s avatar and name:

    <span class="date updated">23 February 2015</span></time> <span class="vcard author"><span class="fn">Igor</span></span>

    Then you have what appears to be the entire post in plain text which includes the “sanitized” version of the source. At the end of the plain text you’ll see the author’s bio info:

    <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"><span itemprop="name">Igor</span><a href="https://plus.google.com/u/0/b/105861369920954612226/105861369920954612226/posts?rel=author" itemprop="url">https://plus.google.com/u/0/b/105861369920954612226/105861369920954612226/posts</a><span itemprop="givenName"></span> <span itemprop="familyName"></span><span itemprop="email">admin@helpyourback.org</span><span itemprop="jobTitle">Administrator</span><span itemprop="knows">

    Which is then followed by the author’s comment:

    Hi everyone and welcome to our website! ….

    Which is the followed by source code for the sidebar and footer.

    This isn’t default WP behavior.

    Thread Starter cedo89

    (@cedo89)

    Wow, I didnt even notice this until now. So instead of wrapping the existing text in itemprop="articleBody" div, WP is generating a new copy for this purpose. I dont like that at all.

    As I mentioned, this doesn’t look like default WP processing. It’s something that appears to be affecting every page on the site that contains a list. I have sites that have manually created lists in posts and pages, and don’t have anything like what you see. However, I’m not hosting any ads or using any of the plugins you have installed, nor am I using a CDN.

    Thread Starter cedo89

    (@cedo89)

    Gottttttttt itttt! I had a plugin called Social Jet, and I didnt even realize that Schema box was ticked, it was generating all that on its own. I deleted the plugin and everything is back to normal! I dont have to look for a new theme 🙂

    If I was not such an idiot in the first place I would have remembered to disable plugins one by one and I would probably figure it out!

    Anyways, I cant thank you enough for your help, if you are ever in Serbia Ill take you out for a couple beers! All the best!

    OK, you’re on…;-) Glad I could help. If you don’t need any further assistance here please mark the topic as resolved. Thanks.

    Thread Starter cedo89

    (@cedo89)

    🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Gt and Lt tag problems’ is closed to new replies.