Reply
Changing post layouts - Wordpress
Old 07-02-2009, 01:31 PM Changing post layouts - Wordpress
Skilled Talker

Posts: 67
Trades: 0
I am not sure if this the correct forum for this. However I am looking to sort out a Wordpress dilemma I am having. Every 7 posts that I make in wordpress, on the seventh post I want to add an extra bit of code to the end of the post. Is there a plugin that anyone knows of that does this.

Thanks
__________________
Free Flash designs and tutorials at XuroqFlash.com
Wordpress themes, help and tutorials at SomeWordpress.com
xuroq is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 07-02-2009, 04:58 PM Re: Changing post layouts - Wordpress
NullPointer's Avatar
Will Code for Food

Latest Blog Post:
Easy PHP Search with Opera
Posts: 1,066
Name: Matt
Location: Irvine, CA
Trades: 0
You'd probably need a custom plugin for this, but it would be fairly simple to code. All you would need is to hook into the publish_post action, check if it is the 7th post (you can use an option to keep count), and if it is, either append the code to the end of the post, or use a filter to add the code dynamically.
__________________
Tinsology | How to Post Code | EverythingDev
NullPointer is online now
Reply With Quote
View Public Profile
 
Reply     « Reply to Changing post layouts - Wordpress
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.10364 seconds with 13 queries