Changeset 775946
- Timestamp:
- 09/20/2013 10:46:16 AM (12 years ago)
- Location:
- slimjetpack/trunk/modules
- Files:
-
- 2 added
- 1 deleted
- 1 edited
-
random-redirect (added)
-
random-redirect.php (deleted)
-
random-redirect/random-redirect.php (added)
-
theme-tools.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
slimjetpack/trunk/modules/theme-tools.php
r775938 r775946 62 62 require_once( dirname( __FILE__ ) . '/custom-post-types/testimonial.php' ); 63 63 64 require_once( dirname( __FILE__ ) . '/random-redirect.php' ); 64 function load_random_redirect() { 65 // Fix the no valid header issue for the first time activation 66 require_once( dirname( __FILE__ ) . '/random-redirect/random-redirect.php' ); 67 } 68 add_action( 'setup_theme', 'load_random_redirect' );
Note: See TracChangeset
for help on using the changeset viewer.