Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for contacting Rank Math today.
You can disallow shortcodes in the meta titles and description by adding the following code to your theme’s functions.php file:
/**
* Allow shortcodes in the Meta Data.
*/
add_filter( 'rank_math/paper/auto_generated_description/apply_shortcode', '__return_false' );
Looking forward to helping you. Thank you.
Thanks a lot Michael,
the Shortcode in the pagedescription is gone with this code in the functions.php, thank you!!!
But the other Problem is still the same:
on the Page:
https://derflammenwerfer.de/highlight-show-hochzeit/
Settings are:
Title: %title% %sep% xxxxx
Page description: %excerpt%
Result is:
Title: Highlight – Show zur Hochzeit » xxxxxx (this is ok)
Page description: Leuchtshow Hochzeit LED-Show (its only the Title of the Picture)
Thanks for your help
Detlef
Hello,
Thanks for the reply.
Since the shortcode displays an image and only text can be displayed on the description, this is the reason it is getting stripped out. I can suggest that you manually enter a description.
Thank you.
Michael, thanks for your response.
This are two different things. In posts containing first a picture (not insert by shortcode) and than text, there is only the Title of the Picture displayed…
Yes, I can do it manually but have more than 600 posts…
Thank you
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP 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/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
You will see the problem on all recent published posts (not important if they are published before or after switched to RankMath).
RankMath takes only the text from the first line…
Hi,
Thank you for your patience.
This is the meta description I see present on your page’s source:
Mit der Highlight - Show bekommen Sie die komplette Hochzeitsfeuershow und zusätzlich das Eindrucksvollste aus der Lichtshow zur Hochzeit.
If you are not seeing it on Google yet, please allow it some time as these things usually take a few days to a few weeks to update in Google.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Thanks Todd
Thats right, I already changed this post manually.
But in the sensitive Data section you can see the Problem is still there I added some URLs i havent changed yet…
Thank you!!!
Hi,
When you are using %excerpt%
to generate your meta description automatically, we grab the text from your first paragraph of the post. Since yours is a single word just saying Termin
, that is being used as your meta description.
You will have to manually change it or use some other template to automatically generate your meta description.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hi Todd,
sorry for bordering again… it looks my case is especially difficult…
Thanks for looking for an solution.
Maybe it’s the language barrier, but I don’t understand what this information means:
use some other template to automatically generate your meta description
Can I not tell RankMath somehow (or how can I do this): Use the first 160 character but ignore picture title? You can see it in the first Example in the sensitive Data section.
If %excerpt% can not achieve this, what can I use to get the result I would like to have?
Hello,
Thank you for contacting Rank Math today.
It is possible to create some custom code on your theme to parse your post content and return the first 160 characters.
Please take a look at the following filter that will help in creating the custom description:
/**
* Allow changing the meta description sentence from within the theme.
*
* @param string $description The description sentence.
*/
add_filter( 'rank_math/frontend/description', function( $description ) {
return $description;
});
Looking forward to helping you. Thank you.
Michael, I added your code to my child theme function.php
and changed the %excerpt% to %description%. Its right that google can see the description now, but in the backend of the rankmath section of the site its showing only the word description.
See Pictures:
https://www.dropbox.com/s/d6ddhx0s3px3deu/rankmath2.png?dl=0
https://www.dropbox.com/s/94ucmbxsst1mj2z/rankmath.png?dl=0
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.