Timeline for How to display Changing post link for 24 hours in x category
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 29, 2011 at 15:58 | comment | added | Fatih Toprak | * anybody help ? | |
Jul 28, 2011 at 17:53 | comment | added | Fatih Toprak | Davis did u get my e mail.? | |
Jul 27, 2011 at 21:03 | comment | added | Fatih Toprak | Ok. Now i created a Plug-in and activated it. But it says the same thing. The plugin file is here :2shared.com/file/TAW9aZ6V/gununyemekleri.html whats wrong with that. | |
Jul 27, 2011 at 19:39 | comment | added | chrisguitarguy |
That would explain why it didn't work. You have to call wp_schedule_event one time (on plugin activation), there's not a theme activation hook to do that. Take a look at this: codex.wordpress.org/Writing_a_Plugin#File_Headers that's what I meant by /* your plugin header goes here */
|
|
Jul 27, 2011 at 19:36 | comment | added | Fatih Toprak | yes. i added all codes my themes functions.php and i added the last code to my sidebar.php. The result comes but that post link not from the choosen category it choosen from the all categories. Ps. I edited the YOUR_CATEGORY_ID_HERE line too. | |
Jul 27, 2011 at 19:31 | comment | added | chrisguitarguy | That's why I said you'd have to test it! Did you put it into a plugin file and active the plugin? | |
Jul 27, 2011 at 19:24 | comment | added | Fatih Toprak | it didnt work :S Davis. | |
Jul 27, 2011 at 18:51 | comment | added | Fatih Toprak | thank you so much Christopher Davis ;) i m gonna try it r now | |
Jul 27, 2011 at 18:50 | vote | accept | Fatih Toprak | ||
Jul 27, 2011 at 18:02 | history | answered | chrisguitarguy | CC BY-SA 3.0 |