• I got some backlinks to help navigation in my site (wordpress powered) that are containd in a div, is there a way to exclude that div from the search results?

Viewing 8 replies - 1 through 8 (of 8 total)
  • You could trim the result or if you do a print_r of your variable (use
    < pre > markup) maybe you can retrieve the “raw” info of what your looking for. I do that with Drupal.

    Thread Starter Daniel

    (@kngqe)

    There are many backlinks, that are containd in two specific divs for now, in every post the backlinks are diferent, it will be amazing if i can figure it out how to simple exclude those 2 divs from search results page.

    do you have an example somewhere?

    Thread Starter Daniel

    (@kngqe)

    I want to exclude the content (links and plain text) inside <div class=”1″> and <div class=”2″> found in every post, from search.php results

    Sorry I’ve never used it.
    What I’d do, which is a pain in the ass – I’m aware of that – is to make my own search function and SQL query, at least I’d get what I want as the output.

    Thread Starter Daniel

    (@kngqe)

    Thank you for the reply,
    eventualy i will find “a hole” to fix it, always it’s a matter of time ??

    Thread Starter Daniel

    (@kngqe)

    A solution will be to search only for title and what’s inside <p>…</p>, only if i knew how to

    Thread Starter Daniel

    (@kngqe)

    After a full day of work, i found the only solution in my powers, i eliminated the search element ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Exclude from search, the text containd in a specific div ?’ is closed to new replies.