Hi
It looks like this page is using your standard archives.php template file. Thus it is your theme that is doing this.
The following suggestion assumes that you are using a child theme, and not a master theme (Orbisius do a free child theme maker plugin to make this easy if you are not using a child theme):
It may be possible to copy this template file into the child them folder and rename it (e.g. search-results.php) and set the form to use that. If the page still has the wrong title, you may need to edit the template file. You might be able to hard code the title. If this looks possible, if I could see the contents of this file, I may be able to advise.
If you paste the contents of the file here, please use code back ticks before and after the code (the odd quote mark on the key to the left of the main keyboard ‘1’ key).
AnonymousInactive
Hi!
<?php
if ( $query->have_posts() )
{
?>
<div style="width: 100%;">Найдено <?php echo $query->found_posts; ?> Результатов<br />
<div class="pagination">
<div class="nav-previous"><?php next_posts_link( 'Еще результаты', $query->max_num_pages ); ?></div>
<div class="nav-next"><?php previous_posts_link( 'Прошлые результаты' ); ?></div>
</div>
</div>
<?php
$column_count = 0;
while ($query->have_posts())
{
$query->the_post();
?>
<div class="one_third" style="margin-right: 0px;">
<?php if ( has_post_thumbnail()) { ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
<?php the_post_thumbnail(); ?></a><?php } ?>
<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
</div>
<?php
$column_count ++;
?>
}
}
<?php
else {echo "Ничего не найдено";}
?>
Parse error: syntax error, unexpected ‘else’ (T_ELSE) in /home/sobaka-pav/dk-moskvor.ru/docs/wp-content/themes/Divi/search-filter/results.php on line 33
How about running the do_shortcode within the results.php file is what I meant?
Hi
IF you are using the Shortcode Display Results method, and have followed the Customisation Guide:
https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/#Customising_the_Results
Then you can edit the copy you made of the results.php file and change the_excerpt to the_content, I think. But check the WordPress Codex:
https://developer.wordpress.org/reference/functions/the_content/
AnonymousInactive
Hi
I recently purchased the “Search & Filter Pro” plugin to make it work with “divi shop module” and Woocommerce, but I have not got it to work. I have been looking through this forum and I have seen some solutions like copying the file “results.php” to the folder that is indicated, but nothing.
Please, could you help me?
Thank you.
Greetings.
AnonymousInactive
Oh, sorry I found the problem for second problem with the grey listing: It was my custom code of the results.php. With the standard code it works.
The next major release, V3 (some months away yet) has support for addon extensions to help us (or third parties) to build support for page builders. We made a trial of this in V2.3.2 when we added support for a Visual Composer addon, but others will come.
If you are using the Shortcode Display results method, those strings are in the results.php template. The customising guide is here:
https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/#Customising_the_Results
You simply edit the strings in that file.
You appear to be using a custom results.php file. If that is so, can you copy the contants of that file and then post that (as a reply on this thread) within code ticks (the backwards quote mark that is on the key normally to the left of the main keyboard ‘1’ key, one before the code and one after it).
It sort of looks right. Our shortcode method uses a similar template, so why not take a look at that? In the plugin folder, you will find a templates folder, take a look at the results.php file.
Are you referring to what is appearing in the results, which is generated by the results.php template? Normally that would be using our coding, but I can see from the output that you must have customized it quite a lot. Any output you see is made by that template, and the options you have used in the WordPress PHP functions to fetch the meta data. Numbers can be formatted, usually in the function itself as an argument