Forum Replies Created
-
AuthorPosts
-
SimplyMeBrittanyMember
Thank you
SimplyMeBrittanyMemberThank you!
SimplyMeBrittanyMemberI'm still not able to get the get_permalink() function to work properly. Any suggestions?
SimplyMeBrittanyMemberAhh thank you thank you thank you!!
Now in terms off getting the permalink function to cooperate.
SimplyMeBrittanyMemberI don't know if there's something I'm missing or what, but I have it that way and I'm still getting the image on every post instead of just the ones in category 42. Here's the exact code I have in my functions.php
//* Add Category Image to bottom of post. add_action('genesis_entry_content', 'runpro_include_catimg'); function runpro_include_catimg() { if(is_home() || in_category('42')) { ?> <a class="more-link" href="' . get_permalink() . '"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/vfg.png" alt="CatImg" /></a> <?php }}
SimplyMeBrittanyMemberI have the first one in, but it's showing for every category. My site is http://shesaving.com/
SimplyMeBrittanyMemberHow would I go about making this category specific? Would I add the category name or category id?
This is what I have so far?
//* Add Category Image to bottom of post. add_action('genesis_entry_content', 'runpro_include_catimg', 11); function runpro_include_catimg() { if(is_single() || is_category( '42' )) { ?> <a class=href="' . get_permalink() . '"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/vfg.png" alt="CatImg" /> <?php }}
SimplyMeBrittanyMemberI did install the Display Post plugin as recommended which is how I got the recent posts to show up. Now I'm just trying to get the list of categories, pages, and my monthly archives to show. I'll post over on the plugin support forum.
SimplyMeBrittanyMemberThank you! That worked perfectly!
SimplyMeBrittanyMemberThanks Brad. Worked like a charm.
SimplyMeBrittanyMemberThank you, thank you, thank you! Works like a charm!!
SimplyMeBrittanyMemberI like it. It's nice and clean. Good job!
SimplyMeBrittanyMemberThanks. I'm still having a little issue with the full width headers as there is still a little space at the top and on the sides of the navigational bar. Can anyone help with this?
SimplyMeBrittanyMemberThanks! I read a lot while I was making changes I think that helped alot.
-
AuthorPosts