The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. On-Page / Site Optimization
    4. Wordpress Shortcodes Showing in SERPs

    Wordpress Shortcodes Showing in SERPs

    On-Page / Site Optimization
    4 2 581
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kylesuss
      kylesuss last edited by

      We use some Wordpress shortcodes in our theme and they aren't in the meta description at all. For certain queries, the shortcodes show on the SERPs when Google chooses the description for us -- is there any way to clean this up or prevent it?

      It's annoying because it includes the entire shortcode, not the markup that gets generated as a result of the shortcode...

      1 Reply Last reply Reply Quote 0
      • Zkwarta
        Zkwarta last edited by

        Do you have an example of this?

        From what I can gather it sounds like a php execution problem if markup isn't being generated...a function isn't being called correctly.

        Also, meta descriptions aren't by default very useful in WP. I've had to modify themes to use custom meta descriptions on the homepage, categories, and tag pages.

        kylesuss 1 Reply Last reply Reply Quote 0
        • kylesuss
          kylesuss @Zkwarta last edited by

          Sorry for the slow reply -- out of town for the holidays.

          Example

          Everything loads fine on the page, it's just the snippet on the SERP that is goofy.

          1 Reply Last reply Reply Quote 0
          • Zkwarta
            Zkwarta last edited by

            Well that's interesting - I see the code for the tags - it's coming out of this class:

            id="subgenre-tags-raw" style="display:none">

            I also see that you have a meta description - this is a stumper!

            Why not head over to the google webmaster forum and reach out! I'd be very interested to see what they say!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Prices Showing for products in SERPs - organic CTR reducing
              EGOL
              EGOL
              0
              3
              63

            • Meta title not showing up correctly on SERP
              Gavo
              Gavo
              1
              5
              1.3k

            • Review markup not showing up in SERP anymore
              BlueCorona
              BlueCorona
              0
              7
              464

            • How the hell do you get microformat to show up on google serp?
              max.favilli
              max.favilli
              0
              11
              1.7k

            • Description tag not showing in the SERPs because page is blocked by Robots, but the page isn't blocked. Any help?
              DavidFaltz
              DavidFaltz
              0
              9
              183

            • Google is showing the "wrong" page in the serps for user queries
              zeepartner
              zeepartner
              0
              10
              305

            • Google SERPS showing wrong page.
              heatherrobinson
              heatherrobinson
              0
              3
              608

            • Is this new? Anchors showing in Serps.
              KeriMorgret
              KeriMorgret
              0
              4
              724

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy