Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Search Function – products not blog posts

bloglayoutSearch
    • 8 years, 1 month ago rebeccaolson
      Participant

      Expired

      Hello – I’m not sure if this is something you can help with. I’d like the search results in the site to be displayed differently than my blog posts.

      I’ve got my blog posts set to “creative” – which works great for my blog, but when you’re in the store section of my site and search for a product, it isn’t user friendly because the product images are so large. The search results need to show more like “masonry” with the product images small and a small bit of text.

      Is there any way to separate the search from the blog, and have a “search results layout” that is different?

    • 8 years, 1 month ago Mirela
      Participant

      Hello,

      Please try this out:
      Go to file search.php and find these lines:
      https://codeshare.io/5vKmxD
      replace with these:
      https://codeshare.io/5OKXJj
      Let us know.

      Best regards!

    • 8 years ago rebeccaolson
      Participant

      Expired

      Thank you so much – that worked perfectly!

      2) Is there a way to remove the date from the product results? (I do have my blog posts set to show the date.) If there’s no way to remove the date from just the products, can we remove the date from all search results, but leave the date on the posts when they’re listed on the blog page?

      3) If a  blog post happens to show up as a search result, it throws the layout off, because the image for the blog post is a header/slider image, where the product images are all square. Is there any way to fix this?  Try searching “pet” and you’ll see what I mean.

      I realize these are really small, fussy errors – overall, I’m just so happy that this was such an easy fix!

      Rebecca

    • 8 years ago Mirela
      Participant

      Hello,

      2-To remove the date on only products in search page, please add this code into your custom css box:

      .search .product .info li:first-child {
          display: none;
      }
      .search .product .info li:nth-child(2) {
          display: none;
      }

      To remove date in all search results add this code:

      .search .info li:first-child {
          display: none;
      }
      .search .info li:nth-child(2) {
          display: none;
      }

      This does not affect the posts in blog page.

      3-The blog post featured image is originally rectangle, not square. Changing it requires more work and it’s not supported from this forum.

      PS: Please keep in mind to open new tickets for every question. Having multiple request in one topic or keep adding more in the same topic is not search effective for the forum. We wish for all our visitors to be able to find easily an answer from old topics to their issues. This is done by keeping up to one ticket per question.

      Note: The two latest requests are in fact customizations, not theme errors. If you want to customize theme to your need(like filter search results to not show up blog posts but only products), that’s another thing. Other customers need to search to do it’s job and search for every thing it can find in the site related to the search key word.
      We have already notified you that personal customizations are not included in support service. So please refrain to ask for only actual issues.

      Thank you for understanding and cooperating!

      Best regards!

    • 7 years, 11 months ago rebeccaolson
      Participant

      Expired

      Mihaila –

      I really appreciate your help. If the above doesn’t work, I won’t bother you with further questions about it.

      PS: Since the search function hasn’t worked on the forum for quite some time, I didn’t assume that was a priority for Codeless. I was trying to be more efficient by keeping all related topics to one post, so that we didn’t end up with multiple tickets. I have no memory of you ever asking me to put these on different tickets, so I apologize for not doing this correctly.

      Note: As I have stated multiple times, I am not a developer – I am someone doing my best to run a business and also have a website. I am not always certain what you consider a “customization” and what is a “bug”. I expect that you will state “We cannot do this for you” when that is the case.

      I apologize for wasting your time, and I will certainly look for another theme to use in the future, so as not to bother you.

      Best Regards,

      Rebecca

    • 7 years, 11 months ago Mirela
      Participant
      This reply has been marked as private.
    • 7 years, 11 months ago rebeccaolson
      Participant

      Expired

      This reply has been marked as private.
Viewing 6 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password