Forum Replies Created
-
AuthorPosts
-
Here’s the hook reference: http://my.studiopress.com/docs/hook-reference/
remove_action( 'genesis_before_post_content', 'genesis_post_info' );
add_action( 'genesis_before_post_title', 'genesis_post_info' );/** Customize the post info function */
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter($post_info) {
if ( !is_page() ) {
$post_info = '[post_date]';
return $post_info;
}}
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookWhen switching themes, you may need to Regenerate Thumbnails. Also, just check that the Genesis Theme settings are still set to include the featured image.
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookYes, all of this would go in your child theme style.css file.
Depending on your site, you may need more than .custom-landing #inner and .custom-landing #wrap. You might need .custom-landing #content as well. Basically, .custom-landing can be used in front of any element you need to change.
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookDecember 20, 2012 at 2:06 pm in reply to: How Can I Display Genesis-Boxes using Custom Fields? #6495This is totally untested code. I just did it real quick to give you an idea of what you might do.
/** Add Genesis Box on Single Posts */
add_action( 'genesis_after_post_content', 'include_genesis_box', 11 );
function include_genesis_box() {
if ( is_single() )
$genesis_box = genesis_get_custom_field( 'box_select' );
if ( $genesis_box == 'listbuilding-box') {
require( CHILD_DIR.'/listbuilding-box.php' );
}
if ( $genesis_box == 'hosting-box') {
require( CHILD_DIR.'/hosting-box.php' );
}
}
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookMy apologies. That should go in functions.php. Most code posted like that would go in that file unless otherwise specified. I do notice that the h1 tags I added to that code were removed. You can add them back in around the words Search Results.
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookYou can adjust any element for just that page using the body class Brian defined in his tutorial.
.custom-landing .whatever-element {
}
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookDecember 20, 2012 at 8:32 am in reply to: Simple Social Icons Widget – Title Background Cropped #6397Thanks for sharing!
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookYou mean you want 2 separate green boxes instead of 2 widgets in one green box?
If so you need to move the styling of home-feature-sidebar to home-feature-sidebar .widget.
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookYou can try this:
/* Add Extra Page Title on Search */
add_action( 'genesis_before_loop', 'search_title');
function search_title() {
if ( is_search() ) {
echo 'Search Results';
}
}I’m not sure I’d use an h1 though. Your search results title will be the same no matter what is searched for. I usually use an h4 and style it.
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookThe Agency Theme uses the custom header function located under Appearance > Header.
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookThe inline styles are output as part of the plugin. You’re probably looking at .ufo-form-submit-success & .ufo-form-submit-failure and will have to override the inline styles in your stylesheet.
.ufo-form-submit-success, .ufo-form-submit-failure {
something: something !important;
}
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookGlad that worked! You’re very welcome!
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookYes, that is a good suggestion!
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookHave you tried deactivating plugins to see if that solves the issue?
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookYeah, commenting out the responsive when changing to max-width 960px isn’t going to completely do it. You’ll have to adjust widths elsewhere since many of the widths adjustments are also in the responsive part.
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on Facebook -
AuthorPosts