shabarshin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Missing argument error messageThank you!!!) I only create other pages on Tilda (just like that eva.academy/course/intensiv-dlya-analitikov-i-startapov/ and dont change page /courses(((( And I dont know what to do because Im not a programer. But I find the template courses.php and dont find any mistakes in this code:
<?php
/* Template Name: courses */
?><?php get_header(); ?>
<script type=”text/javascript”>
var ajaxurl = ‘<?php echo admin_url(‘admin-ajax.php’); ?>’;
</script><div class=”super product”>
<h1 class=”title-product-cn” ><?php the_field(‘po_title’); ?></h1>
<div class=”sub-nav”>
<?php dynamic_sidebar( ‘sub-nav’ ); ?>
</div>
<?php$labels = get_terms( array(
‘taxonomy’ => ‘profession’,
‘hide_empty’ => false)
);$eot_c .= ‘<div class=”sub-cat-nav profession”><div class=”item-scn”>Все</div>‘;
foreach($labels as $label){
$eot_c .= ‘slug.'”><div class=”item-scn”>’.$label->name.'</div>‘;
}
echo $eot_c .= ‘</div>’;$cities = get_terms( array(
‘taxonomy’ => ‘course_city’,
‘hide_empty’ => false)
);echo ‘<div class=”sub-cat-nav course_format”>’;
echo ‘<span>Город: <select class=”course_city”><option value=””>Все</option>’;
foreach($cities as $city){
echo ‘<option value=’.$city->slug.’>’.$city->name.'</option>’;
}
echo ‘</select></span><div class=”vline”></div>’;$formats = get_terms( array(
‘taxonomy’ => ‘course_format’,
‘hide_empty’ => false)
);
$eot_f = ”;
foreach($formats as $format){
$eot_f .= ‘slug.'”><div class=”item-scn”>’.$format->name.'</div>‘;
}
echo $eot_f .= ‘<div class=”item-scn”>Все</div></div>’;?>
<div class=”tab-cn”>
<div class=”all-rasp tab-item”>
<?php
echo query_rasp();?>
</div>
</div>
</div><?php get_footer(); ?>
Forum: Fixing WordPress
In reply to: Missing argument error messageThank you so much! But its not a WP default theme and the programmer who did it now is not available. But the most interesting is that such a bug was not until the moment while I did something with Tilda.cc on other pages of the site(