OniX777
Forum Replies Created
-
Forum: Plugins
In reply to: [Search Analytics for WP] Invalid quantity Average no. of resultsWorks great now! Thank you very much!
Forum: Plugins
In reply to: [Search Analytics for WP] Invalid quantity Average no. of resultsI use custom code to search by custom fields. Apparently you need to somehow pass the postfound value to your variable.
<?php
if (0==0){
?>
<p><strong>CВЕДЕНИЯ О ТРАНСПОРТНОМ СРЕДСТВЕ:</strong></p>
<form action="/searchdtp/" method="get" id="searchdtp">
<p><input required type="text" name="vin" value="" placeholder="VIN или Номер кузова"></p>
<p>
<input id="zapvin" type="submit" class="button" value="Запросить" onclick="ym(24241753,'reachGoal','zapvin'); return true;" />
</p>
</form>
<?php
$postfound=0;
for ($x=1; $x<5; $x++) {
$args = array('post_type' => 'post',
'category_name' => 'avarii',
'meta_query' => array(
array(
'key' => 'avto'.$x.'_vin',
'value' => $_GET['vin'],
),
),
);
query_posts( $args ); ?>
<?php admired_content_nav( 'nav-above' ); ?>
??????
<?php
$err=$_SERVER['REQUEST_URI'];
$err = substr($err, -1);
$wp_query->max_num_pages=1;
while (have_posts() and $err!='/') : the_post(); $postfound=1;?>
<?php get_template_part( 'loop', get_post_format() ); ?>
<?php endwhile; // end of the loop. ?>
<?php /* Display navigation when applicable */ ?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<?php /* add page navigation to indexes */ ?>
<?php if (function_exists("admired_pagination")) {
admired_pagination($wp_query->max_num_pages);
}
endif; ?>
<?php
}
?> <!-- endfor-->
$err=$_SERVER['REQUEST_URI'];
$err = substr($err, -1);
if ( $postfound != 1 and $err!='/') : ?>?
<article id="post-0" class="post no-results not-found">
<div class="entry-content">
<p><strong><?php _e( 'Ничего не найдено. Попробуйте снова.', 'admired' ); ?></strong></p>
</div><!-- .entry-content -->
</article><!-- #post-0 -->
<?php endif;
}Forum: Plugins
In reply to: [Popup4Phone] Много спама/ смена иконкиЧестно говоря уже не помню, искать долго проект этот. По аналогии со ссылкой выше. Прописывается в файл который выводит модальное. Можно поиском найти по полям.
Forum: Plugins
In reply to: [Popup4Phone] Много спама/ смена иконкиДа прописал доп поле, стало лучше но иногда пролазит.
Forum: Plugins
In reply to: [WP Job Manager] Translate geolocation to RUNobody will tell?
Forum: Plugins
In reply to: [Regions for WP Job Manager] Does not replace the location in the resumeNobody will tell?
Forum: Plugins
In reply to: [WP Job Manager] Translate geolocation to RUThe code worked for jobs, but for resume does not work (
Forum: Plugins
In reply to: [WP Job Manager] Translate geolocation to RUfunction change_geocode_lang( $endpoint ) { return add_query_arg( 'language', 'ru', $endpoint ); } add_filter( 'job_manager_geolocation_endpoint', 'change_geocode_lang' );
This code do not help me( Why?
Forum: Plugins
In reply to: [Regions for WP Job Manager] Does not replace the location in the resumeDo not tell me why it does not work for resume? It should be the same as for vacancies …
Forum: Plugins
In reply to: [Regions for WP Job Manager] Does not replace the location in the resumeForum: Plugins
In reply to: [Ninja Forms - The Contact Form Builder That Grows With You] Message not sendEverything worked. The recipient indicated {field: contact_email_1493890923451}.
The sender left an empty field. Then it is sent from the site’s system mail.Forum: Plugins
In reply to: [WP Job Manager] Translate geolocation to RUFor a job and a resume there is such a field “candidate_location” and “job_location”.
If this field is filled, then there are additional fields in the record: geolocation_city, geolocation_country_long and so on. The values of which are displayed in English, but I need a Russian. I understand that these fields are filled in automatically.
When the WP Job Manager-Predefined Regions plugin is activated, geolocation values for vacancies are replaced by regions (filled in Russian)
https://faceoren.ru/jobs/But the summary is English and there is no replacement for regions in resumes.
https://faceoren.ru/resumes/If at least translate the geo fields into Russian, it would be displayed for a resume in Russian without reference to regions. Why there is no replacement for regions for a resume is already a question for the developers of that plug-in.
Forum: Plugins
In reply to: [Ninja Forms - The Contact Form Builder That Grows With You] Message not sendUnfortunately, it is not.
If I specify the recipient of the letter as {contact-email}, then the letter does not come and is not in spam.
The address is successfully obtained from the record and is displayed in the panel in the Contact email field.
If instead of {contact-email} you specify the same address that is obtained from the record, then the letter is already coming up normally.It turns out that the problem is if you specify the recipient {contact-email}.
Why this happens is not clear.Forum: Plugins
In reply to: [WP w3all phpBB] Problems loginWhen I activate plugin, errors:
Warning: trim() expects parameter 1 to be string, object given in /home/vrkom/vrkom.ru/docs/wp-includes/capabilities.php on line 568
Warning: Cannot modify header information – headers already sent by (output started at /home/vrkom/vrkom.ru/docs/wp-includes/capabilities.php:568) in /home/vrkom/vrkom.ru/docs/wp-includes/pluggable.php on line 1179
Forum: Plugins
In reply to: [WP w3all phpBB] Problems loginI reload the plugin.
The problem has not disappeared. When you activate the plugin, emits no longer possible to login the main page and on the website. It turns out only to login on the forum.The user registers without spaces too.