Answer the question
In order to leave comments, you need to log in
Is the template spreading on the search results page?
Hello.
On the search results page, the template is spreading. The entire right side of the site is at the bottom.
As I understand it, it is necessary to correct the code in the searchresult.tpl template file
[searchposts]
[fullresult]
<article class="short-news clearfix">
<div class="meta-content">
<div class="meta-image">
<img src="{image-1}" alt="{title}" />
</div>
<h1>[full-link]{title}[/full-link]</h1>
{short-story limit="300"}
</div>
<ul class="meta-info">
<li>Комментариев: {comments-num}</li>
<li>Категория: {link-category}</li>
<li class="meta-link">[full-link]<i class="icon-circle-arrow-right"></i>[/full-link]</li>
</ul>
</article>
[/fullresult]
[shortresult]
<article class="short-news clearfix">
<div class="meta-content">
<div class="meta-image">
<img src="{image-1}" alt="{title}" />
</div>
<h1>[full-link]{title}[/full-link]</h1>
{short-story limit="300"}
</div>
<ul class="meta-info">
<li>Комментариев: {comments-num}</li>
<li>Категория: {link-category}</li>
<li class="meta-link">[full-link]<i class="icon-circle-arrow-right"></i>[/full-link]</li>
</ul>
</article>
[/shortresult]
[/searchposts]
</div>
[searchcomments]
[fullresult]
[/fullresult]
[shortresult]
[/shortresult]
[/searchcomments]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question