Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #348984

    Anonymous

    Hey Team!

    My search results aren’t showing up. 🙂 They’re working just fine in my other sites with the X Theme.

    Search Results

    URL: shermandentalmarin.com (under construction),
    X Theme 4.0.6
    WordPress 4.2.3
    Cornerstone 1.0.5

    Not sure what the shortcode plugin version is. Here are my only plugins:
    Plugins

    Thanks!
    Jahlela

    #349138

    Friech
    Moderator

    Hi Jahlela,

    Thanks for writing in! Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Cheers!

    #351094

    Anonymous
    This reply has been marked as private.
    #351222

    Nico
    Moderator

    Hi There,

    Could not be able to connect with you FTP. did you changed anything for the results of your search page?

    Would you mind checking your FTP deatils and let us know what was the last time you did before it happened.

    Thanks.

    #355185

    Anonymous
    This reply has been marked as private.
    #355260

    Zeshan
    Member

    Hi there,

    Thanks for writing in!

    Upon checking, there’s some custom CSS code added in your website that’s hiding the post header (see: http://prntscr.com/833bu9). As only the title is available for entries in search results page, you are seeing no content at all. Please use following CSS code under Custom > CSS in the Customizer to show the post header on search results page:

    .search .entry-header {
        display: block;
    }
    

    Thanks!

    #355327

    Anonymous
    This reply has been marked as private.
    #355414

    Lely
    Moderator

    Hello There,

    Thanks for the screenshot. Upon checking the search result page, the content excerpt is showing already with a readmore link. Which header text are you referring to? If what you meant by header text is the title of each search result item, you may add the following custom CSS:

    .entry-wrap .entry-header .entry-title a {
        display: none;
    }

    If you’re referring to this text Below you’ll see everything we could locate for your search of “contact”, you can use the following CSS instead of above:

    .search p.p-landmark-sub {
        display: none;
    }

    Hope this helps.

    #355483

    Anonymous
    This reply has been marked as private.
    #355637

    Lely
    Moderator

    Hello Jahlela,

    Pages don’t have an excerpt and the one used in search results is the excerpt. That’s the reason there’s no content. Try searching hello:http://shermandentalmarin.com/?s=hello. You will see the content below the title. That’s because the post has excerpt. For pages, you need to configure it. Try the solution here http://www.wpbeginner.com/plugins/add-excerpts-to-your-pages-in-wordpress/. Please take note though, that since it is a custom setup, enhancement or modification and fixing complications arising from using it would fall outside the scope of our support.

    Hope that helps. 🙂

    #356251

    Anonymous

    Okay, I think I will just customize how it currently looks. Is there any way I can change the text “Below you’ll see everything we could locate for your search of…”?

    Thanks again for your help!

    Jahlela

    #356309

    Prasant Rai
    Moderator

    Hello Jahlela,

    Thanks for writing in!

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Then kindly copy _landmark-header.php file from yourwordpressfolder\wp-content\themes\x\framework\views\integrity\ to your child theme. Then open the file and around line 26 you find:

    <p class="p-landmark-sub"><span><?php _e( "Below you'll see everything we could locate for your search of ", '__x__' ); echo '<strong>&ldquo;'; the_search_query(); echo '&rdquo;</strong>'; ?></span></p>

    Change the text as per your requirement.

    Let us know how it goes.

    Thanks.

    #356423

    Anonymous

    Thanks for the tips! This far along in the project, I just wound up hand-styling the page to make it a little more palatable on desktop and mobile.

    Final: http://shermandentalmarin.com/?s=crown

    Thank you again for the help!

    Jahlela

    #356533

    John Ezra
    Member

    You’re most welcome!