Thesis Tutorial – Add Extra Menu Links under Teaser Posts

BlakeConsultants - The Leading Experts in Biometric Access Control and Time & Attendance

So, many have seen on my homepage that I have a few links under my teaser posts. This short tutorial is for thesis theme, but this can be adjusted for other WordPress themes.

Many have emailed me asking how I created the links and if I would share it, I thought why not. I have nothing to hide and have already helped 3 other bloggers do the same on their thesis theme. I have tried my best to explain in detail, please ask questions if you need help or assistance.

thesis teaser posts menu links Thesis Tutorial – Add Extra Menu Links under Teaser Posts

Thesis Tutorial - Teaser Posts Menu Links

This tutorial is for thesis teaser posts, although you can adapt this for feature posts as well. You will just have to use a different hook, you can use the same function to display the menu links.

Please backup your custom files incase you have to revert back to original files.

1. Excerpt length of Teaser Posts

The excerpt length of your teaser posts can be set differently.  The function sets the excerpt length to “75″,  you might have to increase this to a higher number. It all depends on the size of your images you have uploaded for ‘Thumbnail Image’. The two filters are “excerpt_length” and “the_excerpt”. You can get the download files below from the link.

Changing the excerpt length is very simple and easy enough. Once you have added the function to your functions file, you should be able to see the difference on your homepage.

2. Teaser Menu Links

Add a function and some css styling and yo can add extra menu links below your teaser posts and it’s so easy to do. You can of course change the links to something else or add other links, but at least you will have the basic layout to start off with.

The current menu links are:

  • Number of comments
  • Add your Comment
  • Continue Reading
 Thesis Tutorial – Add Extra Menu Links under Teaser Posts

Example of Menu Links

This function will display the menu links on your thesis homepage, category and search pages and uses the “thesis_hook_after_teaser” hook. You can have it displayed on other pages just by editing the if statement in the function. You can style the menu links as you wish and make them blend in with your blog or make it stand out, the choice is yours.

I have created a text file with all the code for the the functions and css styling. I have done this as to ensure that the code is not messed up in any way.

Download:

Thesis Tutorial - Menu Links under Teaser Posts

The download was made available on 22 November 2009 and is in zip format. The file size is 1.29 KB and has currently been downloaded 376 times.

I hope this has answered some of your questions regarding my thesis hack and I’m waiting for more questions to come. I did enjoy sharing this little hack and I hope you enjoyed it too, let me know.

Final Thought

I hope you enjoyed this Thesis Tutorial and that you check out some of my others. There might be something that you can implement on your blog. Let me know what you think of this little hack, all comments welcomed and appreciated.

P.S. I added the download file as I see that the syntax plugin changes the code when I edit the post. This creates a problem whereby I have to edit the functions again and this is very time consuming.

  • Twitter
  • Digg
  • Delicious
  • Submit post to StumbleUpon
  • Submit post to Facebook
  • Submit post to LinkedIn
From the desk of George Serradinho

I am the proud owner of Serradinho Blog and have made this my second home. I'm into blogging, downloads, WordPress, meeting and helping others, etc. Basically the internet in general :) Serradinho Web Services is my own company whereby I offer my services to clients. This ranges from web design, website upgrades, theme customizations, support, premium WordPress plugins and many more .....

View all posts by , there might be other posts that interest you.

{ 46 comments }

Surender Sharma November 25, 2009 at 8:08 am

Hi George,
Thanks for developing this really awesome thesis hook (menu) which is more important for thesis users.
I have integrated on my blog and looks really pretty under the post excerpt.
.-= Surender Sharma´s last blog ..7 Ways To Get More Comments On Your Blog =-.

George Serradinho November 25, 2009 at 8:22 am

@Surender – glad to be of help. I have seen a few sites implement my little hack and it does look awesome.

Extreme John November 25, 2009 at 4:34 pm

Very nice George I have been waiting for you to post some more Thesis tips and tricks.
.-= Extreme John´s last blog ..3 Easy Ways to Customize Thesis with Images =-.

Tinh November 26, 2009 at 4:48 am

Excellent! That is what I am wondering and tanks for sharing this to me. Just RT for my friends who are interested in this
.-= Tinh´s last blog ..Blog Subscription Now Available for WordPress.com =-.

steppinout November 26, 2009 at 7:30 am

I’ve been wondering about this before George. Thanks for making it possible.
.-= steppinout´s last blog ..Microsoft Live Labs Pivot Offer An Attractive Internet Browser =-.

George Serradinho November 26, 2009 at 11:13 am

@steppinout – well, now you know. It was easy hey?

