About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
If I wanted to use this method in a widget area on the homepage of manhattan (home-note area) with 4 colums vs 3 can that be done?
I would love to see this pull standard posts on Dynamik theme in the way you have above in 2 columns but pulling the first image from the post and setting it as the feature image, as well as using the youtube embeds show on the grid as well.
Like this? http://i.imgur.com/OGg5lAN.jpg
Just published. See http://www.sridharkatakam.com/posts-columns-oembed-support-excerpts-homepage-dynamik/
Looks like what I wanted…… I would like something like this viralwriter.com and probloggingsuccess.com
Hi Sridhar, I am creating a 1 page Genesis site and want to show the 3 latest ‘standard’ posts in a 3 column layout. I tried using the Genesis Featured Posts widget and creating a new widget area to display this, but could not achieve the multi-column layout. Your method above sounds much closer to what I’m trying to achieve, but with standard posts and no pagination needed. Do you happen to have any advice? http://tok.hostfortyfive.co.uk/
Thanks!
David
Hi Sridhar,
Do you have any advice for placing a full content post before these truncated posts?
See http://www.deluxe-designs.net/KDenny
Thanks!
Do you want to display 1 full post followed by excerpts? If yes, do you want the excerpts to be in columns? If so, how many columns?
I can see that Julie haven’t replied on your last question – but that is also my question and I would love to display 1 full post followed by the rest of the post in excerpts and in a 2 coloum grid – is that actually possible?
Catrina
HI I have used the code above to create a custom template page for my latest news, I have created a custom post type and everything is working except there isn’t a featured image on the new post type page how do I add that see what I added to create the CPT below
//* Custom Post Type
add_action( ‘init’, ‘create_custom_post_type’ );
function create_custom_post_type() {
$labels = array(
‘name’ => __( ‘News’ ),
‘singular_name’ => __( ‘news’ )
);
$args = array(
‘labels’ => $labels,
‘public’ => true,
‘has_archive’ => true,
‘rewrite’ => array(‘slug’ => ‘news’),
);
register_post_type( ‘news’, $args);
}
// Add featured image to CPT
function feature_image_header() {
if( is_singular(‘news’) && has_post_thumbnail()) {
genesis_image(
array(
‘size’ => ‘single-post’,
‘attr’ => array( ‘class’ => ‘alignleft’ )
) );
}
}
add_action(‘genesis_after_post_title’, ‘feature_image_header’);
Sorted it out just need to add
‘supports’ => array( ‘title’, ‘editor’, ‘comments’, ‘excerpt’, ‘custom-fields’, ‘thumbnail’ ), after
‘rewrite’ => array(‘slug’ => ‘news’),
Thanks anyway great tutorial
Hi. I tried to apply the template for a custom post type and a post. I used the same code for different template. However, the other template’s pagination works when the other one’s pagination redirects to error404. Please help 🙁 is it not possible to use the code on multiple templates?