new block promo agg
This commit is contained in:
@@ -69,6 +69,18 @@ add_action( 'phpmailer_init', 'vij_send_smtp_email' );
|
||||
|
||||
db_config(DB_NAME, 'mysql:host='.DB_HOST.';dbname='.DB_NAME, DB_USER, DB_PASSWORD);
|
||||
|
||||
|
||||
#function wpb_change_search_url() {
|
||||
# if ( is_search() && ! empty( $_GET['s'] ) ) {
|
||||
# wp_redirect( home_url( "/search/" ) . urlencode( get_query_var( 's' ) ) );
|
||||
# exit();
|
||||
# }
|
||||
#}
|
||||
#add_action( 'template_redirect', 'wpb_change_search_url' );
|
||||
|
||||
|
||||
|
||||
|
||||
# регистрируем меню
|
||||
register_nav_menus(array(
|
||||
'top' => 'Верхнее меню',
|
||||
|
||||
Reference in New Issue
Block a user