-
AuthorPosts
-
September 3, 2014 at 3:56 pm #312953
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
-
This topic was modified 11 years, 2 months ago by
fuenos. Reason: link
September 3, 2014 at 4:03 pm #312958Hi 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,
YigitSeptember 3, 2014 at 4:12 pm #312967Hi 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
September 3, 2014 at 4:20 pm #312973Hi!
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 fieldRegards,
YigitSeptember 3, 2014 at 4:28 pm #312977Hi,
Thanks a lot Yiğit, I will try.
Regards
Erdogan
September 3, 2014 at 6:36 pm #313052 -
This topic was modified 11 years, 2 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
