Viewing 15 replies - 1 through 15 (of 27 total)
  • Same thing is happening to us. We’re using the Genesis Framework and a StudioPress child theme. Everything seems to work but search results page is blank.

    Hi Maeve,

    Here is a link to a fresh install of WordPress using the Genesis Framework and a child theme from StudioPress.com. Please note that StudioPress themes are by far the most popular themes for serious WordPress developers.

    I installed your wp-knowledgebase plugin and this is what the knowledge page looks like:

    https://luckado.com/knowledgebase/

    As you can see, it doesn’t look right. In order to make the layout of your knowledgebase look like your demo, you have to do the following which was posted on another thread:

    You need to open the index.php in wp-knowledgebase plugin folder. Then go to line 200. Replace the,

    get_stylesheet_directory_uri() . '/wp_knowledgebase/kbe_style.css'

    with

    WP_KNOWLEDGEBASE . '/template/kbe_style.css'

    If you do the above, you get the layout shown on the demo of your plugin. But just to show you that the search does’t work, in that you get a blank page, I left the index file alone. So there are two problems. One, that you have to change the index file to get the layout to look your demo (as intended), and two… that regardless of the change above, performing a search displays a blank page.

    Any idea how to fix these two problems permanently?

    Thanks.

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    Thanks for your insights webauthor. I am currently working on an overhaul of this plugin which includes a massive change to how templating system is handled.This will solve this, and countless other issues. In the meantime, hopefully any other Genesis users will find this thread and implement your fix until the major update is released.

    Thanks again for your help

    Hi Maeve,

    that’s awesome! Thanks for your reply. Really looking forward to the update.

    Any update on this?

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    I am currently working on an overhaul of this plugin which includes a massive change to how templating system is handled.This will solve this, and countless other issues.

    Still working on it… No final ETA… hopefully within a week or so.

    Thanks. hopefully it will work soon. Best of luck!

    I see it’s working now. Thanks!!

    Thread Starter gblachstein

    (@gblachstein)

    Why has this topic been marked as resolved? There is still no update to the plugin and no fix for the blank search page.

    I agree – the issue still hasn’t been resolved. Maeve – any idea how the overhaul is coming along? Any ETA?

    Thanks

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    Sorry for the delay guys… majorly busy period at the firm leading into Christmas so this project has gone a bit slower than I’d like. On the home stretch with it now… and will release that overhaul ASAP

    Same problem here. My quick solution: I deactivated the kbe-search at the plugin settings and added the post-type kbe_knowledgebase to the normal wordpress search. I used this code in my theme’s function.php :

    add_filter( 'pre_get_posts', 'tgm_io_cpt_search' );
    
    function tgm_io_cpt_search( $query ) {
    
        if ( $query->is_search ) {
    	$query->set( 'post_type', array( 'post', 'kbe_knowledgebase' ) );
        }
    
        return $query;
    
    }

    Hope it will be helpful for you, too.

    (Thx at Thomas Griffin for this code)

    Sorry, the code above crashes bbPress forums. Take this one:

    function search_filter($query) {
      if ( !is_admin() && $query->is_main_query() ) {
        if ($query->is_search) {
          $query->set('post_type', array( 'post', 'kbe_knowledgebase' ) );
        }
      }
    }
    
    add_action('pre_get_posts','search_filter');

    Regards

    Really looking forward to the update!

    Thanks Chaoti but I’d rather wait till the new update is released instead of using patches. Hopefully Maeve will get it done soon. I appreciate your helpful input though.

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Searching for articles brings up a blank page’ is closed to new replies.