Forum Replies Created
-
AuthorPosts
-
RobCubbonMember
Yes, HTML5 for Genesis 2.0 already embeds a significant amount of Schema mark up.
Does Yoast's tutorial offer any advantage over what 2.0 with HTML5 already offers? That's a really good question and I'd be interested to hear the replies. I suspect no one really knows for sure but I also expect a number of HTML5 Schema plugins to be developed soon, especially if people report increased organic traffic from Schema supported websites.
There are also other Schema customizations you can do not mentioned by Yoast. Custom microdata on the About/Services page from Ryan Meier, for example http://www.rfmeier.net/custom-microdata-with-genesis-2-0/
RobCubbonMemberAdding to Brad's last point. I use the added body class to landing pages quite a lot. Here's some of my CSS:
.page-template-landing-php h1 { text-align : center ; font-size : 35px!important ; padding: 15px 0; line-height: 48px!important; } .page-template-landing-php h2 {font-size: 28px; line-height: 40px; text-align : center ;} .page-template-landing-php .entry-content {width : 650px ; padding : 10px 15px 15px ; margin : 0 auto!important ; } .page-template-landing-php .page {width: 720px ; border : 3px solid #CDD9FE; margin : 0 auto!important ;} .page-template-landing-php .footer-widgets { display: none; } body.page-template-landing-php .entry-content {font-size: 17px; line-height: 27px; }
This may not be an elegant PHP solution but it works 😉
RobCubbonMemberI'm not 100% sure because I haven't used Lifestyle but you could start by going in WordPress to Settings > Reading and choosing to show your latest blog posts on the home page and see what that does.
Then making another page for your Featured Posts may be more problematic. You may have a ready made template in that theme or you may have to create one yourself.
RobCubbonMemberThanks, Brad, but I think that's not the one I'm referring to. That appears to be referring to Version: 2.0.0-beta2 where as the one on http://www.studiopress.com/free-themes/sample looks completely different when you open the style.css. And it's version Version: 1.9
And here https://github.com/copyblogger/genesis-sample/tree/master is for the "master" as opposed to the "develop". But it's Version: 1.9.2  not 1.9
RobCubbonMemberHey, Kiesha, nice to see you here! Yes, that's a database find and replace.
You have to change the user_id number in the comments table in PHPmyAdmin
http://www.webdevdoor.com/wordpress/missing-gravator-profile-username-change/
Let me know if you need any help.
RobCubbonMemberRobCubbonMemberThanks, Ryan, but this must be a Mac issue. I'm seeing the search form as an ugly, default, thin version on my Chrome after repeated refreshes and on a Safari browser that has never viewed the site before. As there is nothing aobut this out there I must be doing something else wrong!!!
RobCubbonMemberRyan, could I send you a message with the WordPress UN and PW as I don't want a dupe dev site live with links to it?
RobCubbonMemberStudioPress themes are generally pretty water-tight. I've yet to see a mistake in one myself 😉 but you never know
RobCubbonMemberWell, I'm glad I've helped you, Michael, but I don't think adding anything to the Header Widget would have caused it as the CSS was "wrong" in leaving out the px. Anyway, one of those mysteries.
Glad it's OK now 🙂
RobCubbonMemberHello, Michael, this link does still work but only in the very top left hand corner.
On looking at the CSS for this your height and width values are just numbers and therefore don't work.
`
.header-image #title-area, .header-image #title, .header-image #title a {
display: block;
float: left;
height: 160;
overflow: visible;
padding: 0;
text-indent: -9999px;
width: 607;
}
`Putting px after the number works but messes up your whole header!
`
.header-image #title-area, .header-image #title, .header-image #title a {
display: block;
float: left;
height: 160;
overflow: visible;
padding: 0;
text-indent: -9999px;
width: 607;
}
`However changing the width to be shorter (so the height and width are roughly the same and the logo's size) solves the problem:
`
.header-image #title-area, .header-image #title, .header-image #title a {
display: block;
float: left;
height: 160px;
overflow: visible;
padding: 0;
text-indent: -9999px;
width: 300px;
}
`Let me know if you need any help editing CSS.
RobCubbonMemberRobCubbonMemberAhhh, that's it, Ryan. Thank you so much. I should have worked that out from the HTML but I thought it was something else.
I need to find out more about these new HTML5 tags and what they mean.
But at least we've got a really easy way to turn an old XHTML Genesis site into a new HTML5 one 🙂
RobCubbonMemberActually, Ryan, the 'before' isn't empty. It's just been stripped out here for some reason and I didn't notice.
They are all like this:
`
'before' => ' LESSTHAN div class="home-title widget-area" GREATERTHAN ',
`I probably should be using paste-bin here
RobCubbonMemberI've just put both pages through HTML Validator
xhtml got 2 errors and 1 warning. html5 got 12 Errors and 2 warnings
The extra errors were "Unclosed element div" and "Stray end tag aside".
RobCubbonMemberActually, I've stumbled on a big problem whilst changing a site from xhtml to html5 (let me know if I should start a new thread for this).
I have a custom page with the following widgets:
`
function cre8tive_front_genesis_meta() {
if ( is_active_sidebar( 'home-title' ) ) {
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'cre8tive_home_left' );
add_action( 'genesis_loop', 'cre8tive_home_middle' );
add_action( 'genesis_loop', 'cre8tive_home_right' );add_filter( 'body_class', 'add_body_class' );
function add_body_class( $classes ) {
$classes[] = 'cre8tive-front';
return $classes;
}}
}function cre8tive_home_left() {
if ( is_active_sidebar( 'home-left' ) ) {
genesis_widget_area( 'home-left', array(
'before' => '',
) );
}}
function cre8tive_home_middle() {
if ( is_active_sidebar( 'home-middle' ) ) {
genesis_widget_area( 'home-middle', array(
'before' => '',
) );
}}
function cre8tive_home_right() {
if ( is_active_sidebar( 'home-right' ) ) {
genesis_widget_area( 'home-right', array(
'before' => '',
) );
}}
`
This created three separate div classes that I could style up with no problem.
After the change to HTML5 these divs have all been put inside each other! It's like there's been too many closing divs put in.
Anyone experienced this before?
RobCubbonMemberRobCubbonMemberRobCubbonMemberThanks again, rfmeier. I'm sorry, I assumed Genesis 2.0 was HTML5 by default.
I have added the HTML5 mark up and it has caused structural issues to the site (as I expected it would). So is it a case of looking at http://www.briangardner.com/code/genesis-html5-markup/ <-- this link, and going through the CSS and changing a few of the descriptors?
do you know of a post that helps with this?
RobCubbonMemberHello refmeier, that was so useful because I didn't know about that plugin.
I'm testing a site in Genesis 2.0 beta and, after updating the framework, the site looks and behaves exactly the same.
However I notice the HTML starts with
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
That's not HTML5 is it? Am I missing something?
-
AuthorPosts