WordPress.org

Ready to get started?Download WordPress

Forums

Weird things happening when "chocolate" is searched? (5 posts)

  1. IlanK
    Member
    Posted 1 year ago #

    This is a really strange problem.

    For my http://www.payitforwardfriends.com website notice the follow me part on the right sidebar. It looks like that when you visit a page (conversions is the only page on the site - clickable on the left sidebar) and when you search things in the search bar (for example "lorem").

    When "chocolate" or "funnel" is searched follow me changes color to grey and the rss line shifts to the right.

    What is happening and how do I fix it?

    I am using the Ari theme.

    Thanks!

  2. mastoll
    Member
    Posted 1 year ago #

    'Looked at the code with FireBug. There are differences between the rss-shifted version and the rss-ok version. These code difference might ring a bell regarding something you switched around when experimenting with the site.

    When the RSS line is shifted to the right, there is an empty anchor in the leading space:

    <li class="widget_sociallinks">
    <a href="http://www.payitforwardfriends.com/?p=6"></a>
    <a class="rss" target="_blank" href=" http://www.ironwhisk.com/feed">Read the RSS Feed</a>
    </li>

    and the Follow Me title is nested in an anchor:

    <a href="http://www.payitforwardfriends.com/?p=6">
    <li id="linkabletitlehtmlandphpwidget-3" class="widget-container widget_text">
    <div class="textwidget">
    <b>FOLLOW</b>
    ME
    <div class="horizontal_dotted_line"></div>
    </div>
    </li>
    </a>

    When the RSS line is positioned properly, there is not an empty anchor before the feed:

    <li class="widget_sociallinks">
    <a class="rss" target="_blank" href=" http://www.ironwhisk.com/feed">Read the RSS Feed</a>
    </li>

    and the Follow Me title is not nested in an anchor:

    <li id="linkabletitlehtmlandphpwidget-3" class="widget-container widget_text">
    <div class="textwidget">
    <b>FOLLOW</b>
    ME
    <div class="horizontal_dotted_line"></div>
    </div>
    </li>

    I don't know why one search would display the code with the extra anchors while a different search displays the code without them. You would think the "list posts" operation that comes at the end of a search process would always use the same template.

  3. IlanK
    Member
    Posted 1 year ago #

    Hi,

    Thanks for your reply.
    I noticed the same thing earlier but I'm still not sure how to fix it.

    Ilan

  4. mastoll
    Member
    Posted 1 year ago #

    OK, WordPress world, what is the anatomy of a search, particularly that part of the search function that displays the results? How is the framework for displaying results called?

    By the way Ilan, solving the "why does it work that way?" problem may not be the answer. It may be sufficient to remove the evidence. You have two domains sited there: payitforwardfriends.com and ironwhisk.com. Where in your design work did you enter one vs. the other? Figuring that out may zero you in on something that you can adjust or eliminate. I'm thinking, did you add and remove the RSS feed to the sidebar a couple times? Did you try out different widgets for the RSS and/or the search functions?

  5. IlanK
    Member
    Posted 1 year ago #

    I made the design on http://www.payitforwardfriends.com and then uploaded it to http://www.ironwhisk.com.

    I'd prefer to keep the current widgets I really like how they look.
    This is a strange problem.

Topic Closed

This topic has been closed to new replies.

About this Topic