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.
Sridhar, this is great, thank you! Would it be easy to make the page content “Sample Page” appear in a separate content block from the blog block? So there would be background-colored vertical space between the “Sample Page” block and the “From Our Blog” block, similar to how vertical space is placed between widgets in the sidebar?
Thanks again.
1) In the code being added in functions.php, change “genesis_entry_content” to “genesis_after_entry”.
2) Replace the suggested custom CSS code with http://pastebin.com/raw.php?i=2WH1NSd3
to get, for example, http://i.imgur.com/OTo3eup.png
Sridhar, before you posted your solution, I came up with a solution similar to yours. Mine uses genesis_after_loop though, and my CSS attaches to the ‘entry’ class. Also, I didn’t use genesis_attr() since I’m not sure what that does and I couldn’t find Genesis documentation on it.
I wonder if there is any practical difference? Here’s my code:
[code]
//* Add the Home Below Page Content section with its new widget
add_action( ‘genesis_after_loop’, ‘child_show_recent_posts’ );
function child_show_recent_posts() {
if ( is_front_page() ) {
genesis_widget_area( ‘home-below-content’, array(
‘before’ => ‘<div class="entry">’,
‘after’ => ‘</div>’));
}
}
[/code]
Thanks again!
That is fine as well.
I picked up genesis_attr() from Minimum Pro’s functions.php.
I implemented this but it is bringing in an excerpt rather than the full content. In the Featured News widget I have checked full content not excerpt. I believe this is happening because the posts all have “read more” breaks added. Is there a way to get the full content to appear?
Are you using Featured News widget or ‘Genesis – Featured Posts’ widget? Can you provide the URL of your site?
I am using the Genesis Feature Post widget. I can give you the URL privately as the company is about to go public, just not post it on a forum
Using the “more” tag was definitely the problem, now I just have to figure out how to get the post formatted properly as it is being stripped of spacing.
What if I wanted to add the same functionality in the Mocha theme. Do I just need to change ID
I added this to the latest Genesis but no new widget appears. Any suggestions? I am using Epik Child Theme.
Followed the exact tutorial on latest Genesis, with Copyblogger child theme.
It is not working.
Widgets are registered. But the latest feature articles do not appear on the homepage.
Check your tutorial please.