Forum Replies Created
-
AuthorPosts
-
Nile Flores
MemberNile Flores
MemberThanks... this is something that has nagged at me and while I had it up on my screen during a WordCamp and I always changed mine. I see this in some of the 2.0 pro versions and Kudos to Brian to getting this into gear.
I help people rock out their sites! – Blondish.net
Nile Flores
MemberMaybe I'm just weird... you weren't the only one that let me know it looked fine. I'm going to mark this as resolved... I hate when I have colds.
Thank you for taking a look for me 🙂
I help people rock out their sites! – Blondish.net
July 27, 2013 at 6:05 am in reply to: How to get "After post" to be displayed on home page posts? #52767Nile Flores
MemberRename your home.php to front-page.php
Instead of using the is_home in your functions to display after post, using is_front_page
For example, I am using the front-page.php and want my newsletter (which is a widget area) to display above my content wrap area and ONLY on my front page. (This code is from the functions.php)
/** Add newsletter section after header */ add_action( 'genesis_before_content_sidebar_wrap', 'bsg_newsletter' ); function bsg_newsletter() { if ( ! is_front_page() ) return; genesis_widget_area( 'newsletter', array( 'before' => '<div class="newsletter widget-area">', ) ); }
genesis_after_post_content would be the hook.
(Note: change the bsg to the theme name you are using)
I help people rock out their sites! – Blondish.net
Nile Flores
MemberI love it... I had a child theme in a format just like that. Very cute and I love the colors. 🙂
BTW... your featurette on those bloggers, for better kudos and for SEO, you could make those images background images and put some classes in to format over the image. Just a thought.
I help people rock out their sites! – Blondish.net
Nile Flores
MemberWhy? You are aware for SEO, you might want to take advantage of using the CSS rather than the HTML code. It DOES the same thing.
You will want to use the #header #title a , #header #title a:hover in your style.css. If you don't want a background for your header... adjust the css for background: none;
I help people rock out their sites! – Blondish.net
Nile Flores
MemberSummer's suggestion seems like a good one.
Just a side note... with the news that Google has been cracking down on guest authors, you might want to either not have the author box enabled, OR allow the author box for transparency.
I help people rock out their sites! – Blondish.net
Nile Flores
MemberNile Flores
Memberrename your home.php to front-page.php and any functions in your theme's templates that are is_home, change it to is_front_page
> You will have to build a custom loop and add the featured image replacing featured-image with the custom image size you should have put in your functions.php ( http://gregrickaby.com/genesis-code-snippets/ has some snippets that might help if you have not already done this.)
" /><?php the_post_thumbnail( 'thumbnail', array( 'class' => 'featured-image' ) ); ?>
I help people rock out their sites! – Blondish.net
July 27, 2013 at 5:17 am in reply to: How to get "After post" to be displayed on home page posts? #52754Nile Flores
MemberThe correct template hierarchy is front-page.php, not home.php. Otto (aka Samuel Woods) and I have discussed this in depth at WordCamps and instead of is_home, use is_front_page
I help people rock out their sites! – Blondish.net
Nile Flores
MemberYou will want to use the hook for after post title--> genesis_after_post_title
Try doing them as separate. One for just is_home and other for is_single
I help people rock out their sites! – Blondish.net
Nile Flores
MemberYou don't need to look into Google fonts.
The CSS given is on the correct path.
you may need to designate for p strong, or .entry-content p strong
Ari... what site is this happening on, and have you validated the code/ css? I see it working on your site just fine in Chrome.
I help people rock out their sites! – Blondish.net
Nile Flores
MemberJust noticed, your DOCTYPE should be changed to suit the HTML5 for media queries.
And from anitac's comment, you would have to write in your css to make that widget area responsive. It is not necessarily "inappropriate", but it needs to be written correctly in your media query css.
I help people rock out their sites! – Blondish.net
Nile Flores
MemberAre your social sharing icons a plugin?
You would have to go and edit the plugin's files. Not a good idea especially if you are using plugins that are constantly being updated.
You would have to put them at a lower number or use a manual method with a hook. I don't use a social share plugin anymore and have buttons in mine using hooks and have them placed just under the post meta. ( Example : look at my single posts on blondish.net )
If you are using Digg Digg, you can do this with the manual option... again, you would put the code together and use a hook.
LinkWithin... See if they have a manual code option. If they do not.... try YARRP ( Yet Another Related Post Plugin)... there is a manual option described in that plugin.
I help people rock out their sites! – Blondish.net
Nile Flores
MemberResolved... only had 9 posts showin and set posts per page at 10. DOH!
I help people rock out their sites! – Blondish.net
Nile Flores
MemberThe number 9 gives importance to it and puts it above the post meta.
The code goes in your child theme's functions.php
I help people rock out their sites! – Blondish.net
Nile Flores
MemberOops... I went and modified the code... no need to register a widget.... 🙂 Sorry... when I did that, I should have edited the text too.
I help people rock out their sites! – Blondish.net
Nile Flores
MemberWhile I am not using a signature, I am using an ad right after the post, but before the post meta.
The area is a widget... so you would either have to register a widget and put your signature in, or alter the code below to suit your needs.
/** Add after post ad section */ add_action( 'genesis_after_post_content', 'blissful_after_post_signature', 9 ); function blissful_after_post_signature() { if ( is_single() ) { echo '<div class="after-post-signature">'; echo '</div><!-- end .after-post-signature -->'; } }
I help people rock out their sites! – Blondish.net
Nile Flores
MemberPlease do note that I am not talking about the single post, but the blog loop in general.
I help people rock out their sites! – Blondish.net
-
AuthorPosts