-
Hola buenas tardes
La meta descripction global que ingrese no me la toma, para los mis tipos de post, en su lugar me coloca el extracto, solo me lo pone correcto cuando el extracto esta vacío, esto a que se deberá y como podría corregirlo
-
Hello,
Thank you for contacting Rank Math, and sorry for any inconvenience caused.
If you are explicitly setting any meta description on your posts, it will overwrite the global settings.
For global meta description to work, you would have to leave the meta description field empty in your posts.
I hope this helps. Looking forward to helping you.
Hola
Muchas gracias por su pronta respuesta, lo que me comenta de que deje vacío los meta description ya lo tengo implementado, asi es como lo tengo actualmente, es pro esto que no se a que se deba, ya que ingreso el texto que quiero que aparesca en mi meta description global, en mi tipo de post games la meta description la dejo vacía, pero en lugar que aparezca el meta description global, toma el extracto y es lo que aparece, si yo borro lo que esta dentro del extracto entonces si me muestra el meta description global en la description de mi game
Hi there,
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
Also we could not load that google drive link as we need to request access. Could you share it without requiring request for access.
Thanks.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
To use the globally set meta description, you would need to add the following filter to your theme functions.php file
/** * Use the Description from Global Setting, if the description is missing in the Post metabox */ add_action( 'rank_math/frontend/description', function( $description ) { global $post; $desc = RankMath\Post::get_meta( 'description', $post->ID ); if ( ! $desc ) { $desc = RankMath\Helper::get_settings( "titles.pt_{$post->post_type}_description" ); if ( $desc ) { return RankMath\Helper::replace_vars( $desc, $post ); } } return $description; });Hope this helps.
Hola de nuevo
Implemente el código que me pasaron pero el problema persiste
Hello,
Thank you for the update.
We wanted to further investigate this issue on your site, but it seems that the WordPress login credentials you have provided are no longer working.
Could you please check and update?
Thank you, and we really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thanks for getting back to us.
Upon inspecting your website I noticed you didn’t add the code snippet my colleague provided to your theme’s
functions.phpfile.After making the addition the description is showing exactly what is set in the global settings under WordPress Dashboard > Rank Math > Titles & Meta. From now on, if you leave the field empty and change the global settings, the posts will show that description.
I just want to add that currently on your global settings you have set up the casino description to be the excerpt. If you want to change that you need to head over to WordPress Dashboard > Rank Math > Titles & Meta > Casino and change the settings accordingly.
Hope this helps solve your issue.
Don’t hesitate to get in touch if you require any further assistance.
Hola de nuevo a todos
Muchas gracias por seguir ayudándome con este problema, ya revise y el problema persiste, creo que hubo un malentendido sobre que es lo que pasa.
Como comente al principio, no digo que no aparezca la descripción global en la descripción individual, lo que trato de decir es, la descripción global aparece solo si el extracto esta vacío.
Por ejemplo si al tipo de post game le coloco la descripción global y en un game reviso la descripción individual si tiene la global, pero si al extracto de ese mismo game le pongo algún texto, entonces en la descripción individual me quita la global y coloca el texto del extracto. Pueden revisar entrando a algún game o casino, la descripción individual tiene la descripción global solo si el extracto esta vacío.
Espero con esto haya aclarado el problema, y les doy las gracias de ante mano por si puede seguir ayudándome a resolver esto.
Hello,
Thank you for the follow-up, and sorry for the delay.
I’ve checked your site, and it seems that the filter is already working. Please see the screencast I’ve attached in the designated Sensitive Data section.
Please note that in the Edit snippet, it will not work there as the filter will run when the post’s page loads in the browser.
If that didn’t help, could you please also create a screencast on where exactly the “extract” you are referring too? You can also record a video screencast using a tool like Loom showing the issue
I hope that helps. Thank you, and looking forward to your update.
Hola nuevamente
Muchas gracias revisare esto, para ver como se comporta ahora, espero que con esto ya este todo arreglado gracias.
Hello,
Thank you for keeping in touch with us.
Please do let us know how it goes on your end. We will keep this ticket open for you.
We are looking forward to helping you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.
The ticket ‘extracto en lugar de meta descripción global’ is closed to new replies.