HostGator - The BEST Web Hosting comapny on the net. Great packages at LOW prices.

Thesis Tutorial – Add Extra Menu Links under Teaser Posts

by George Serradinho on November 25, 2009



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 Tutorial - Teaser Posts Menu Links

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
Example of Menu Links

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 (160) 1.32 KB

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.

Submit post to StumbleUpon Submit post to Twitter Submit post to Delicious Submit post to Digg Submit post to Reddit Submit post to Technorati Submit post to Facebook Submit to Shoutmeme.com

Other Interesting Posts:

WordPress & Thesis Customizations

This webiste is using Thesis theme & WordPress. I can create you a similar website or update yours.

View my services or portfolio for more details.

Author Information

Article by George Serradinho

I am the proud owner of Serradinho and have made this my second home. I'm into blogging, downloads, WordPress and the internet in general. I also love meeting and helping others and learning new techniques.

{ 4 trackbacks }

Weekly Link Love Party-Blogging Tips,Wordpress Theme,Blogengage | TechGenuine
November 30, 2009 at 2:32 pm
Friday Link Love #2 | All Tips for Bloggers
December 4, 2009 at 4:11 pm
250+ Thesis Theme Resources | Sahil Kotak dot Com
December 8, 2009 at 9:34 pm
Thủ Thuật Thesis: Thêm Menu Đẹp Dưới Mỗi Bài Viết | Blog Kiếm Tiền
December 17, 2009 at 11:28 am

{ 38 comments… read them below or Leave your opinion! }

1 Surender Sharma November 25, 2009 at 8:08 am

Follow on Twitter Follow @Technogati on Twitter.



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 My ComLuv Profile

Reply

2 George Serradinho November 25, 2009 at 8:22 am

Follow on Twitter Follow @gfserradinho on Twitter.



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

Reply

3 Extreme John November 25, 2009 at 4:34 pm

Follow on Twitter Follow @extremejohn on Twitter.



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 My ComLuv Profile

Reply

4 Tinh November 26, 2009 at 4:48 am

Follow on Twitter Follow @eblogtip on Twitter.



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 My ComLuv Profile

Reply

5 steppinout November 26, 2009 at 7:30 am

Follow on Twitter Follow @steppinoutblog on Twitter.



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 My ComLuv Profile

Reply

6 George Serradinho November 26, 2009 at 11:13 am

Follow on Twitter Follow @gfserradinho on Twitter.



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

Reply

7 Compute Live November 26, 2009 at 8:44 am

Follow on Twitter Follow @computelive on Twitter.



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

Reply

8 Tinh November 27, 2009 at 6:12 am

Follow on Twitter Follow @eblogtip on Twitter.



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 My ComLuv Profile

Reply

9 George Serradinho November 27, 2009 at 7:15 am

Follow on Twitter Follow @gfserradinho on Twitter.



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

Reply

10 Tinh November 30, 2009 at 7:59 am

Follow on Twitter Follow @eblogtip on Twitter.



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 My ComLuv Profile

Reply

11 George Serradinho November 30, 2009 at 4:36 pm

Follow on Twitter Follow @gfserradinho on Twitter.



@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

Reply

12 Minh December 1, 2009 at 3:52 am

Follow on Twitter Follow @ngoanhminh on Twitter.



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 My ComLuv Profile

Reply

13 George Serradinho December 1, 2009 at 7:12 am

Follow on Twitter Follow @gfserradinho on Twitter.



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

Reply

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

Follow on Twitter Follow @myblog2day on Twitter.



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 My ComLuv Profile

Reply

15 George Serradinho November 29, 2009 at 9:05 pm

Follow on Twitter Follow @gfserradinho on Twitter.



@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.

Reply

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

Follow on Twitter Follow @myblog2day on Twitter.



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 My ComLuv Profile

Reply

17 George Serradinho December 4, 2009 at 7:15 am

Follow on Twitter Follow @gfserradinho on Twitter.



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

Reply

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

Follow on Twitter Follow @myblog2day on Twitter.



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! :)

Reply

19 George Serradinho December 4, 2009 at 7:35 am

Follow on Twitter Follow @gfserradinho on Twitter.



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

Reply

20 Vaibhav November 29, 2009 at 6:45 am

Follow on Twitter Follow @vaibhavkanwal on Twitter.



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? My ComLuv Profile

Reply

21 George Serradinho November 29, 2009 at 9:03 pm

Follow on Twitter Follow @gfserradinho on Twitter.



@Vaibhav – glad you liked it ;)

Reply

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

Follow on Twitter Follow @killthebillion on Twitter.



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 My ComLuv Profile

Reply

23 George Serradinho December 1, 2009 at 11:55 am

Follow on Twitter Follow @gfserradinho on Twitter.



@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.

Reply

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

Follow on Twitter Follow @killthebillion on Twitter.



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

Reply

25 Shubham December 10, 2009 at 3:10 pm

Follow on Twitter Follow @shubhamblog on Twitter.



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..!!

Reply

26 George Serradinho December 10, 2009 at 5:21 pm

Follow on Twitter Follow @gfserradinho on Twitter.



@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.

Reply

27 Shubham December 10, 2009 at 8:26 pm

Follow on Twitter Follow @shubhamblog on Twitter.



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..!!

Reply

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

Follow on Twitter Follow @rajkanuri on Twitter.



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

Reply

29 Inglid December 24, 2009 at 1:58 pm

Follow on Twitter Follow @guiadoemprego on Twitter.



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 My ComLuv Profile

Reply

30 George Serradinho December 26, 2009 at 5:14 pm

Follow on Twitter Follow @gfserradinho on Twitter.



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

Reply

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

Follow on Twitter Follow @w3devil on Twitter.



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! My ComLuv Profile

Reply

32 George Serradinho January 25, 2010 at 7:12 am

Follow on Twitter Follow @gfserradinho on Twitter.



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

Reply

33 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..

Reply

34 George Serradinho March 12, 2010 at 11:26 am

Follow on Twitter Follow @gfserradinho on Twitter.



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.

Reply

35 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…

Reply

36 George Serradinho March 12, 2010 at 1:21 pm

Follow on Twitter Follow @gfserradinho on Twitter.



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

Reply

37 George Serradinho March 12, 2010 at 2:16 pm

Follow on Twitter Follow @gfserradinho on Twitter.



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.

Reply

38 Taksali March 12, 2010 at 2:58 pm

Thanks alot Serradinho….

Reply

Leave your Opinion

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv Enabled

Previous post:

Next post: