<?php
get_header();
?>
<div class="newscontent">
<h1><?php the_title(); ?></h1>
<div><?php the_content(); ?></div>
</div>
<div class="link">
<?php next_post_link('<strong>%link</strong>'); ?>
</div>
<?php
get_footer();
?>
add_filter( 'wpcf7_form_elements', 'imp_wpcf7_form_elements' );
function imp_wpcf7_form_elements( $content ) {
$str_pos = strpos( $content, 'name="checkbox-617"' );
if ( $str_pos !== false ) {
$content = substr_replace( $content, ' checkedname="calc_type_2" ', $str_pos, 0 );
}
return $content;
}
while ( $query->have_posts() ) {
$query->the_post();?>
RewriteEngine On
Redirect / https://inox-fitting.ru/
RewriteCond %{REQUEST_URI} (.*)
RewriteRule ^(.*)$ https://inox-fitting.ru/$1 [L,R=301]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(?:www\.)techno-eng\.ru$ [NC]
RewriteRule ^ https://inox-fitting.ru%{REQUEST_URI} [L,R=301]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(?:www\.)techno-eng\.ru$ [NC]
RewriteRule ^ https://inox-fitting.ru%{REQUEST_URI} [L,R=301]
пробую ставить
не работает