![]() |
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
So... I wanted to add a What's Next post footer, so that my post footer would display both some social media tags along with the Related Posts... I've uninstalled Simple Tags, Post Footer, and Sociable... and tried to make these modifications here: How to Create a Social Bookmark Post Footer on WordPress & Blogger | eBlog Templates
Of course it turned into a total SNAFU because I had WP Super Cache on at the time and then once I figured that out I couldn't get anything beyond some text links for What's Next to display - total disaster ! ![]() What I would love some help in figuring out is why aren't the icons for the What's Next links showing up? The Best FREE Resource On All Things Carbon — Carbon Offsets Daily Also... I want to add back the share feature from sociable and will try that now I think... and maybe Simple Tags too... but really this has been quite a night!! ![]() any help very much appreciated ![]() |
|
|||
|
so now that WP Super Cache and Simple Tags are off... Sociable is back on, as is Post Footer...
now i can't seem to figure out where to place this below code in the single.php file. everytime I add it in, it must be in the wrong place because it kills my side bars and dumps them below everything else... amazing... any ideas? <ul class='actions'> <h3>What's Next?</h3><li><a class="digg" href="http://digg.com/submit?phase=2&url=<?php echo get_permalink() ?>&title=<?php the_title(); ?>” target=’_blank’>Digg it</a></li> <li><a class=”stumble” href=”http://www.stumbleupon.com/submit?url=<?php echo get_permalink() ?>&title=<?php the_title(); ?>” target=’_blank’>Stumble it</a></li> <li><a class=”delicious” href=”http://del.icio.us/post?url=<?php echo get_permalink() ?>&title=<?php the_title(); ?>” target=’_blank’> Save This Page</a></li> <li><a class=”comment” href=”<?php echo get_permalink() ?>#leave-comment”>Leave a comment</a></li> <li><a class=”subscribemini” href=”http://feeds.feedburner.com/YOUR-FEED-URL-HERE“>Subscribe to My Blog</a></li></ul> |
|
|||
|
Adding that to your single.php, you'll probably want to do so either just before or just after this bit:
Code:
</div> <?php thesis_show_post_tags(); ?> Regarding the code you posted, you might want to move the <h3>What's Next?</h3> bit before the <ul class='actions'> It'd be a bit cleaner that way, in my opinion.
__________________
Rick Beckman, Kingdom Geek & Thesis Support Ninja (Forums Moderator) [ Thesis Manual | Help, my posts don't show up! ] Amazon Wishlist | My custom.css Get Thesis! | Earn Cash as a DIY Affiliate! |
|
|||
|
Well as always your help is great!
I'm getting closer but still having some issues... I've pasted the code above the </div> tag but right now there are a few issues: 1) Instead of beautiful images for each action I am getting bullets... take a look here: http://www.carbonoffsetsdaily.com/ca...st-18-1056.htm 2) I am trying to get my post footers to work the same as ProBlogger, where the What's Next appears on the left and to the right in the same row the Related Articles would appear, see how they have it here: http://www.problogger.net/archives/2...ls-do-you-use/ 3) The LEAVE A COMMENT is not working for some reason.. 4) What's wrong with <h3> tags? you mentioned it would be best to get rid of them.. Right now in the style.css, below the other code in the /*---:[ global elements ]:---*/ section, I have added the following: /*---:[ Whats Next ]:---*/ ul.actions { float:left;margin:0pt;text-align:left;width:100%; } a.digg {background:transparent url(images/digg.gif) no-repeat scroll 0pt;padding-left:20px;} a.stumble {background:transparent url(images/su.png) no-repeat scroll 0pt;padding-left:20px;} a.delicious {background:transparent url(images/delicious.gif) no-repeat scroll 0pt;padding:2px 0pt 2px 20px;} a.subscribemini {background:transparent url(images/rss.png) no-repeat scroll 0pt;padding-left:20px;} a.comment {background:transparent url(images/comment.gif) no-repeat scroll 0pt;padding-left:20px;} |
|
|||
|
*) I didn't mean for you to remove the H3 tags; I meant to move the "<h3>What's Next?</h3>" to *before* the opening of the what's next list.
*) The images aren't showing up because the images are not in thesis/images/. Adjust the paths to the images in the stylesheet to point to wherever the images are actually stored. *) The "Leave a Comment" link does not work because it is pointing to an anchor named "leave-comment." No such anchor exists in Thesis; the anchor you want is "respond." *) In order to make the related posts float to the right, wrap the entire related articles code in a floated DIV: <div style="float: right; width: 50%">related comments code</div> May take some fine-tuning to look right, but that is the basic idea, I think.
__________________
Rick Beckman, Kingdom Geek & Thesis Support Ninja (Forums Moderator) [ Thesis Manual | Help, my posts don't show up! ] Amazon Wishlist | My custom.css Get Thesis! | Earn Cash as a DIY Affiliate! |
|
|||
|
thanks for all your help kingdomgeek, you're really invaluable..
so the images has been fixed, so too with the comments link and h3.. looking much better ![]() i would love to implement moving the related articles to the right of the what's next but can't find the code for the related articles... i'm using the add post footer plugin and i'm wondering if i should be making mods in that code? thanks!! |
|
|||
|
Does the post footer plugin output the related posts content or is there another plugin you are using?
Most such plugins have a snippet of code that can be added to single.php, at which point it would be much easier to customize the style thereof.
__________________
Rick Beckman, Kingdom Geek & Thesis Support Ninja (Forums Moderator) [ Thesis Manual | Help, my posts don't show up! ] Amazon Wishlist | My custom.css Get Thesis! | Earn Cash as a DIY Affiliate! |
|
|||
|
Ok... I am using Add Post Footer plugin, I think that is creating the Related Post content that displays on the individual posts.. but I can't find any code in the single.php that has to do with the Related Posts and the files for the Add Post Footer plugin don't give me many clues...
I was wondering, does anyone have any suggestions for their favorite Related Posts plugin? As I mentioned, I'm trying to figure out how to get my post footers to include both a What's Next section and a Related Posts section like ProBlogger What Blog Tools Do you Use?.... Any thoughts would be appreciated! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|