Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • ct Friend
    #1004861

    Recently purchased this plugin and had a quick question. Is it possible to include intro text from K2 in the search results? I have tried a few things and have not had much luck as of it. Any help would be greatly appreciated.

    Thank you!

    Mo0nlight Moderator
    #1005029

    Hi,

    You can try this way:

    Open the file : /plugins/jamegafilter/k2/helper.php Add this code.

    $item->introtext = strip_tags($baseItem->introtext);

    above

    $item->publish_up = strtotime($baseItem->publish_up);

    Open file : plugins/jamegafilter/k2/layouts/default/product-item.php add this code anywhere you want.

    {introtext|s}

    Regards

    • This reply was modified 7 years ago by  Mr.Cat.
    ct Friend
    #1005200

    Thank you! Appreciate the response.

    digitiimi Friend
    #1072644

    After updating to v1.1.0 the filter shows description field with introtext and fulltext. I only need to show the introtext, how this can be achieved?

    Edit. Problem solved. The same solution worked for this also.

    • This reply was modified 6 years, 12 months ago by  digitiimi. Reason: Solved
Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 3 voices, and was last updated by  digitiimi 6 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum