yoast

WP SEO Yoast plugin breadcrumb and JSON-LD (BreadcrumbList) integration

。_饼干妹妹 提交于 2020-01-24 21:38:06
问题 I am trying to integrate yoast_breadcrumb API with JSON-LD. According to the SEO Yoast plugin documentation, I have this breadcrumb code as below: <?php yoast_breadcrumb(); ?> However, I am trying to integrate JSON-LD schema with the Yoast Breadcrumb API with follow JSON-LD code example below, and I couldn't find anywhere in the documentation to achieve this, the API displays the HTML format of the breadcrumbList, which is not what I want, I want to have array format so that I would be able

How to remove actions from Yoast SEO plugin

最后都变了- 提交于 2020-01-01 21:58:53
问题 I need to remove the actions that Yoast SEO has added. This is my code: function remove_actions() { // deregister all not more required tags remove_action( 'wp_head', '_wp_render_title_tag', 50 ); remove_action( 'wp_head', array( 'WPSEO_Frontend', 'test123' ), 50 ); remove_action( 'wp_head', array( 'WPSEO_Frontend', 'front_page_specific_init' ), 50 ); remove_action( 'wp_head', array( 'WPSEO_Frontend', 'head' ), 50 ); remove_action( 'wpseo_head', array( 'WPSEO_Frontend', 'head' ), 50 ); remove

No WordPress plugin able to generate a sitemap

久未见 提交于 2019-12-24 10:47:24
问题 A while ago I managed to install Virtualmin on my VPS and am currently running WordPress. I'm also using Nginx. After restoring my blog back from the backups I made, I was able to get it up and running and started to set up the plugins. I initially used yoast, and tried to generate a sitemat but it didn't work - I kept getting a 404 error. I even checked using FTP and no file was found. So I looked up for solutions online and tried them all, refreshing permalinks, adding htaccess rules,

Is there a filter or action to dequeue jQuery on Yoast sitemaps?

大憨熊 提交于 2019-12-23 01:40:46
问题 I've added more detail from this question. Yoast SEO page-sitemap.xml is invalid XML. Showing error Extra content at the end of the document I found that Yoast SEO page-sitemap.xml is invalid because of jquery script tags being inserted before the <?xml> declaration. Like this: <script type='text/javascript' src='https://dev-intechrahealth.pantheonsite.io/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script> <script type='text/javascript' src='https://dev-intechrahealth.pantheonsite.io/wp

Is there a filter or action to dequeue jQuery on Yoast sitemaps?

谁说我不能喝 提交于 2019-12-09 04:29:29
I've added more detail from this question . Yoast SEO page-sitemap.xml is invalid XML. Showing error Extra content at the end of the document I found that Yoast SEO page-sitemap.xml is invalid because of jquery script tags being inserted before the <?xml> declaration. Like this: <script type='text/javascript' src='https://dev-intechrahealth.pantheonsite.io/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script> <script type='text/javascript' src='https://dev-intechrahealth.pantheonsite.io/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script> <?xml version="1.0" encoding... I do not

Yoast sitemap broken due to script tags

两盒软妹~` 提交于 2019-12-08 05:00:59
问题 Yoast SEO is returning an error when I access its sitemap. The file page-sitemap.xml says "error on line 2 at column 1: Extra content at the end of the document" I tracked the problem down to the fact that four javascripts are referenced above the declaration. So, we see <script type='text/javascript' src='https://www.example.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script> <script type='text/javascript' src='https://www.example.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4