Forum Replies Created
-
AuthorPosts
-
azparis
MemberI added this code to functions.php, but it threw my whole entire theme off and removed my logo and sidebar:
/* Customize the post info function
add_filter( 'genesis_post_info', 'sp_post_info_filter' );
function sp_post_info_filter($post_info) {
if ( !is_page() ) {
$post_info = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]';
return $post_info;
}}azparis
MemberI thought it was strange too, as I've used Blissful on many sites before....I'll download a new copy and reupload it - maybe it will fix itself! Thank you!
azparis
MemberPrimary Nav shows up :: above header. I want a nav below header....don't care which one it is. I haven't changed the coding, and the demo has both nav menus - so I'm confused. So where do I move that in the php?
azparis
MemberYes, I've checked the box in Appearance > Menus for the locations. Here's my functions.php code:
<?php
/** Start the engine **/
include_once( get_template_directory() . '/lib/init.php' );/** Child theme (do not remove) */
define( 'CHILD_THEME_NAME', 'Blissful Theme' );
define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/blissful' );/** Add support for custom background */
add_theme_support( 'custom-background' );/** Add support for custom header */
add_theme_support( 'genesis-custom-header', array(
'width' => 1200,
'height' => 325
) );/** Unregister 3-column site layouts */
genesis_unregister_layout( 'content-sidebar-sidebar' );
genesis_unregister_layout( 'sidebar-sidebar-content' );
genesis_unregister_layout( 'sidebar-content-sidebar' );/** Add support for 3-column footer widgets */
add_theme_support( 'genesis-footer-widgets', 3 );/** Add new image sizes */
add_image_size( 'mini-thumbnail', 75, 75, TRUE );
add_image_size( 'small-thumbnail', 110, 110, TRUE );/** Reposition the Primary Navigation */
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before_header', 'genesis_do_nav' );add_filter( 'genesis_post_info', 'blissful_post_info_filter' );
/**
* Customize the post info function
*/
function blissful_post_info_filter( $post_info ) {
return g_ent( '[post_date] by [post_author_posts_link] · [post_comments] [post_edit]' );
}add_filter( 'genesis_post_meta', 'blissful_post_meta_filter' );
/**
* Customize the post meta function
*/
function blissful_post_meta_filter($post_meta) {
return g_ent( '[post_categories] · [post_tags]' );
}add_filter( 'genesis_author_box_gravatar_size', 'blissful_gravatar_size' );
/**
* Modify the size of the Gravatar in the author box
*/
function blissful_gravatar_size( $size ) {
return 78;
}add_action( 'genesis_after_sidebar_widget_area', 'blissful_split_sidebars' );
/**
* Add split sidebars underneath the primary sidebar
*/
function blissful_split_sidebars() {
foreach ( array( 'sidebar-split-left', 'sidebar-split-right', 'sidebar-split-bottom' ) as $area ) {
echo '<div class="' . $area . '">';
dynamic_sidebar( $area );
echo '</div><!-- end #' . $area . '-->';
}
}add_filter( 'genesis_footer_backtotop_text', 'blissful_footer_backtotop_filter' );
/**
* Customizes go to top text
*/
function blissful_footer_backtotop_filter( $backtotop ) {
return '[footer_backtotop text="Top of Page"]';
}/** Register widget areas */
genesis_register_sidebar( array(
'id' => 'home-top',
'name' => __( 'Home Top', 'blissful' ),
'description' => __( 'This is the top section of the homepage', 'blissful' ),
) );
genesis_register_sidebar( array(
'id' => 'sidebar-split-left',
'name' => __( 'Sidebar Split Left', 'blissful' ),
'description' => __( 'This is the left side of the split sidebar', 'blissful' ),
) );
genesis_register_sidebar( array(
'id' => 'sidebar-split-right',
'name' => __( 'Sidebar Split Right', 'blissful' ),
'description' => __( 'This is the right side of the split sidebar', 'blissful' ),
) );
genesis_register_sidebar( array(
'id' => 'sidebar-split-bottom',
'name' => __( 'Sidebar Split Bottom', 'blissful' ),
'description' => __( 'This is the bottom of the split sidebar', 'blissful' ),
) );azparis
Membernevermind...I changed themes.
azparis
Memberand I want the header to be static...and not scroll with the page.
azparis
MemberI think it resolved itself...strangeness...thank you for checking!
azparis
MemberGenesis Slider Settings are 750x500
azparis
MemberI did customize this template, so I'm sure I've done something.....but this was like this out of the box....the first thing I tried to change was showing posts on the home page. I've no clue what I've done.....I feel like it's something simple as well....and all related since the older posts aren't showing either.....when you click older posts it just takes you to the same home page. I've got something not set right....and the fist post isn't showing in full....so it's all related to something wrong I've done
azparis
MemberBrad,
ive got it to show posts on front page but only by setting my front page to a static page(home). If I switch it to 'your latest posts', the page goes blank with a sidebar on left column. I'm not sure why..... Also, the "older posts" link goes nowhere so I'm sure I'm just missing a setting somewhere....why aren't latest posts showing when I set it to Your Latest Posts?!?!
azparis
MemberI only have the ONE featured posts widget active since the second one stripped the formatting. So, I have one featured posts widget that is set to just show ONE full post. Then, the remainder of the posts are excerpts, set up only in genesis theme settings. It's all PERFECT except that the first excerpt is a repeat of the full post above it. Make sense? How do I attach a screenshot here?
azparis
MemberI deleted the featured posts widget so it's back to "normal" view now. I have it set up with:
the featured posts widget showing 1 post with content. Then, the rest of the posts show excerpts based on Genesis Theme Settings > content archives > show post excerpts >
However, it displays the first post in full, and then below it, the first excerpt is the first post again. So, I have post #1 in full then...excerpt of Post#1, excerpt of post#2, etc.
What the heck?
azparis
Membertake a peek at my page now: Not only does it repeat the posts but it also strips any formatting between excerpts...making it look not so nice!
azparis
MemberThe featured posts widget thing works, and I love that it's so easy...however, when I enable that, I get doubles as in the posts show in excerpt form once, and then below, I've got another set of the same posts. I'm guessing it's the default genesis excerpts..but how do you turn those off if you're enabling the widgetized version?
azparis
MemberYou freaking ROCK vwondra! Thank you SO SO SO SO much!
Love that I didn't have to mess with code to do that. You are my hero!
Melanie
azparis
Memberyou're wonderful..thank you for responding...is this done in home.php or functions.php?
-
AuthorPosts