Tagged: x
-
AuthorPosts
-
February 7, 2017 at 4:22 am #1360917
melamersParticipantOK, new backup installed. Currently no plugins active. X theme active
Feed validatorhttp://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.landcmag.com%2Ffeed%2F
says
Recommendations
This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
line 11, column 8: title should not be blank [help]
<title></title>
now, change to theme Twenty Fifteen and message is gone. Feed shows normally in browser in both cases.
Now activate X again (Cornerstone is activated automatically) and title message reappears.
Only change I made compared to live site is option to “Discourage search engines from indexing this site” and in robots.txt to disallow allSo a confirmation of what I said before. Please don’t respond with the generic “check your host”
February 7, 2017 at 7:21 am #1361103
ChristianModeratorThat was not a generic response. I did check your setup and the validator message and your feed URL couldn’t be validated and the validator’s suggestion was pointing to your setup.
Further investigating, the issue is not in X as this is not a problem with my test site. I removed your additional custom functions in functions.php and the issue was fixed. When you switched to another theme, your custom function is not there.
Here’s your function:
add_filter('wp_title_rss','mychange_wp_title_rss'); function mychange_wp_title_rss() { return ''; } add_filter( 'it_exchange_ajax_upgrade_rate', function( $rate, $upgrade ) { if ( $upgrade->get_slug() === 'memberships-repair-member-access' ) { $rate = 15; } return $rate; }, 10, 2 );You filtered
wp_title_rssThe validator returns no error now https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.landcmag.com%2Ffeed%2F
February 7, 2017 at 8:00 am #1361138
melamersParticipantWow, did not see that one coming. No idea why the function was there.
I’ll remove it on my live site as well.Thanks for pointing me in the right direction!
MarcelFebruary 7, 2017 at 9:21 am #1361254
ChristianModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1356839 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
