Community Forums › Forums › Archived Forums › General Discussion › microdata issue with itemprop="description" output on blog page
Tagged: content archvies, Excerpt, itemprop, itemprop="description", micro data, microdata, schema.org, studio pro
- This topic has 2 replies, 3 voices, and was last updated 7 years, 1 month ago by Victor Font.
-
AuthorPosts
-
August 31, 2017 at 7:14 am #210950impactzonecoMember
Greetings:
I use the latest Genesis. I installed StudioPro yesterday. I have used Genesis for a few years now.
I am having a problem with an excerpt output in the hero banner area of my blog PAGE. (This is not the individual posts, but the blog PAGE.) What I mean is that when you go to my blog page (but not individual posts, the page), what you should see is simply the blog title in the hero area.
What has happened is that an excerpt it being put into the banner area under the blog title...it appears to be pulled from the first blog post listed (masonry style) on the blog page. Then if you click to Page 2 of the blog page whilst browsing, it changes the excerpt to the next first blog post on that page! And so on and so forth, as you go to pages 3/4/5, etc.
All I want is the page title to show in the blog banner as someone browses. I don't want the excerpt.
You can see two examples of the problem here. here and here. The code itself is below.
Some background.
(1) This does not happen on any other page or post. Just on the blog main pages.
(2) I do have Content Archives set to display entry content at a 66 character limit. Also, featured image is checked, and I chose pagination. The excerpt output is over that character limit (code snipped, below).
(3.) Yes, in looking at the code I see that the excerpt is output as part of the Schema.org itemprop=description. (Below.)
(3) I did examine the PHP code, but when I tried to "//" out the problem, hero.php "objected". (Thank goodness for SFTP, as I changed it back and then left it, and SFTP'd hero.php back into my WP install folder. I'm a PHP hacker, not a guru.)
(4) I do have Yoast installed and activated. Most of my posts and pages are optimized.I have no idea how the excerpt from the first blog post on each page is being pulled into the description area. IOW, I don't know if it is Genesis, Studio Pro, or Yoast doing it. I assume it is the developers of Studio Pro who pull that excerpt into the hero banner. That this is not a bug, but a "featured". But maybe it is a bug. The Studio Pro demo does not show excerpt text in the hero area of the main blog page.
I'll worry about the description content part later. I don't care what is output now, for each numbered page of the blog. For now, the issue is that I do not want the excerpt showing in the hero banner on every paginated page of my blog.
Any idea how to eliminate the excerpt description from showing in the hero banner? I only want the title to display.
[html]<section class="hero-section overlay" role="banner"><div id="wp-custom-header" class="wp-custom-header"></div><div class="wrap"><h1 itemprop="headline">SEO and Digital Stewardship Blog</h1><p itemprop="description">You asked for it, and we provided it. Last Friday, we held the SEO for Artists Workshop on Google HangOut on Air. Yes, we broadcast it live! We covered the following topics. What is SEO and why should you care? What SEO can do for you and your business. Keywords (lots and lots on keywords).… Read more <span class="screen-reader-text">about SEO for Artists Workshop Video Replay and Slides</span></p></div></section>[html]
Thank you,
Jewel Ward
https://www.impactzone.coOctober 21, 2017 at 2:40 pm #212788GordonMemberI'm having this same issue. Have you had any response to this problem?
October 22, 2017 at 6:00 am #212815Victor FontModeratorYour theme, Studio Pro, is a community marketplace theme developed by Seo Themes. Support for community marketplace themes is provided by their developers. In this case, the fastest way to get a response is to contact the developer directly at https://seothemes.com/support/
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet? -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.