Krishna Kant Sharma

A freelance web developer

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Testimonials
  • Portfolio
  • Services
  • About Me
  • Contact
Twitter RSS Feed

Activation/Deactivation hook for wordpress theme

January 18, 2011 | By Krishna | @kksharma1618

UPDATE (3 August 2012): In version 3.3.0 wordpress core provided direct activation/deactivation hook for themes (see the new usage below). (thanks to jacobsnyder for telling me about it) NOTE: The old approach will still work, so you don’t need to change your existing code if you were using the old approach. Activation hook: Code: <?php…

Read More

Posted in Wordpress Tips | 29 Replies

Stay in touch

Linked In Facebook Twitter Google Plus RSS

Subscribe to my mailing list.

Subscribe to my mailing list and I will send you a notification email whenever I post something cool. I don't send spam!

Recent Posts

  • Diving deeper into the wordpress admin – The Admin Toolbar
  • Single Image Uploader for your theme/plugin options page
  • Image uploads on wordpress admin screens using jQuery and new Plupload
  • Activation/Deactivation hook for wordpress theme

Archives

  • August 2012
  • July 2012
  • January 2012
  • January 2011
  • Home
  • Testimonials
  • Portfolio
  • Services
  • About Me
  • Contact
© 2013 Krishna Kant Sharma