Compute Live November 26, 2009 at 8:44 am

You made it very much simple…Thanks
.-= Compute Live´s last blog ..Left 4 Dead 2 360 Server Lag Fixed =-.

Tinh November 27, 2009 at 6:12 am

I do not know where the mistakes I made but i follow the guides but failed. Is there anything in Thesis Options or Design Options that I need to tweak in this tips. I keep my blog as all excerpts on the homepage. Thanks
.-= Tinh´s last blog ..Black Friday Hosting Discount Save 75% for Both New and Existing Clients =-.

George Serradinho November 27, 2009 at 7:15 am

@Tinh – what exactly is the problem? It’s for me to understand when you say it failed. Remember, this is for teasers.

Tinh November 30, 2009 at 7:59 am

Yes, it pasted all think as guided in the txt file but it does not work at all, I know it is for teasers. I pasted, clear cache but it is still default
.-= Tinh´s last blog ..Download Free Microsoft Office 2010 Beta Software =-.

George Serradinho November 30, 2009 at 4:36 pm

@Tinh – if you don’t mind, contact me and give me access and I will have a look for you. It’s your choice.

Update: Just checked and your posts are showing them in the feature_box which means they are not teasers. Have a look at your source code

Minh December 1, 2009 at 3:52 am

Many thanks for nice tips :) I got into trouble like Tinh, though i copied as Txt file but Menu Links dont appear. Please help me fix it.

Please check inbox, i have just give you access. Thanks :D
.-= Minh´s last blog ..Cùng bảo vệ môi trường với Plugin Online Leaf =-.

George Serradinho December 1, 2009 at 7:12 am

@Minh – I will have a look at let you know.

Lee Ka Hoong November 29, 2009 at 5:59 am

Serradinho, I’ve just emailed you and told you about the problem I faced. Thanks in advance! :)
.-= Lee Ka Hoong´s last blog ..10 Ways How I Drive Significant Traffic To My Blog =-.

George Serradinho November 29, 2009 at 9:05 pm

@Lee Ka Hoong – I have done this on other sites and it works. I can see it working on other blogs as well. Have a look and make sure you have copied the PHP and CSS and that your home page is set to show teasers.

Lee Ka Hoong December 3, 2009 at 5:07 pm

You told me about the problem and I’ve done it last week. I’ve just deleted the download file last week, and I realized that the download link is the tutorial for twitterlink plugin, can you have a look on the download link? :)
.-= Lee Ka Hoong´s last blog ..How To Create Box For Sidebar Element – Thesis Tutorials =-.

George Serradinho December 4, 2009 at 7:15 am

@Lee Ka Hoong – man, I’m making to many mistakes now. I have fixed it up, sorry for that.

Lee Ka Hoong December 4, 2009 at 2:02 am

Bro, I’ve just sent you an email and tell you the problem I faced after following the tutorial.

I’ve gotten the folder in my recycle bin, but please check on the download link, it points to wrong direction.

Awaiting for your reply..thanks! :)

George Serradinho December 4, 2009 at 7:35 am

@Lee Ka Hoong – I have corrected it and should be right now.

Vaibhav November 29, 2009 at 6:45 am

Thanks for the simple idea! It looks very elegant and is a great help in navigation too.
.-= Vaibhav´s last blog ..What do you feel about Google’s New Interface? =-.

George Serradinho November 29, 2009 at 9:03 pm

@Vaibhav – glad you liked it ;)

Ankit @ All About India Blog December 1, 2009 at 11:46 am

I was very sure that you are going to post this sooner or later.. I asked harsh about this and as he is traveling so he could not tell me about this..
trying this on my blg now..Hope this will work ..
.-= Ankit @ All About India Blog´s last blog ..Indian players dominate CEAT Cricket Awards 2009 =-.

George Serradinho December 1, 2009 at 11:55 am

@Ankit – I gave the exact same details to Harsh as he asked me how i did it. It’s very easy to implement, let me know if you don’t come right.

Ankit @ All About India Blog December 1, 2009 at 12:32 pm

Just added successfully :D
.-= Ankit @ All About India Blog´s last blog ..Indian players dominate CEAT Cricket Awards 2009 =-.

Shubham December 10, 2009 at 3:10 pm

cool thing dude..!!…loved that…!!..i found this after a long time….but no use for me now as i created one for my own..!..Thanks anyway for sharing this..!!

George Serradinho December 10, 2009 at 5:21 pm

@Shubham – I checked your site and you only have the number of comments. Maybe check my tutorial out and create your own links from there.

Shubham December 10, 2009 at 8:26 pm

