Forum Replies Created
-
AuthorPosts
-
AhjiraParticipant
Hey Susan, yes I found Gary Jones's solution on GitHub for this and this should do it if anyone else is looking for the answer. This is for HTML5 themes only.
First add a new ID to the content section...
add_filter( 'genesis_attr_content', 'jpis_add_id_to_content' ); function jpis_add_id_to_content( $attributes ) { $attributes['id'] = 'main-content'; return $attributes; }
Then add Jetpack support like this...
add_action( 'init', 'add_jpis_support' ); function flint_add_jpis_support() { add_theme_support( 'infinite-scroll', array( 'type' => 'scroll', 'container' => 'main-content', 'footer' => false, 'render' => 'genesis_do_loop' ) ); }
My original solution was firing too late but this solution did the trick. Thank you for checking up. Much appreciated 🙂
AhjiraParticipantThanks Brad - got it.
AhjiraParticipantYeah... it's completely intuitive if you know CSS, but might be confusing at first if you don't. I've had a test group of 7 using it for the last three months, only one of whom knows CSS and all of them have done really well. They ask a few questions at first and then seem to run with it after that. They aren't designers though so they're not hitting all the potential. They've done a lot with colors and fonts, but none of them has even touched the potential with background images or skins yet. I'm kind of hoping to get a bigger group involved to explore those lines a bit more.
AhjiraParticipantYes my site is running Flint, but Flint doesn't have a "design" necessarily. Flint will look how *you* make it look. I have built a skinning system into it but until people are familiar with it, I won't really talk about that piece too much.
Visit the Screenshots page and I think you'll get a glimpse of what it does:
http://ahjira.com/flint/screenshots/It's more like Prose in that it's a basic design until you set the styles, apply the background images and monkey with the text that you want.
March 15, 2013 at 9:08 pm in reply to: How do I plug my them into the Genesis Import/Export Page? #27277AhjiraParticipantNevermind I got it working! I just basically followed what Prose does by adding a file named import-export.php and adding this to it:
add_filter( 'genesis_export_options', 'theme_export_options' );
function theme_export_options( $options ) {
$options['themename'] = array(
'label' => __( 'My Theme Options', 'theme' ),
'settings-field' => THEME_SETTINGS_FIELD,
);
return $options;
}...and then adding this to functions.php
require_once( CHILD_DIR . '/lib/import-export.php' );
-
AuthorPosts