Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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 10 years, 2 months ago by fuenos. Reason: link
    #312958

    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

    #312967

    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

    #312973

    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

    #312977

    Hi,

    Thanks a lot Yiğit, I will try.

    Regards

    Erdogan

    #313052

    Hi!

    Please try and let us know so we can mark this thread as resolved or assist you further :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.