Forum Replies Created
-
AuthorPosts
-
Chris Cree
ParticipantI've been working with these themes since 2007 and the first iteration of Revolution well before Genesis existed. It's the right way to do it. 😉
Chris Cree
ParticipantIf your opening and closing brackets don't match you'll get an error and crash the site. Here's the full code I was trying to explain:
Chris Cree
ParticipantOh, and I found out how to get the code to show. I think. This is what you will need to remove from that template:
<h4><?php _e( 'Authors:', 'genesis' ); ?></h4> <ul> <?php wp_list_authors( 'exclude_admin=0&optioncount=1' ); ?> </ul>
Chris Cree
ParticipantYou have to copy the page_archive.php file from the core Genesis theme folder. This is the template you used when you created your sitemap page.
When you put a template file in your child theme folder that duplicates one in the core Genesis theme folder then Genesis will use the one in your child theme folder instead of the one in the Genesis folder.
Chris Cree
ParticipantYou'll need to customize your functions.php file in the copy of Outreach for the site. Look for the function outreach_sub_footer() at line 75. Add an additional if statement to the function
if ( is_front_page() ) {
outside the if statement for the is_active_sidebar function. Remember to add the closing } at the end outside the existing if statement.
Chris Cree
ParticipantMake a copy of the page_archive.php file and put it in your child theme folder. Then edit your copied file to remove lines 49-52 (the forum keeps stripping out the copy of the code. Grrr...)
Basically it's the h4 tag and the ul tag for the authors. It should be pretty obvious I hope.
December 28, 2012 at 11:28 am in reply to: adding stream page to genesis responsive slider ???? #7907Chris Cree
ParticipantThe stream tutorial creates an archive template for automatically displaying the stream custom post type. You would have to create a page template  that shows the stream archive, create a page using that template where you add a featured image. Then you can add the page to the Genesis Responsive Slider.
To create the page template put this in a page_stream.php file:
<?php/*
*
* Template Name: Stream
*
* This template displays the Stream archive.
*//** Remove the Genesis post content and replace with WordPress */
remove_action( 'genesis_post_content', 'genesis_do_post_content' );
add_action( 'genesis_post_content', 'the_content' );/** Remove the post title */
remove_action( 'genesis_post_title', 'genesis_do_post_title' );/** Relocate the post info function */
remove_action( 'genesis_before_post_content', 'genesis_post_info' );
add_action( 'genesis_after_post_content', 'genesis_post_info' );/** Remove the post meta function */
remove_action( 'genesis_after_post_content', 'genesis_post_meta' );genesis();
Chris Cree
ParticipantYou have to change the corresponding CSS in your style.css file. A handy tool to help find which CSS selector to modify is Firebug. Without a link to the site you want to customize it's hard to give you more specifics.
Chris Cree
ParticipantDid you go to the Outreach How To where it explains how to setup the slider? The demo is using the Genesis Responsive Slider and is set to pull the featured images from the last three posts in a "Featured" category.
-
AuthorPosts