Making a plugin work sometimes
-
I have a “friendly post times” type of plugin that I wrote. It hooks on the the_time(). However, I’d like it to only work on the main page and not individual posts. Is there a way to make it work only sometimes?
I could do it if i was able to pass in another variable with the_time(). Is there a way to do that?
Thanks again.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Making a plugin work sometimes’ is closed to new replies.