Wordpress Shortcodes Showing in SERPs
-
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...
-
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!
-
Sorry for the slow reply -- out of town for the holidays.
Everything loads fine on the page, it's just the snippet on the SERP that is goofy.
-
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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
How to Handle duplicate pages/titles in Wordpress
The wordpress blog causes problems with page titles. If you go to the second page of blog posts it there's a different URL but with the same page title. for example: page 1: site/blog page 2: site/blog/page/2 Each page gets flagged for duplicate page titles. Thanks in advance for your thoughts,
On-Page Optimization | | heymarshall1 -
Do quotation marks in content effect SERPs?
Some of my art object products have words and phrases engraved on them. The words relate to the images on the product. In the product descriptions, I have been putting quotes around the entire list. Would I get better long tail results if I didn't use the quotation marks? In other words, do the quotes make everything between them an exact match phrase? For example:
On-Page Optimization | | stephenfishman
Current product description:
The worlds around the edge of the lazy susan read, "Explore nature. Dream big. Take time to smell the flowers. Enjoy the changing seasons. Seize the day. Relish the night. Live life to the fullest." Thank you for helping with this, all comments on how to present this kind of content are welcomed- Stephen kSOjt5a0 -
Whats wrong with meta title? In SERP it looks different.
Hi, can someone tell me why my meta titles looks different in SERP? I use Prestashop CMS and meta title in many pages looks similair to this one: Puodų Rinkiniai | Puodai | Iki -40% Akcija | ŠefoSvajonė.lt And in SERP it looks like this: Puodų Rinkiniai - sefosvajone.lt. sefosvajone.lt Why can this be? Its freshly indexed. Rather than set Meta Title text it shows just name of the Product or Category and then shops adress twice or sometimes once. Thanks!
On-Page Optimization | | Absurdus0 -
Why Isn't Google Authorship Showing My Picture?
I have several clients and the Google Authorship images used display in the search results for all of them. About a month ago all of the images disappeared, however it still displays "by <name>, indicating that Google Authorship is working -- it just doesn't show the image (see screenshots). The image follows the guidelines, and we've got the rel author tag in place, with a link back to Google. </name> When I use the Google Structured Data Testing Tool it shows that authorship is properly functioning. I'm completely stumped. Does anyone have any ideas why this may not be working? Here's two examples of the sites with Authorship not working properly (screenshots below): criminalattorneylongislandny.com
On-Page Optimization | | socialfirestarter
https://dl.dropboxusercontent.com/u/3786946/Screen Shot 2014-01-03 at 12.53.10 PM.png
https://dl.dropboxusercontent.com/u/3786946/Screen Shot 2014-01-03 at 12.44.12 PM.png attorneytonyadderley.com https://dl.dropboxusercontent.com/u/3786946/Screen Shot 2014-01-03 at 12.52.36 PM.png
https://dl.dropboxusercontent.com/u/3786946/Screen Shot 2014-01-03 at 12.52.52 PM.png0 -
How Do I Get Rel=Author to Work Via Wordpress SEO by Yoast?
I have read Yoast's tutorial and others on how to get rel=author to work properly on my site (http://injuryattorneyshouston.com). Here are the results I get from the Google Structured Data Testing Tool: "Authorship is working for this webpage." "rel=author markup has successfully established authorship for this webpage." "Publisher markup is verified for this page." All seems well except for this: hatom-feed | hatom-entry: | |
On-Page Optimization | | cbizzle
| Error: At least one field must be set for HatomEntry.Error: Missing required field "entry-title".Error: Missing required field "updated".Error: Missing required hCard "author". |
| Error: At least one field must be set for HatomEntry.Error: Missing required field "entry-title".Error: Missing required field "updated".Error: Missing required hCard "author". | Does anyone know how to fix this?0 -
Google Map Marker not showing up when using HTML Embed Code
Hi community, For several clients, when embedding the Google Maps, the Marker DOES NOT appear. I am copying straight from Google Maps, it appears fine in Google Maps. Is there HTML I can add or is there something wrong with the map marker to begin with? These are verified listings. Help! Thank you! Priscilla
On-Page Optimization | | FullMedia900 -
Disabling archives in wordpress
Hi! Do you think it better to: a) have all archives crawled (date, time, category etc.) even though they create duplicate content,. or; b) disable crawling of all archives? Ideally, I'd like to set up just excerpts in the archives and have a unique intro for each, but I'm having trouble doing this just now so was wondering which is the smarter option in the meantime? Thanks very much!
On-Page Optimization | | LeahHutcheon0 -
Moving a site from .cfm to Wordpress - How to keep the authority?
Hi guys, My client has a site built with Cold Fusion (web pages end in .cfm) and we're moving them over to Wordpress (for many reasons), keeping the same menu structure and navigation. Their previous SEO company was pretty awful, however, they did manage to establish some decent authority/backlinks for the website and its 20 or so pages. My questions: I assume I'll want to do 301 redirects for each page, possibly by editing the .htaccess file? Any advice on this? Anything else I need to consider in this move? Thanks!
On-Page Optimization | | alpen0