-
AuthorPosts
-
May 3, 2015 at 8:16 am #264344
Hi,
I just set up my Forums page and unfortunately the bbpress search seems not to be working like it does on the demo pages 🙁 It just shows the title and some text but no clickable results.
Login data & url provided in next post.
May 3, 2015 at 8:32 am #264355Hi there,
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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 3, 2015 at 8:53 am #264367This reply has been marked as private.May 3, 2015 at 5:54 pm #264566Hi there,
Do you have any custom query that affects global query? Like pre_get_posts filter. Unfortunately, I can’t thoroughly check it. Would you mind providing your admin login with full permission, and your ftp login credentials too.
Thanks!
May 4, 2015 at 2:52 pm #265289This reply has been marked as private.May 6, 2015 at 5:27 am #266938Hi Dominik,
Thanks for the logins!
Upon checking, I’m seeing that the search is somehow calling the default search template instead of the bbPress search template (see: http://prntscr.com/724h45). In this case, to narrow down the issue, you could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Let us know how it goes.
Thanks!
May 6, 2015 at 4:19 pm #267526Hi,
in the end it had nothing to do with a plugin or query. The problem was that I had a custom bbpress template stored within the child theme. Changing back to standard solved my issue here.
Now I just have no idea how I can insert some custom content above all my bbpress pages. Do you have a solution for that?
Thanks & regards
May 6, 2015 at 8:46 pm #267722Hello There,
The best way to insert your custom contents above all your bbpress pages is by adding a custom function to handle it. Please add this code in your child theme’s functions.php
function add_custom_bbpress_content(){ ?> <!-- you can add your custom contents here --> <div class="custom-header-container"> <!-- our custom header codes here --> <img src="http://placehold.it/1200x120" alt="My custom header"> </div> <?php } add_action('x_before_view_global__content-bbpress', 'add_custom_bbpress_content');
In our sample code, it places a custom banner image just above your bbpress pages. you can replace it with your custom contents.
Please let us know if this works out for you. -
AuthorPosts