Codeless Support Center
  • Codeless
  • Themes
  • Support
  • Blog
    • How to Start a Blog
    • Cheap Domain Registrars
    • Best Website Builders
    • Create Professional Email
    • Best Small Business Hosting
    • Best Blogging Platforms
  • Documentation
    • Specular Documentation
    • Tower Documentation
  • Video Tutorials

Community Forums

Home/Forums/Tower – Business-Driven Multipurpose WP Theme/Site search issue

Site search issue

Search
    • 3 years, 3 months ago digitalstyle
      Participant

      Expired

      Hello,

      We have an issue on our site search, when searching for “F&W”, the result shows that there are 394 results. But there aren’t any entries or show any result posts/pages. Just a number from nowhere.

      Could you please take a look and any solutions to fix this?

      https://smartdrive.staging.wpengine.com/
      https://smartdrive.staging.wpengine.com/?s=F%26W

       

      Thanks!

      • This topic was modified 3 years, 3 months ago by digitalstyle.
      • This topic was modified 3 years, 3 months ago by Mirela.
    • 3 years, 3 months ago Mirela
      Participant

      Hello,

      This is really strange. I checked and it does not happen on our side, or anywhere else. Did you made any changes lately? Or did you install any new plugin?

      This message: “Search result for: ” is not part of theme’s message in search result page (screenshot). Check out the demo.
      Let us know.

      Best regards!

    • 3 years, 3 months ago digitalstyle
      Participant

      Expired

      This reply has been marked as private.
    • 3 years, 3 months ago digitalstyle
      Participant

      Expired

      Hi there,

      Nevermind, I figured this out.

      The code was like this before $count = $allsearch->post_count; and it causes the random number issue.

      Now I changed it to $count = $wp_query->found_posts; and it all works out!

      Thanks!

      • This reply was modified 3 years, 3 months ago by digitalstyle.
Viewing 3 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

  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress 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

Topic Tags

#specular background blog bug button codeless codeless slider css demo dummy data error folie font footer handel header icons image images import june link links logo menu Mobile mobile menu navigation plugin portfolio post responsive revolution slider Search sidebar slider specular theme Tower Tower Theme update video visual composer woocommerce wordpress

Forum Statistics

Registered Users
4,262
Forums
9
Topics
8,907
Replies
41,249
Topic Tags
3,064
  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • WordPress Guides

Popular Articles

  • Update plugins using only the included in theme version
  • How to fix 404 error on portfolio items and portfolio 2nd page
  • Visual Composer Update
  • Change Testimonials Speed
  • How to disable google map zoom on scrolling

Login

Log In
Register Lost Password