DIY Themes Forums  

Go Back   DIY Themes Forums > Thesis Theme > Thesis Customization Tips
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-18-2008, 08:27 AM
Member
 
Join Date: Jul 2008
Posts: 38
Default Help! Trying to Create a “What’s Next” Post Footer Section

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
Reply With Quote
  #2 (permalink)  
Old 08-18-2008, 08:59 AM
Member
 
Join Date: Jul 2008
Posts: 38
Default impossible to get this to work... :(

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>
Reply With Quote
  #3 (permalink)  
Old 08-18-2008, 11:19 PM
Senior Member
 
Join Date: Jul 2008
Location: Connersville, IN
Posts: 2,244
Send a message via ICQ to kingdomgeek Send a message via AIM to kingdomgeek Send a message via MSN to kingdomgeek Send a message via Yahoo to kingdomgeek
Default

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(); ?>
Before will make the content seem a bit more a part of the post; after will make the content appear after any tags you've applied to the post, if Thesis is set to display them.

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!
Reply With Quote
  #4 (permalink)  
Old 08-19-2008, 06:04 AM
Member
 
Join Date: Jul 2008
Posts: 38
Default getting closer :)

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;}
Reply With Quote
  #5 (permalink)  
Old 08-20-2008, 12:05 AM
Senior Member
 
Join Date: Jul 2008
Location: Connersville, IN
Posts: 2,244
Send a message via ICQ to kingdomgeek Send a message via AIM to kingdomgeek Send a message via MSN to kingdomgeek Send a message via Yahoo to kingdomgeek
Default

*) 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!
Reply With Quote
  #6 (permalink)  
Old 08-20-2008, 04:27 AM
Member
 
Join Date: Jul 2008
Posts: 38
Default images working - now wondering about related posts

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!!
Reply With Quote
  #7 (permalink)  
Old 08-20-2008, 04:31 AM
Member
 
Join Date: Jul 2008
Posts: 38
Default maybe there is a better way to do related posts..?

than using the add post footer plugin...? can i add some code to single.php that does the trick?
Reply With Quote
  #8 (permalink)  
Old 08-20-2008, 11:40 PM
Senior Member
 
Join Date: Jul 2008
Location: Connersville, IN
Posts: 2,244
Send a message via ICQ to kingdomgeek Send a message via AIM to kingdomgeek Send a message via MSN to kingdomgeek Send a message via Yahoo to kingdomgeek
Default

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!
Reply With Quote
  #9 (permalink)  
Old 08-21-2008, 07:40 AM
Member
 
Join Date: Jul 2008
Posts: 38
Default Need good Related Posts plugin or code... any one have suggest?

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!
Reply With Quote
  #10 (permalink)  
Old 10-16-2008, 09:02 PM
Junior Member
 
Join Date: Sep 2008
Posts: 13
Default

i would also like to know how to do a footer like what carbonoffsetsdaily is talking about..

one "Whats next" on the left, and "related posts" on the right... it looks so simple and easy on the eye. Anyone can help?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:54 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0