• Resolved BERLINHIMMEL

    (@motivhimmel)


    HI there,

    is there a solution to filter the content of the page-text? I need results for the Page-Title only.

    I have try to work with relevanssi, but didn’t found the right setting and it looks at the moment, that this plugin is not able to deliver what I need.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You just didn’t look hard enough.

    Add this to your theme functions.php to get rid of the post content:

    add_filter('relevanssi_index_content', '__return_false');

    Thread Starter BERLINHIMMEL

    (@motivhimmel)

    Hi and thanks for try to help.

    Sadly didn’t work for me. Still search the content of a page ??

    You also need to rebuild the index after that, sorry I forgot to mention that.

    Thread Starter BERLINHIMMEL

    (@motivhimmel)

    Damn, that was my fault to. I was thinking that I hit the reindex button, but I don’t ??

    Now it works. Thank you so much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude / Filter content text from pages in searchresults’ is closed to new replies.