Support » Plugin: Post Teaser » Displaced teaser links when searching (Post Teaser and Relevanssi plugins)

  • Hello! I encounter a problem with the two plugins Relevanssi and Post Teaser. I don’t know, which is causing the problem, but here are the facts:

    When I search my blog using the search box (the search being provided by the Relevanssi plugin), I get not only the result posts (including their teaser) but just on top of the page (directly following the <body> tag) there are a number of strange “teasers”:

    Permanent link to this post (2 words, estimated 0 secs reading time)
    [...]
    Permanent link to this post (2 words, estimated 0 secs reading time)

    The number of these links is proportional to the number of posts found.

    Do you know how to resolve the issue or how I should further investigate the issue?

    Thx a lot! Philipp

    http://wordpress.org/extend/plugins/post-teaser/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Is it one extra teaser per post found or what? Something Relevanssi does is triggering Post Teaser and/or Post Teaser is being overly sensitive.

    Thread Starter pklaus

    (@pklaus)

    Yes, exactly. For each post found there one more of the links.

    This is how it looks by the way:
    http://blog.philippklaus.de/?s=piwik&searchsubmit=.

    Looks like Post Teaser is attached to the_content hook. Relevanssi does apply the_content filters at some point in the process and I suppose Post Teaser is run then, causing the unnecessary teasers. Don’t know how to fix it, sorry.

    Same problem here.

    I zonked the output I didnt want to see with
    CSS

    body.search-results div.post-teaser-block {
      display:none;
    }

    Not ideal and I still get a FOUC but its usable i think.

    Thread Starter pklaus

    (@pklaus)

    Hi! Yeah, thanks for your answer. I was disabling relevanssi for the time being but now with the CSS hiding the elements, I reactivated it. Not perfect, but it does the job for me. Thx again!

    For everyone who want’s to know what the problem is, here is a screenshot of the problem:

    http://cl.ly/3f2n2c0n1u1w33043c07

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Displaced teaser links when searching (Post Teaser and Relevanssi plugins)’ is closed to new replies.