Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi Guys, here is a FIX – hopefully yoast will fix this in the next update.
    1. Access your site either using the cPanel File Manager or FTP.
    2. Look for and edit the following file: wp-content/plugins/wordpress-seo/src/helpers/robots-helper.php
    3. Replace lines 27-29 which currently read:
    if ( in_array( ‘noindex’, $presentation->robots, true ) ) {
    return $robots;
    }
    with:
    if ( is_array( $presentation->robots ) ) {
    if ( in_array( ‘noindex’, $presentation->robots, true ) ) {
    return $robots;
    }
    }
    4. Save the file

    That’s It!

    • This reply was modified 4 years, 6 months ago by swsupport.
    Thread Starter swsupport

    (@swsupport)

    I have already done all these suggested things. Again – the form works perfectly on Chrome computer browser – then fails on iOS iPhone and now I see it also fails using a computer browser FireFox.

    Any help would be appreciated… why would it work perfectly in Chrome and not on Firefox? Why perfectly on Chrome and not on iPhone?

    Thread Starter swsupport

    (@swsupport)

    iOS browser is Chrome – iOS 10.3.2

    Did this ever get resolved for you?

    Hi, I would love to use this plugin and your enhancements. Can you make the enhanced plugin available to me?

    support at sensible websites dot com

    I also installed 1.7.2 with same issue…

    I found where to fix this, but it requires making changes to the core minamaze theme – no way to override in a child theme.

    You need to modify the file located at /wp-content/themes/minamaze/admin/main/options/02.homepage.php

    The code that is escaping the html (and therefore making it display) is a WordPress built-in function esc_html.

    To allow HTML in the message area, delete the esc_html from lines 337 & 348 where it is applied to: $thinkup_homepage_introactionteaser

    To Allow HTML in the Content Area Descriptions, delete the ec_html from lines 270, 286 & 302 where it is applied to: $thinkup_homepage_section1_desc, $thinkup_homepage_section2_desc, and $thinkup_homepage_section3_desc respectively.

    if you want to allow HTML in other areas of the homepage, remove the esc_html in other places in this file.

    I found where to fix this, but it requires making changes to the core minamaze theme – no way to override in a child theme.

    You need to modify the file located at /wp-content/themes/minamaze/admin/main/options/02.homepage.php

    The code that is escaping the html (and therefore making it display) is a WordPress built-in function esc_html.

    To allow HTML in the message area, delete the esc_html from lines 337 & 348 where it is applied to: $thinkup_homepage_introactionteaser

    To Allow HTML in the Content Area Descriptions, delete the ec_html from lines 270, 286 & 302 where it is applied to: $thinkup_homepage_section1_desc, $thinkup_homepage_section2_desc, and $thinkup_homepage_section3_desc respectively.

    if you want to allow HTML in other areas of the homepage, remove the esc_html in other places in this file.

Viewing 8 replies - 1 through 8 (of 8 total)