Quantcast
Channel: WordPress.org Forums » [Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Support
Viewing all 42012 articles
Browse latest View live

Display only primary Category in Theme (Frontend)

$
0
0

Replies: 3

Hi,

our client had this never in mind, but as he saw that he can select a primary category, he starts using more than one cat for each article.

On the front page I have this code usually to display the category name:

<?php 
   foreach((get_the_category()) as $category){
	echo $category->name;
   }
?>

I know that WordPress does or at least did the category order from the lowest ID to the highest.

Now, of course, I get multiple category names displayed in the frontend, as my client does choose them in the backend.

So, how can I achieve this, that the (a) category name gets displayed, but if there is a primary from yoast selection, this should be displayed instead?

Thanks for your Help in advance!

Best regards
Mikkel


Why yoast not working with wordpress 5.4.2

$
0
0

Replies: 0

Hi!

After updating worpdress to 5.4.2 yoast seo not working with it.

I’m using php 7.2 and when if I change it, yoast will not work well, the screen become blank.

Can you help me, please?
Now, it is deactivated!

Thank a lot

  • This topic was modified 12 minutes ago by toretoreddu.

‘yst_wpseo_change_og_locale’ not found

$
0
0

Replies: 0

Hello,

i got this error on a website i’m working on:

call_user_func_array() expects parameter 1 to be a valid callback, function ‘yst_wpseo_change_og_locale’ not found or invalid function name in /home/drfarsin/public_html/wp-includes/class-wp-hook.php on line 287

this happened when i wanted to change my og:locale, in my dashboard, custom theme directly, the problem i forgett which file i changed; functins.php?

can you help?

this is the code i used:

/**
* Changes the locale output.
*
* @param string $locale The current locale.
*
* @return string The locale.
*/
function yst_wpseo_change_og_locale( $locale ) {
return ‘nl_NL’;
}
add_filter( ‘wpseo_locale’, ‘yst_wpseo_change_og_locale’ );

No license for Yoast Premium

$
0
0

Replies: 0

A year ago, I bought the yoast Premium plugin. I have receipts in my personal account. I’m going in now but I don’t have a license! I didn’t buy a subscription, but a plugin! What to do? What kind of deception?

meta name=”twitter:image” wrong image..

$
0
0

Replies: 1

Hi. In my source code I noticed that the meta name=”twitter:image” is pulling the wrong image. Can I control this? I did specify my company picture/logo for Facebook.

Thanks

WooCommerce – product bundles?

$
0
0

Replies: 0

I’m building my own plugin which allows creating WooCoommerce products consisting of other products. According to what I read [1], such a bundle of products should be represented by a different schema – Offer with Products inside itemOffered property.

In a perfect world, I’d be able to use a filter (is there one?) to replace an existing Product schema and instead call a function (which one?) for each of the products in the bundle, get their JSON/LD schema and then merge inside an Offer.

My questions Are:

  1. Is there a filter which allows to modify the Product schema right before it gets echo’ed?
  2. Is there a way I could get the JSON/LD schema for given product as a string?
  3. Is this something that is supported in Yoast Premium? I’d gladly buy a license.

I tried to dig into the codebase of Yoast SEO but no luck – I don’t see a way to modify JSON/LD that’s being output in this case.

[1]: https://stackoverflow.com/questions/51018149/schema-org-for-product-bundles

Have no htaccess file

$
0
0

Replies: 1

Hello,

I have no htaccess file on the Tools > File editor.

This is simple website (not multisite), I am manager role.

Yoast Seo Premium Fatal Error

$
0
0

Replies: 2

Every time I update the Yoast Seo Premium it gives me an error, then in a few minutes it returns to normal.

I receive email:

Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site and alerts you via this automatic email.

In this case, WordPress has detected an error with one of your plugins, Yoast SEO Premium.

When seeking help for this issue, you may be asked for the following information:

WordPress versión 5.4.2
Tema actual: Grafik (versión 1.9)
Plugin actual: Yoast SEO Premium (versión 14.5)
PHP versión 7.4.7

Detalles del error
==================
Se ha producido un error del tipo E_ERROR en la línea 326 del archivo /hosting/www/yter.es/public/wp-content/plugins/wordpress-seo-premium/wp-seo-main.php. Mensaje de error: Uncaught Error: Class ‘WPSEO_Structured_Data_Blocks’ not found in /hosting/www/yter.es/public/wp-content/plugins/wordpress-seo-premium/wp-seo-main.php:326
Stack trace:
#0 /hosting/www/yter.es/public/wp-includes/class-wp-hook.php(287): wpseo_init()
#1 /hosting/www/yter.es/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#2 /hosting/www/yter.es/public/wp-includes/plugin.php(478): WP_Hook->do_action()
#3 /hosting/www/yter.es/public/wp-settings.php(403): do_action()
#4 /hosting/www/yter.es/public/wp-config.php(81): require_once(‘/hosting/www/yt…’)
#5 /hosting/www/yter.es/public/wp-load.php(37): require_once(‘/hosting/www/yt…’)
#6 /hosting/www/yter.es/public/wp-admin/admin.php(34): require_once(‘/hosting/www/yt…’)
#7 /hosting/www/yter.es/public/wp-admin/index.php(10): require_once(‘/hosting/www/yt…’)
#8 {main}
thrown


Something strange happens to me

$
0
0

Replies: 1

Hello, it turns out that a few days ago I got an error in Yoast SEO wordpress (sometimes it appears and sometimes it doesn’t) has to do with something from Ryte and 5000 milliseconds. Since that error occurs (the web is still going well) google searches are different. If I publish a post today, in the google search it always comes out that it was two days ago. This example is from today.

Examples: POST FROM TODAY —> https://gyazo.com/a2eea3840517cc88feaf3f7efe72d057
POST ON GOOGLE —> https://gyazo.com/efdb650188353f009dcf32c962825544 2 días is 2 days.

Twitter/Facebook Card Issues

$
0
0

Replies: 0

Hi,

I recently changed wordpress theme, and ever since have been having Yoast SEO issues. Of particular importance to me is the fact that social sharing will not show up preview cards.
I have viewed each page source and can see all the meta tags, but there must be something blocking them from being active.

Any help would be greatly appreciated.

Cheers
Chris

Yoast self-referencing canonical URL function result into 404

Apply Korean translation

$
0
0

Replies: 1

Apply Korean translation
Korean language is applied, but the analysis results are not displayed in Korean.
What is the problem?

[Bug Report] Yoast FAQ block encodes HTML tags

$
0
0

Replies: 3

Hi there,

I have a problem with the FAQ block with the Arabic language.

The block does not support HTML tags (<a>, <strong>, <br>, <i> etc..) if the block is written in Arabic.

It seems that the plugin encodes the text and that causes the problem, as it encodes the tag too. For example, <br> becomes u003cbr/u003e, and it seems that Google does not understand that and displays it as is.

This is how a question with a link looks like in the page source:

{"@type":"Question","@id":"https://example.com/page/#faq-question-1557436439883","position":5,"url":"https://example.com/page/#faq-question-1557436439883","name":"\u2705 \u0643\u064a\u0641 \u0623\u062d\u0635\u0644 \u0639\u0644\u0649 \u062f\u0648\u0645\u064a\u0646 \u0645\u062c\u0627\u0646\u0627\u064b\u061f","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"\u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u062f\u0648\u0645\u064a\u0646 \u0645\u062c\u0627\u0646\u0627\u064b \u0628\u0633\u0647\u0648\u0644\u0629 \u0639\u0646 \u0637\u0631\u064a\u0642 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062e\u0635\u0648\u0645\u0627\u062a \u0648\u0627\u0644\u0639\u0631\u0648\u0636 \u0627\u0644\u062a\u064a \u062a\u0642\u062f\u0645\u0647\u0627 \u0634\u0631\u0643\u0627\u062a \u0627\u0644\u0627\u0633\u062a\u0636\u0627\u0641\u0629 \u0644\u0632\u0648\u0627\u0631 \u0645\u0648\u0642\u0639 \u0639\u0645\u064a\u062f \u0627\u0644\u0627\u0633\u062a\u0636\u0627\u0641\u0629 \u062d\u0635\u0631\u064a\u0627\u064b \u0628\u0627\u0644\u0625\u0636\u0627\u0641\u0629 \u0625\u0644\u0649 \u0627\u0644\u062a\u062e\u0641\u064a\u0636\u0627\u062a \u0639\u0644\u0649 \u0623\u0633\u0639\u0627\u0631 \u0627\u0644\u0627\u0633\u062a\u0636\u0627\u0641\u0629 \u0648\u0647\u0630\u0647 \u0623\u0641\u0636\u0644 \u0627\u0644\u0634\u0631\u0643\u0627\u062a \u0627\u0644\u062a\u064a \u062a\u0642\u062f\u0651\u0645 u003ca href=u0022https://example.com/u0022u003e\u0627\u0633\u062a\u0636\u0627\u0641\u0629 \u0648\u062f\u0648\u0645\u064a\u0646u003c/au003e \u0645\u0639\u0647\u0627 \u0645\u062c\u0627\u0646\u0627\u064b \u0639\u0646\u062f \u0627\u0644\u0634\u0631\u0627\u0621.","inLanguage":"ar"},"inLanguage":"ar"},

It can be easily fixed by escaping HTML tags while encoding the text.

Thanks in advance,
Ahmed Elgameel

An unexpected error occurred. Something may be wrong with WordPress.org or this

$
0
0

Replies: 2

sir in my dash board i cant install any plugin the give me error.

Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the WordPress Plugin Directory or upload a plugin in .zip format by clicking the button at the top of this page.

Plugins list
An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.

Try Again

Version 14.6: Facebook title empty

$
0
0

Replies: 2

When editing a page I notice the ‘SEO’ tab of the Yoast SEO section (‘Google preview’) is populated as it should be and as it was previously, however, the ‘Social’ tab (which displays Facebook related image/title/description, ‘Facebook preview’) now shows all fields as empty and the title is showing as the page default title instead when you look at the source of the frontend page.

Is there a (new?) way to globally set those to show as the SEO tab contents show? These fields were previously populated. Many thanks!


2 sitemaps and twitter wildcard fail

FB App ID error

$
0
0

Replies: 0

Hi,

Yoast Social Media Open Graph Metadata dashboard does not accept my Facebook page (https://www.facebook.com/LegyASajatIdealod) ID (2852120028204988) which is a valid and live FB Page ID, verified business with Terms and Conditions, Privacy Policy, all the business details have been given.

I checked it in Graph.facebook.com and the site does communicate with FB:

{
“error”: {
“message”: “(#803) Some of the aliases you requested do not exist: \u003C2852120028204988>”,
“type”: “OAuthException”,
“code”: 803,
“fbtrace_id”: “ArVxzg9tlZUxisoaGHpbMk0”
}
}

Therefore I can not share my posts with title and description.
This field is empty… :-((

Can you help?

Thank you
Anikó Oláh

Site Breaking

$
0
0

Replies: 1

updated to the most recent version and received this error

Error Details
=============
An error of type E_ERROR was caused in line 102 of the file /home/ginsenlo/public_html/ginsen-old/wp-content/plugins/wordpress-seo/src/main.php. Error message: Uncaught Error: Call to a member function get() on null in /home/ginsenlo/public_html/ginsen-old/wp-content/plugins/wordpress-seo/src/main.php:102
Stack trace:
#0 /home/ginsenlo/public_html/ginsen-old/wp-content/plugins/wordpress-seo/admin/class-meta-columns.php(149): Yoast\WP\SEO\Main->__get(‘meta’)
#1 /home/ginsenlo/public_html/ginsen-old/wp-includes/class-wp-hook.php(287): WPSEO_Meta_Columns->column_content(‘wpseo-title’, 5)
#2 /home/ginsenlo/public_html/ginsen-old/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#3 /home/ginsenlo/public_html/ginsen-old/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#4 /home/ginsenlo/public_html/ginsen-old/wp-admin/includes/class-wp-posts-list-table.php(1265): do_action(‘manage_page_pos…’, ‘wpseo-title’, 5)
#5 /home/ginsenlo/public_html/ginsen-old/wp-admin/includes/class-wp-list-table.php(1361): WP_Posts_List_Table->column_default(Object(WP_Post), ‘wpseo-title’)
#6 /home/ginsenlo/public_html/ginsen-old/wp-admin/includes/class-wp-posts-list-

WordPress admin panel error

$
0
0

Replies: 3

Good Morning,

After the last update, in the wordpres panel when you are creating a post (top right) the two guides that indicated by green, red or orange light have disappeared if the “readability and SEO” was correct.

Thanks for your attention.

How to Add publish time in structure data

$
0
0

Replies: 1

I want to add Published time in structure data like 2020-07-21T03:36:00+05:30
and how to edit image width and height in structure data, i want to change image width and height.

Viewing all 42012 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>