Forum Replies Created
-
AuthorPosts
-
March 26, 2013 at 9:49 pm in reply to: Mac version way off – embedded fonts AND the main menu of site #31452mickiParticipant
Hi, It's in maintenance mode, I will need to email you access privately, or? Thanks!
mickiParticipantyes, got rid of simple edits, works perfect, thanks
mickiParticipanti thought for anyone else who may have this issue, I read on the old forum that simple edits can conflict with snippets, such as the above, added to the functions file when trying to customize post meta.
http://www.studiopress.com/support/showthread.php?t=122707&highlight=post+meta+description
mickiParticipantthanks, i did install simple edits but it just makes me curious as to why these aren't working, the first snippet is from StudioPress...
mickiParticipantyes the plugin works, so i guess this is resolved, though i still can't figure out why the snippets didn't work... guess no one else is curious :).
mickiParticipantgot the first one from elektroelch.net
second (I think :)) - http://www.basicwp.com/edit-author-url-genesis-post-info/
there are a few examples when i typed in a search on google...
i have the simple edits installed, where i had modified the footer so did as you suggested, just trying to understand.
mickiParticipantok, thanks for the suggestion and I am curious, why won't either of these work? I have added more then a few other snippets and all have worked.
thanks again! appreciated.
mickiParticipantOk, adding the if ( is_home() )... to the code i am working with worked great! Sorry if I highjacked this thread, i answered my own question, thanks for your input and help.
mickiParticipantI got the code from : http://designsbynickthegeek.com/tutorials/add-widgeted-sidebar
See, you can tell how novice I am at this stuff... seeing slider and magazine in the code doesn't make sense to me :).
I am using the MomPrenuer theme.
Thanks!
mickiParticipantoh and sorry, forgot to add, this is a different theme then Streamline.
mickiParticipantI probably need to clarify that I am not using it for a slider, I am using it for text only. I apologize for not being more specific. Here is what is working BUT it is on all pages and I only need it for the home page. Maybe I should have opened a new thread... thought it was along the same vein...
genesis_register_sidebar( array(
'id' => 'before-posts-sidebar',
'name' => 'Before Posts',
'description' => 'This is a sidebar that goes before the posts in the #content.',
) );add_action( 'genesis_before_loop', 'child_before_posts_sidebar' );
/** Loads a new sidebar before the posts in the #content */
function child_before_posts_sidebar() {echo '<div class="before-posts-sidebar">';
dynamic_sidebar( 'before-posts-sidebar' );
echo '</div>';}
and I added what I think is the correct code for only the home page to:
add_action( 'genesis_before_loop', 'child_before_posts_sidebar' );
/** Loads a new sidebar before the posts in the #content */
function child_before_posts_sidebar() {
if ( is_home() ) {echo '<div class="before-posts-sidebar">';
dynamic_sidebar( 'before-posts-sidebar' );
echo '</div>';
}}
Thank you for your help.
mickiParticipantThank you! Just wanting to make sure I have this correct before I add it.
add_action( 'genesis_before_loop', 'child_before_posts_sidebar' );
/** Loads a new sidebar before the posts in the #content */
function child_before_posts_sidebar() {
if ( is_home() ) {echo '<div class="before-posts-sidebar">';
dynamic_sidebar( 'before-posts-sidebar' );
echo '</div>';
}}
basically I am just adding the if ( is_home() )
mickiParticipantHi, Following this and I am confused as to where I would put the conditional tags to have a widget before content be only on the home page.
Do I add it to this and how exactly? I am challenged this way :).
In child functions:
add_action( 'genesis_before_loop', 'child_before_posts_sidebar' );
/** Loads a new sidebar before the posts in the #content */
function child_before_posts_sidebar() {echo '<div class="before-posts-sidebar">';
dynamic_sidebar( 'before-posts-sidebar' );
echo '</div>';}
thanks for any help you can provide.
-
AuthorPosts