Hi dears,
I wanna to change the search page and ajax search instead of dates only a part of content, Like on inoplugs.com!
I really don’t unterstand why and for what the page creating dates on ajax search and search page :) but I think post, news formats etc. OK.
I tried to edit loop.search.php,
<span class='post-meta-infos'>
<time class='date-container minor-meta updated' <?php avia_markup_helper(array('context' => 'entry_time')); ?>>
<?php the_time('d M Y'); ?>
</time>
<div class='entry-content' <?php avia_markup_helper(array('context' => 'entry_content')); ?>></div>
and
<div class="entry-content" '.avia_markup_helper(array('context' => 'entry_content','echo'=>false)).'>
but didn’t work…
Thank you in advance
Erdogan
Hi Erdogan!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.search span.post-meta-infos, span.ajax_search_excerpt {
display: none;
}
Regards,
Yigit
Hi Yiğit,
Thanks for your help but please check the link what I have added ;) like this page, instead of date content should appear under page titel in ajax search and also in search page.
Thank you very much
Erdogan
Hi!
Search shows excerpt of posts by default – http://kriesi.at/themes/enfold/?s=new
If you would like to display excerpt for pages, please edit your page, click Screen Options and check “Excerpt” – http://i.imgur.com/kmcis9k.png then add your excerpt below content in Excerpt field
Regards,
Yigit
Hi,
Thanks a lot Yiğit, I will try.
Regards
Erdogan