Forum Replies Created
-
AuthorPosts
-
January 25, 2013 at 7:39 pm in reply to: Does anyone know how to do multiple home page loops? #14925wpspeakMember
The way I'll do it:
1. Create a widget area before the blog loop. Use the featured post widget where you can choose "Featured" category. If you need more control of the position of the image (like image before post title), install the Genesis Featured Post amplified plugin. The native Featured Post Widget can only align the image to none, left and right only if I'm not mistaken.
2. Use blog page template and exclude the "Featured" category. It should be similar to this http://www.briangardner.com/blog-page-single-category/ BUT you need to put the negative sign in front on the category ID.
3. To swap the position of post thumbnail of post title, there's two method:
METHOD 1: You need to unhook the original one, and hook them back. Here's a sample code:
// Move image above post title
remove_action( 'genesis_post_content', 'genesis_do_post_image' );
add_action( 'genesis_before_post_title', 'genesis_do_post_image' );METHOD 2: Using the same method as Streamline theme. Here's the code:
/** Add post image above post title */
add_action( 'genesis_before_post', 'streamline_post_image' );
function streamline_post_image() {if ( is_page() ) return;
if ( $image = genesis_get_image( 'format=url&size=post-image' ) ) {
printf( '', get_permalink(), $image, the_title_attribute( 'echo=0' ) );
}}
What you need to achieve is actually have almost the same structure with Streamline theme.
Hope this helps
wpspeakMemberHi axanthus,
I can see this:
‘feature_content_limit’ => 200,
You need to change it back to
‘feature_content_limit’ => 0,
Well, you said
but it also showed the entire content of all any post.
Well, I can see you set the feature post to be 20:
‘features’ => 20,
You need to change it to:
‘features’ => 1,
... so only the first post will be the feature post, and will be full post at homepage.
To change the limit of the excerpt, you need to change this line
‘grid_content_limit’ => 250,
wpspeakMemberJust use the default blog page.
You just need to tweak the post info section. Luckily, someone had already wrote a tutorial about this.
http://code.garyjones.co.uk/style-post-info/
http://code.garyjones.co.uk/style-post-info/
wpspeakMemberI think that all depends on the child theme you use. Although Genesis 1.9 will have the ability to turn on/off the responsiveness of the theme, that is just for the parent theme (if you understand what I mean here).
1. So my question is for future themes, are they all going to be 1140+ wide and if we turn off responsive, we are stuck with a site that is wider than the current standard of 960px?
No.
2. Wouldn’t that make us need to use responsive all the time, or will there still be 960px width themes?
Having a parent theme width 1140px width won't magically change your child theme width from 960px to 1140px. If you understand the concept of child theme, you'll understand what I said above. The purpose of the child theme is to overwrite whatever in the parent theme. So any changes you make like appearance in style.css or some tweaking in functions.php will overwrite any default appearance and functions of the parent theme.
Cheers
wpspeakMemberanitac: I believe you don't understand what a parallax scrolling is.
Lauch Productions: Here's a great tutorial on parallax scrolling http://abduzeedo.com/super-easy-parallax-effect-jquery
December 7, 2012 at 3:40 pm in reply to: Putting post info (post date/month) next to post tittle #3790wpspeakMemberHi, I think this can easily be done. You need to swap the position of genesis post title with genesis post info through the functions.php, and need some styling to make it looks great.
Fortunately, someone has wrote a tutorial about this http://code.garyjones.co.uk/style-post-info/
-
AuthorPosts