Tailwind compatible con oxygen
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
if (!defined('ABSPATH')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function alcastromol_setup_permalinks() {
|
||||
|
||||
global $wp_rewrite;
|
||||
|
||||
$structure = '/%postname%';
|
||||
|
||||
update_option('permalink_structure', $structure);
|
||||
|
||||
$wp_rewrite->set_permalink_structure($structure);
|
||||
|
||||
$wp_rewrite->use_trailing_slashes = false;
|
||||
|
||||
flush_rewrite_rules();
|
||||
}
|
||||
Reference in New Issue
Block a user