Community Forums › Forums › Archived Forums › General Discussion › Agency Pro Home Middle – Pages Possible?
Tagged: agency pro, featured home, pages
- This topic has 26 replies, 5 voices, and was last updated 11 years, 2 months ago by jbculp.
-
AuthorPosts
-
October 12, 2013 at 6:02 pm #66461jbculpParticipant
Mediaguru,
If you are asking what did I use for the schema markup when pages were in play and not posts, here was what I did. I tested a Featured-Page widget in the home-middle. Per the previous posts, this didn't yield the layout I wanted but in the code, Genesis marked up the information in schema.org compliant information. I'm going to take it on faith that the markup is correct for a page and my experience is that getting clarity on any schema markup is a challenge so I'm ready to accept the Genesis version unless someone stands up and says its wrong.
So that said, here is a sample from Featured-post from demo compared to Featured-Page form my test site where the page ID is 27.
Schema.org metadata for Post:
<article class="post-257 post type-post status-publish format-standard category-work entry" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
Schema.org metadata for Page:
<article class="post-27 page type-page status-publish entry instock" itemscope="itemscope" itemtype="http://schema.org/CreativeWork">
Since I've bludgeoned my featured-page solution in a text widget this was a nasty bit of copy/paste with changes for the post ID's and because the images need to map and the content needs to map, there are URL's a plenty in the code but the schema.org bit has one line for each of the 6 pages. I can't speak to the "instock" bit but can't tell you what any better code would say.
I hope this helps.
October 13, 2013 at 11:17 am #66521Sridhar KatakamParticipantHow to show Featured Pages in Home Middle section similar to Featured Posts in Agency Pro: http://sridharkatakam.com/show-featured-pages-home-middle-section-similar-featured-posts-agency-pro/
October 13, 2013 at 12:04 pm #66526jbculpParticipantSounds very promising. Can't wait to try it!
October 13, 2013 at 4:19 pm #66541sdbrokerMember@Sridhar That looks very sweet! Can't wait to try it either once the main plug-in I need to use gets compatible with the new HTML5 themes... Thank you sir!
October 13, 2013 at 9:44 pm #66569Sridhar KatakamParticipantOctober 13, 2013 at 10:01 pm #66572sdbrokerMember@Sridhar It's an iDX plugin that displays real estate listings called Optima Express: http://wordpress.org/plugins/optima-express/
The plugin itself works fine but its CSS is messed up when used with HTML5 themes. I was able to override and fix most of it but I got stuck on a couple very important forms so I gave up for now and went back to the older education theme. 🙁
October 24, 2013 at 3:37 pm #68712jbculpParticipanttamjl
yes... well it wasn't me, Sridhar revisited the topic and replicated it for pages using Featured Pages. As suspected it was some CSS and it works wonderfully. I replaced his example of home-bottom with home-middle. Also, his CSS is one block. You'll need to copy the upper portion into the style css and the bits that are media queries should probably go into their respective areas at the end of the style sheet, being careful to keep the sections nested. If you break things up like this, you won't need the media query itself e.g. @media only screen and (max-width: 480px) { and its closing } .
Other than that, no issues. I am now able to mothball my rather painful but beautiful text widget.
John
-
AuthorPosts
- The topic ‘Agency Pro Home Middle – Pages Possible?’ is closed to new replies.