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

Thesis Tutorial – Display Scheduled Posts

by George Serradinho on August 21, 2009



I was checking out how I would manually diplay future scheduled posts on my homepage with the Thesis theme after checking out the WordPress plugin Display Scheduled Posts and came up with the following solution.

I have nothing against the author of the plugin, but I like to keep my list of plugins installed to a minimum and this is one way to do so. I actually downloaded the plugin and checked how it was done and changed it to a function that can be called.

After some time of trying a few things, I had it working and even put it in a coloured box. You can copy the basics of the code and styling and change it where you want or need to.

This customization is for the homepage and will display after the teasers section. You could adapt this function to display on any page you desire.

Example of scheduled posts output

As you can see from the image below, the scheduled posts section will display after the teasers on the home page. This will display the title of the post as well as the date it is scheduled for.

Thesis - Scheduled Posts after Teasers

Thesis Customization - Scheduled Posts after Teasers

Your function code

All you need to do is copy the function and place it in your custom_functions.php file. You can change the heading and the paragraph wording that will appear as it displays my site details. You can also display this on category pages by adding is_category() within the first if statement.

Your CSS Styling Code

All you need to do is copy the css styling and place it in your custom.css file. You can play around with the background colour of the box, the box width and the font size.

Download: Thesis Tutorial - Display Scheduled Posts (44) 984 bytes

I have edited this post and put the CSS and PHP in a text file. Download the zipped file and get it working on your site in less than 10 minutes.

Other Thesis Customizations I’ve posted about

I have written a few posts about customizing Thesis and you could go have a look and see what you would like to do.

Or you could go visit one of my guest posts over at ThesisThemeHQ.com

This customization is not only for Thesis, but can be adapted for other themes which have a functions file.

Question and opinions

I would like to know what your opinion is about showing scheduled posts and if you would use this method ? I also wanted to use this, but I changed my mind as I did not want others to see what I was going to be publishing in the near future. I thought they might post about the same topics before mine was published.

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.

{ 3 trackbacks }

Flashback Monday - Wordpress Basics, Thesis, and Life
August 25, 2009 at 6:26 am
60 Wonderful And Helpful Thesis Theme Customization Tutorials
December 3, 2009 at 4:48 pm
250+ Thesis Theme Resources | Sahil Kotak dot Com
December 8, 2009 at 9:32 pm

{ 27 comments }

1 BlogrPro August 21, 2009 at 12:32 pm

Follow on Twitter Follow @BlogrProDotCom on Twitter.



Nowadays I am thinking why Thesis is so much popular?
BlogrPro´s last blog ..Uniqueness in Blogging! How to do? – Part 4 My ComLuv Profile

2 George Serradinho August 21, 2009 at 12:44 pm

Follow on Twitter Follow @gfserradinho on Twitter.



@BlogPro – you can do so much customizing that it’s unbelievable and it helps when the support group is so big as Thesis is.

3 Stefan August 21, 2009 at 6:25 pm

Follow on Twitter Follow @ducedo on Twitter.



I agree with George. Thesis was the first premium theme I bought and I appreciate it every day. The best thing is that everything is so worked through. It’s easy to customize and therefore great when you want to create a unique theme.
Stefan´s last blog ..AdSense Generator in French and Chinese My ComLuv Profile

4 George Serradinho August 24, 2009 at 7:32 am

Follow on Twitter Follow @gfserradinho on Twitter.



@Stefan – thanks for those words, it’s nice to know others appreciate it a lot.

5 Greg Ellison August 21, 2009 at 12:49 pm

Follow on Twitter Follow @gregee on Twitter.



That scheduled post code is a pretty good. Thanks Greg Ellison
Greg Ellison´s last blog ..Google Custom Search Engine My ComLuv Profile

6 George Serradinho August 21, 2009 at 2:45 pm

Follow on Twitter Follow @gfserradinho on Twitter.



@Greg – I got it from a plugina and then adapted it to work without the plugin.

7 Compute Live August 21, 2009 at 3:36 pm

Follow on Twitter Follow @computelive on Twitter.



Ohh..This is pretty cool..Will keep the readers interested…
Compute Live´s last blog ..Straight from Google: What You Need to Know – Matt Cutts My ComLuv Profile

8 George Serradinho August 21, 2009 at 3:47 pm

Follow on Twitter Follow @gfserradinho on Twitter.



@Compute Live – will keep them interest, but someone could steal your idea and get the information out first. It depends I guess.

9 Stefan August 21, 2009 at 6:23 pm

Follow on Twitter Follow @ducedo on Twitter.



I think some visitors might be interested in decide to check back or subscribe if they are interested to read about one of your topics. With that said I’m afraid, just like you, some people will use it to publish similar posts before you do.

I will probably never use it.
Stefan´s last blog ..AdSense Generator in French and Chinese My ComLuv Profile

10 Doug Dillard August 21, 2009 at 9:18 pm

That is definitely a cool plugin. I am going to check it out right now!

After reading all your posts on Thesis and seeing how great your blog is turning out… we are getting very close to taking the plunge and buying it so we can play around with it on our other blogs.
Doug Dillard´s last blog ..I Used to Be a Dotcom Millionaire, Well at Least On Paper! My ComLuv Profile

