Auto description issue

#495314
  • Resolved EnterCloud
    Rank Math free

    Hi Team,

    I make use of an auto-posting plugin.

    The problem is that if the content contains line space after the first sentence, the auto-description will only pick up the first sentence.

    How can you make it grab more content?

    Note that i have the snippet in my site to “limit the description up to recommended characters.”

    So, in that case, never mind grabbing the whole content.

    Regards,
    Stathis

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Could you please share the snippet you are using so we can check? Also, are you using the %excerpt% variable to fetch the description?

    Meanwhile, you can increase the character count in the filter if you’re limiting it to your description.

    Looking forward to helping you.

    Thank you.

    EnterCloud
    Rank Math free

    Hi Reinelle,

    Thanks for your fast reply,

    Your support gave me the following snippet:

    /**
    Filter/Hook to limit the description up to recommended characters
     */
    add_filter( 'rank_math/frontend/description', function( $description ) {
    	if(is_single()){
    		return wp_html_excerpt($description, 150);
    	}
    	return $description;
    });

    Also, i use the %excerpt% variable.

    Regards,
    Stathis

    EnterCloud
    Rank Math free

    I increased the characters to 300.

    Hello,

    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.

    Please do take a complete backup of your website before sharing the information with us.
    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.

    EnterCloud
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    EnterCloud
    Rank Math free

    Hi Team,

    I create a custom field in the autobloging plugin to grab the content and i resolve the issue,

    Thanks for your support,
    Stathis

    Nigel
    Rank Math business

    Hello,

    We are super happy you found a solution that works for you.

    If you need help again, do not hesitate to ask.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

The ticket ‘Auto description issue’ is closed to new replies.