TWCL Forum Index TWCL
Forums for The Webcomic List
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Calendar Images

 
Post new topic   Reply to topic    TWCL Forum Index -> Webcomic Gubbins
View previous topic :: View next topic  
Author Message
sandy__



Joined: 14 Apr 2009
Posts: 90
Location: Canada

PostPosted: Fri Oct 26, 2012 6:05 pm    Post subject: Calendar Images Reply with quote

Hey all,
Does anybody know of/use a wordpress calendar plugin that will automatically change the calendar image at the beginning of every month? I thought the default calendar had that, but I can't seem to find where to set that up... any help much appreciated!
_________________
http://www.crowbarbenson.com/
Back to top
View user's profile Send private message Visit poster's website
Zoe Robinson
Resident Diet Lawyer


Joined: 02 Jul 2007
Posts: 1867
Location: Manchester, UK

PostPosted: Wed Oct 31, 2012 11:04 pm    Post subject: Reply with quote

I don't have a plugin to recommend but you could do this yourself by editing your current calendar plugin to use a month-specific image in place of whatever image code it's using at the moment. For example:

$calimg = "http://www.yourwebsiteurl.com/images/".date('F').".png";
<img src=$calimg>

Would that code work as printed there? I don't know. You may need to 'echo' the <img> code. I can't remember off the top of my head because it's been a while since I coded anything for a WordPress site.
_________________

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    TWCL Forum Index -> Webcomic Gubbins All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Hosted by Fluent
The Webcomics List is operated and owned by Ash Young. Syndicate the comic updates.