11 George Serradinho August 24, 2009 at 7:30 am

Follow on Twitter Follow @gfserradinho on Twitter.



@Doug – cool, let me know when you take the plunge. Would like to see what you guys come up with.

12 Extreme John August 22, 2009 at 5:33 am

Follow on Twitter Follow @extremejohn on Twitter.



I really wish I didn’t just recently have my theme redesigned, I would love to give the Thesis theme a shot it seems as if it’s loaded with features.
Extreme John´s last blog ..U Comment I Follow Blog List My ComLuv Profile

13 Liane YoungBlogger August 22, 2009 at 1:39 pm

Follow on Twitter Follow @HeyLiane on Twitter.



I have to praise you for this George. Wordpress theme modifications (Thesis especially) and plug-ins is where you best excel. Keep it up! I really think this will boost up your authority as well as your seo rankings (a lot of bloggers are searching for the stuffs you frequently post about). :)
Liane YoungBlogger´s last blog ..There’s a New Kid on the Make Money Online Block – Meet DaneBlogger Dot Com My ComLuv Profile

14 George Serradinho August 24, 2009 at 7:16 am

Follow on Twitter Follow @gfserradinho on Twitter.



@Liane – thanks for those kind words. I can honestly say that I like to play around and see how others do it.

15 Kurt Avish August 22, 2009 at 1:40 pm

Follow on Twitter Follow @kurtavish on Twitter.



I worked with Thesis for a buddy who wanted to customise it. Really at first usage even I was wondering what is so exceptional about it. But after playing with it for some time, I finally found that this baby is a real masterpiece.

Using Thesis Open Hook make things easier again. http://wordpress.org/extend/plugins/thesis-openhook/
Kurt Avish´s last blog ..5 Free Romantic Couples Games My ComLuv Profile

16 George Serradinho August 24, 2009 at 7:17 am

Follow on Twitter Follow @gfserradinho on Twitter.



@Kurt – I also have the Open Hook plugin installed, but I like to code more in the functions file.

17 TechZoomIn August 23, 2009 at 7:37 am

I have a doubt about Thesis. If i customize it to get a brand new look and can i give it for free online?

18 Blogspot to wordpress August 23, 2009 at 9:36 pm

Follow on Twitter Follow @denharsh on Twitter.



You are free to customize it the way you want..and with developer license you can use it on n no of blogs.. But I think you can’t give it or resell it …
Blogspot to wordpress´s last blog ..Deploying Java Web App : Creating war file with JDeveloper My ComLuv Profile

19 George Serradinho August 24, 2009 at 7:23 am

Follow on Twitter Follow @gfserradinho on Twitter.



@Harsh – you are correct in saying that.

20 George Serradinho August 24, 2009 at 7:23 am

Follow on Twitter Follow @gfserradinho on Twitter.



@TechZoomIn – I don’t think that is possible, it would be like stealing code and passing it on as your own. Maybe you should contact Thesis, but I doubt what you want to do is legal.

21 Blogspot to wordpress August 23, 2009 at 9:38 pm

Follow on Twitter Follow @denharsh on Twitter.



Hey Grorge
Code seems to be great and work perfectly.. But what’s the purpose of Showing it on your blog?? Any Benefit…if I think from a SEO perspective…I think it will be a bad idea to show schedule post…
Blogspot to wordpress´s last blog ..Matt Cutt Insight on Wordpress SEO : WordCamp San Francisco 2009 My ComLuv Profile

22 George Serradinho August 24, 2009 at 7:25 am

Follow on Twitter Follow @gfserradinho on Twitter.



@Harsh – you first are not showing any links to your future posts. I posted about this as there was a plugin and just wanted to show others that you could always do what they do. You could use this to show others what’s still to come.

23 Tech-Freak Stuff August 24, 2009 at 7:00 am

Follow on Twitter Follow @techfreaks on Twitter.



These has brought about a revolution in the theme industry. Many of the blogs I visit use Thesis. I am planning to buy one myself too because there is a lot to do in it.[I mean customization]
Tech-Freak Stuff´s last blog ..Symptoms of Swine Flu in Geeks [Funny] My ComLuv Profile

24 George Serradinho August 24, 2009 at 7:29 am

Follow on Twitter Follow @gfserradinho on Twitter.



@Tech-Freak Stuff – well, the choice is yours. You can customize it a lot and it depends on your expertise I guess.

25 Nash October 7, 2009 at 3:56 pm

This is one really really cool function you’ve written Serra…I’m definitely going to be using it…after reworking the css a bit… :-)

26 George Serradinho October 8, 2009 at 6:51 am

Follow on Twitter Follow @gfserradinho on Twitter.



@Nash – I can’t believe you wrote Serra? Some of my friends call me that, a short version of my surname.

27 Nash October 10, 2009 at 9:32 am

hey sorry if that came across as a bit too personal… :-) I guess I was just carried away with the coolness of the function you wrote…

Comments on this entry are closed.

Previous post:

Next post: