Forum Replies Created
-
AuthorPosts
-
Chris Cree
ParticipantSilly me. The blog page template doesn't have a page title in Genesis. So we don't have to remove it there, just add it back in.
TryTry this on for size.
// Move titles above the content sidebar wrap add_action( 'genesis_before', 'wsm_move_title' ); function wsm_move_title() { if ( is_page() && !is_page_template( 'page_blog.php' ) { remove_action( 'genesis_post_title', 'genesis_do_post_title' ); add_action( 'genesis_after_header', 'wsm_show_page_title_text', 2 ); } elseif ( is_page_template( 'page_blog.php' ) ) { add_action( 'genesis_after_header', 'wsm_show_page_title_text', 2 ); } } function wsm_show_page_title_text() { echo '<div class="top-title">'; echo '<h1>' . get_the_title() . '</h1>'; echo '</div>'; }
Chris Cree
ParticipantHoly smokes! The forum butchered that code. Let me see if I can edit it...
OK. That's much better.
Chris Cree
ParticipantInstead of
if ( is_page() ) {
Try
if ( is_page() && !is_page_template( 'page_blog.php' ) ) {
That should keep it from affecting your plog page. If it is affecting single posts add !is_single() like this
if ( ( is_page() && !is_page_template( 'page_blog.php' ) ) || !is_single() ) {
Chris Cree
ParticipantI think you're going to have to do it in two steps. Try something like this:
// Move titles above the content sidebar wrap add_action( 'genesis_before', 'wsm_move_title' ); function wsm_move_title() { if ( is_page() ) { remove_action( 'genesis_post_title', 'genesis_do_post_title' ); add_action( 'genesis_before_content_sidebar_wrap', 'wsm_show_page_title_text', 2 ); } } function wsm_show_page_title_text() { echo '<div class="top-title">'; echo '<h1>' . get_the_title() . '</h1>'; echo '</div>'; }
Then add the CSS for your new .top-title class as appropriate.
Chris Cree
ParticipantIt might be easier to add a display: none; property for those individual widget titles in your CSS. For example
#tag_cloud-2 .widget-title, #categories-7 .widget-title { display: none; }
Use whatever widget ID's you want to adjust. Then you can "cheat" by adding a text widget above each of them with the title image only coded up as straight HTML in the body of the text widget instead of as a CSS background.
Chris Cree
ParticipantSteve, if you have the Pro Plus package check out the page_portfolio.php file from the Crystal theme. That theme actually shows whatever category you designate using the query_args Custom Field for the portfolio page.
The benefit of that approach is that it's easy to have multiple portfolio pages that show different categories.
The down side is that the layout as far as what is shown is far less flexible.
In your case you might find that easier than going the custom post type approach.
Chris Cree
ParticipantIf you don't want the grid loop below the widget area you added to the home page, just delete it from your home.php file. So instead of adding the code from Brian's post you end up replacing the loop that's there with Brian's code.
If you remove this it should do it:
add_action( 'genesis_loop', 'eleven40_grid_loop_helper' ); /** Add support for Genesis Grid Loop */ function eleven40_grid_loop_helper() { if ( function_exists( 'genesis_grid_loop' ) ) { genesis_grid_loop( array( 'features' => 1, 'feature_image_size' => 0, 'feature_image_class' => 'alignleft post-image', 'feature_content_limit' => 0, 'grid_image_size' => 'grid-thumbnail', 'grid_image_class' => 'alignnone', 'grid_content_limit' => 250, 'more' => __( '[Continue reading]', 'genesis' ), 'posts_per_page' => 5, ) ); } else { genesis_standard_loop(); } }
Keep in mind you'll still want to keep this line of code in your home.php file:
remove_action( 'genesis_loop', 'genesis_do_loop' );
Chris Cree
ParticipantSweet. Glad you were able to get it sorted.
Chris Cree
ParticipantNearly all Genesis themes use a home.php template for the front page of the website. Usually this page is largely widget driven so that it's easy to adjust what content shows on the front of your site.
For that reason, setting a static home page will cause that widgetized home page to disappear until the setting is put back to "Your Latest Posts".
Since you have not posted a link to your site, I'm not really clear on your question. I might be able to answer it better if you share a link.
Chris Cree
ParticipantInstead of adding it to your post type files, put something like this in your functions.php file:
/** Modify the comment link text */ add_filter( 'genesis_post_meta', 'post_meta_filter' ); function post_meta_filter( $post_meta ) { if ( is_singular( 'custom-post-type' ) { return '[post_comments zero="Leave a Review" one="1 Review" more="% Reviews"]'; } else return '[post_comments zero="No Comments" one="1 Comment" more="% Comments"]'; }
Change out custom-post-type with the actual custom post type you want it to apply to. See is_singluar() in the WP Codex.
Chris Cree
ParticipantDouble check your Settings --> Reading settings. You should have "Front Page Displays" set to "Your Latest Posts".
Usually when the home page not displaying the content at all it's because that setting is set to a static page.
January 5, 2013 at 8:53 pm in reply to: What is going on with Nick The Geek's Website? 500 Internal Error… #9854Chris Cree
ParticipantHe may be working on it. And I second the thanks to Nick!
Chris Cree
ParticipantGenesis uses the WordPress function the_excerpt() for excerpts. I don't see a filter listed for the excerpt content itself. But if you research it you may find someone who has done it already.
Short of that, I'd try my initial suggestion about changing the post info and use the content limit instead on your home page.
Chris Cree
ParticipantEmail can be a finicky animal. I've run into problems with form notifications for one client on a server while several others have no problems whatsoever. And you're right. They are crazy hard to troubleshoot.
It hasn't been updated in a while, but I've had good luck with the WP Mail SMTP plugin in those instances where email notifications were problematic.
Chris Cree
ParticipantThat note is over on the Synthesis pricing page. Mouse over the check mark beside "Multisite Support" to see that along with where to inquire about it.
Chris Cree
ParticipantHave you tried deactivating other plugins?
You have two versions of jQuery being called in your header. The main one from WordPress and another much older version from Amazon S3.
This second version of jQuery looks to be improperly enqueued and is probably causing the issue with your slider.
Chris Cree
ParticipantI use WooCommerce on several Genesis sites with no issues. I don't think I've used the Genesis Connect for WooCommerce plugin though. But that does work just fine too.
There has to be something else going on with your setup somehow.
Chris Cree
ParticipantIt sounds like what you really want is a Grid Loop. Here is the tutorial page for that: http://my.studiopress.com/tutorials/genesis-grid-loop/
Chris Cree
ParticipantIt looks like you've pulled a separate page's content into the top of your blog page template. It's a side issue. But one that is complicating what you are doing.
In your stylesheet you have this at line 840:
.post h1, .post h2, .post h3 { margin: 285px 0 0 35px; }
That's putting a huge top margin on all of your headings. It means that if you use a heading inside a post it will have a huge top margine as well.
You can change that to something like this instead so that it selects only the entry titles on your single posts and not the rest of your heading tags:
.single-post .entry-title { margin: 285px 0 0 35px; }
Chris Cree
ParticipantYou can do that with a combination of modifying the post info section and css. If you use the Simple Edits plugin you can use this shortcode in the post info section:
[post_date format="j F Y" after=" - "]
Then you can just use the appropriate CSS to position that at the beginning of the first paragraph of text.
Edit: I missed that you are asking about the excerpt. It might be easier for you to use manual excerpts and add the date to the excerpt field.
-
AuthorPosts