Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_action( 'init', function() {
- global $wp_rewrite;
- $wp_rewrite->set_permalink_structure(
- // you have to know the permalink rules on WordPress
- '/%year%/%monthnum%/%postname%/'
- );
- } );
Add Comment
Please, Sign In to add comment