• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Search going of whack for some terms (i.e. my name!)

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Retired StudioPress Themes › Search going of whack for some terms (i.e. my name!)

This topic is: not resolved

Tagged: search funtion of out whack

  • This topic has 5 replies, 2 voices, and was last updated 2 years, 1 month ago by Shobha22.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 22, 2021 at 5:08 pm #503176
    Shobha22
    Participant

    Hi:
    I use the Genesis Framework Agency Pro theme on my site at https://solohacks-academy.com.

    If I use the a Search widget (even just the default one) in the sidebar, it works for searching all the words I can think of typing in ... except if I type my own name in it such as "Shobha" or in full form as "Shobha Ponnappa" ... when the entire layout goes wonky!!!!!

    You can try it. I have no clue why this is happening, as I am not a techie. Could anyone please help me fix this.

    I should think when type my own name in the search field I should get an archive that shows any posts where I have referred to myself by name, isn't that so? And why does the layout go out of whack?

    Thanks for your urgent assistance,
    Regards,
    Shobha Ponnappa
    Child Theme: Agency Pro

    https://solohacks-academy.com/how-to-be-a-pro-at-copywriting-landing-pages-5-key-tips/
    February 24, 2021 at 7:24 am #503196
    Victor Font
    Moderator

    I can tell you what's happening, but not why. When I view your search results source code in Firefox, I can see that you have some malformed HTML.

    There are quite a few places where you have header tags and content wrapped in paragraph tags. The problem starts here:

    <p><h3 style="color: #4a70ad;">Create A Membership Site Online By Mastering Six Key Aspects: Value-Creation, Strategy, Business Model, Technology, Member Experience, And Marketing.</h3>
    </p>

    Just about every other header tag on the page has this as well.

    You also have an out of place closing div tag after your privacy policy link. This suggests that you have some custom HTML that is wrong.

    Neither the Genesis Framework nor your Studio Press theme would generate this bad HTML. I suggest you look for plugin conflicts, maybe a typo in any custom code, or an error with your pagebuilder, if you're using one, that is.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 24, 2021 at 8:06 am #503200
    Shobha22
    Participant

    Thanks for the suggestions, Victor. But I have one doubt. If the HTML was the issue, then other search pages should also be having layout issues. But while worrying about this I found another possible reason, and would be grateful for your opinion on this.

    My name appears on a page in default layout, as well as on some other pages in full width layout. I tried the search on other similar words (e.g. "bestselling book") which appears on a full width page. Again the layout goes out of whack. But if I search a word that only appears on default page layout (content on left with sidebar on right), then the search results are fine.

    So there is some issue with the theme with respect to search done on full width pages. If this is so, is there any way to correct this?

    Thanks and regards.

    February 24, 2021 at 3:11 pm #503205
    Victor Font
    Moderator

    No, I don't think so. I revisited your site and did some searches on other keywords. The bad HTML is on all of your search results pages. View the page source code in your browser tools and you'll see the bad HTML for yourself. I use Firefox because it's easier to see bad HTML. Bad HTML is highlighted in red.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 24, 2021 at 5:59 pm #503208
    Shobha22
    Participant

    OK, thanks so much. I'm going to have to clean out the HTML fully. Appreciate your advice.

    February 25, 2021 at 8:41 am #503213
    Shobha22
    Participant

    Victor, there is definitely some fault in the Genesis themes with respect to search function on full-width pages. A programmer by the name of Sridhar Katakam specifically had an article on this problem as many Genesis users had the same problem.

    This is where I found the solution:

    Custom Genesis Search Template to show Results in a List

    He had therein supplied a code to slightly modify search.php (with some tweaks in css also) so that the theme is made to show search results as a list instead of its default format. Now the search is working absolutely fine.

    You can see it at work on my site:
    https://solohacks-academy.com/?s=shobha+ponnappa

    Just thought I would put this in the forum so that other people having the same problem can know there is a solution.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble