Short Description to setup automatically as meta description in rank math

#478541
  • Resolved Usman Saleem
    Rank Math free

    Hi guys, currently i have 4000 products on my website. I just installed Rank math now. I can’t go to every product and setup meta description, so i just went and added the short description shortcode the plugin provides. But the thing is i want to only add specific lines from the short description. Which in my case is the first two lines, is it possible that i can do it? If its not possible can i able to add my product description text onto the meta description not by going to change for each and every product. Want to set it automatically. I will provide a sample product description and the short description so you can understand.


    <span style="color: #000000; background-color: gold; padding: 5px 10px; border-radius: 360px;">15,641 Orders</span>
    <div><span style="color: #1d9e11; font-weight: bold;">In Stock</span> <span style="color: #000000;">(Ships Out Within 24 Hours)</span></div>

    • Make delicious and beautiful Christmas treats using this Gingerbread House Cookie Cutter Set; it comes with four cookie cutters
    • Roll out your biscuit or cookie dough into a flat and thin sheet then use the cookie cutters to cut them out into different shapes
    • Use gum paste, icing, or any edible adhesive to connect the pieces together and form a gingerbread house
    • The cookie cutters are of food-grade plastic so they are easy to work with and simple to clean
    • Material: Food Grade Plastic
    • Dimensions:
      • Square Cookie Cutters: 6 x 4cm / 6 x 5cm
      • Pentagon Cookie Cutters: 9 x 7cm / 9.5 x 7.5cm
    • Package Contents:
      • 4 x Gingerbread House Cookie Cutters (2pc square cutters, 2pc pentagon cutters)

    ///////////
    Up above is my short description lets say i just want to use the first Li item for every product on my store is it possible?

    can i automatically use Product description as meta description and shorten it a bit?
    //////////////////
    Create the perfect gingerbread house for Christmas using this Plastic Gingerbread House Cookie Cutter Set! It comes with four cookie cutters! Simply spread out your cookie or biscuit dough and use the cutters to cut the dough out into different shapes. You can use the square cutters to cut out the roof and walls of the gingerbread house. Also, you can use the pentagon shapes for the front and back sides of the house. You can use icing or gum paste to put the pieces together and form a gingerbread house.

Viewing 6 replies - 16 through 21 (of 21 total)
  • I see each and every post without that variable can you like send me the links from where you are saying its applying even without adding the variable to the individual posts

    Nigel
    Rank Math business

    Hello,

    You may also use our Meta Tag Analyzer tool to check the generated description. I wanted to confirm that I am observing the %woo_full_desc% as a default setting and not the excerpt but the login link has expired, please may you renew it so we can confirm.

    Looking forward to helping you.

    Hi I updated the login link, you can access and check. Please make it fast as we are on the verge of urgency thanks

    Hello,

    Thank you for your time and patience on this one.

    After further investigation, it seems the custom variables only affect the newly created posts and not the old ones.

    However, we can’t replicate this from our end so we need to forcibly use the global description meta.

    I went ahead and added another block of code in the code snippets plugin. The %woo_full_desc% variable should now work on all of your posts.

    Please check from your end. Please note that the changes can’t be seen in the preview or backend. You can check it in the page source.

    Hope that helps.

    Thank you.

    Thanks but I just checked the meta description doesn’t crop out the content as I added in the variable. I am checking using a site for Meta description

    This is the article : https://www.gotosolutions.org/how-can-i-permanently-delete-whatsapp-backup/

    Nigel
    Rank Math business

    Hello,

    I tested the page https://www.gotosolutions.org/how-can-i-permanently-delete-whatsapp-backup/ with the Rank Math Meta Tag Analyzer and got the meta title and description shown in the screenshot below:

    The %woo_full_desc% variable is being applied to your posts as shown in the screenshot. Please may you share more details on your expected output of the variable.

    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.

Viewing 6 replies - 16 through 21 (of 21 total)

The ticket ‘Short Description to setup automatically as meta description in rank math’ is closed to new replies.