Actually i am not showing the teasers..!!…I am using the read more tag..!..So first i have to change my settings to teasers..!..Well thanks Serradinho for the tutorial..!!..I personally loved that idea of adding them..!!..
I would definitely do that..!!

Rajesh Kanuri @ TechCats December 12, 2009 at 8:42 pm

thanks for the code.. your are my thesis GURU.. :)
.-= Rajesh Kanuri @ TechCats´s last blog ..Best Handpicked WordPress Blog Themes For This Christmas Season =-.

Inglid December 24, 2009 at 1:58 pm

Hello George, I made the change but in my index was the word “Read the full article →” under the images. How do I remove it?

Success for you
.-= Inglid´s last blog ..URGENTE: VAGAS ABERTAS EM SÃO PAULO =-.

George Serradinho December 26, 2009 at 5:14 pm

@Inglid – this needs to be changed in the admin section of Thesis.

Kranthi Kiran @ w3devil January 25, 2010 at 6:57 am

Hie George, I have followed the steps but It didn’t work for me please contact me with my email id (which I have submitted in the comment form ), Please!
.-= Kranthi Kiran @ w3devil´s last blog ..WP NoPageSearch Plugin – Don’t Search Pages, Please! =-.

George Serradinho January 25, 2010 at 7:12 am

@Kranthi – I will pop you an email and we will sort it out for you.

Taksali March 12, 2010 at 11:04 am

I am facing problem in using this…. I just pasted the code and now I can only see the text like “0 Comments Add your Comment Read More…” but no design……can u help me..

George Serradinho March 12, 2010 at 11:26 am

Taksali – it should work out of the box. Did you copy the css code as well. It is given in the download file. A screenshot would help me also better understand what the problem is.

Taksali March 12, 2010 at 1:16 pm

Here is the screenshot…

http://i42.tinypic.com/rk99ck.png

If I give you my wordpress login details. can you please help me out…

George Serradinho March 12, 2010 at 1:21 pm

@Taksali – use my contact page and send me the details and I can have a look.

George Serradinho March 12, 2010 at 2:16 pm

Taksali – you gave me access and I checked and you were not even using my full code. There was no css copied from my download link. You need to first copy the details from the download file and then you can get creative with your own styling, etc.

Taksali March 12, 2010 at 2:58 pm

Thanks alot Serradinho….

Jitendra Kumar March 29, 2010 at 11:44 pm

Hi George!
I am developing a theme based on thesis and i am using your code in it..but the problem is that the default “Read the full article →” link is till coming just below the new buttons..I have checked the thesis admin page but could not find anything relevant..could you please help?

Thanks in advance,
.-= Jitendra Kumar´s last blog ..Microsoft Office Professional Plus 2010 Beta is available for download =-.

George Serradinho March 30, 2010 at 8:04 am

@Jitendra – First you have to check that you are doing this for teasers ONLY. Then go to Thesis Design >> Teaser Display Option and make sure link to full article is not checked.

Jitendra Kumar March 30, 2010 at 10:08 am

Dear George,
Thanks a lot. Its working now… :)
.-= Jitendra Kumar´s last blog ..Microsoft Office Professional Plus 2010 Beta is available for download =-.

Paramjit April 9, 2010 at 10:41 am

Great work George. The tutorials have been very helpful. I have a question. How do you fix the location of the menu boxes. I want the menu boxes to be say 10px from the lower teaser box border? At the moment, the teaser box location seems to be relative to the text in the teaser box.
.-= Paramjit´s last blog ..Does Drinking Water Speed Up Metabolism =-.

George Serradinho April 11, 2010 at 7:57 pm

@Paramjit – I’m not sure I understand what you are asking. Could you please explain a bit more.

Mr. Anh2 April 22, 2010 at 6:57 am

Hi,
I followed your guide and all was ok except one thng. When I moved mouse on the button, the button’s color didn’t change!
Please take a look on my site http://blog.anh2.info
Thanks you so much.
.-= Mr. Anh2´s last blog ..đá =-.

George Serradinho April 22, 2010 at 3:36 pm

@Mr Anh2 – have a look at the hover styling, there is a comma before the open curly bracket. I checked and my download file has it, I will edit the file now so that it works for others.

Mr Anh2 April 22, 2010 at 4:36 pm

It works. Thank u.

Comments on this entry are closed.

{ 4 trackbacks }

Previous post:

Next post:



    

Join our Revenue Sharing Program today.

Follow George Serradinho on Twitter - username: @gfserradinho.   Connect via Facebook.   Connect via LinkedIn.   Follow George Serradinho on Google.   Connect via YouTube.   Connect via Skype.

*/ ?>