Search Results for 'test'
-
Search Results
-
Hello, i am using this code Part to show latest Topics in certain Forums. It is giving the correct Topic ids but wont show them except of original Language even if i opened it in a different language first.
<section class=”topics”>
<div id=”bbpress-forums” class=”bbpress-wrapper”>
<h3><?php echo __(‘Recent Topics’, ‘WordPress’); ?></h3>
<?php
$topic_parents = array();
foreach ($match_parent_ids as $match_parent_id) {
$match_ids = get_children(array(
‘post_parent’ => $match_parent_id,
‘post_type’ => ‘forum’,
‘fields’ => ‘ids’,
));foreach ($match_ids as $match_id) {
$topic_ids = get_children(array(
‘post_parent’ => $match_id,
‘post_type’ => ‘topic’,
‘fields’ =>’ids’,
));foreach ($topic_ids as $topic_id) {
echo $topic_id;
}$topic_parents = array_merge($topic_parents, $topic_ids);
}
}
$args3 = array(
‘post__in’ => $topic_parents,
‘post_type’ => ‘topic’,
‘post_status’ => bbp_get_public_status_id(),
‘posts_per_page’ => 10,
‘orderby’ => ‘freshness’,
‘order’ => ‘DESC’,
);if (bbp_has_topics($args3)) :
bbp_get_template_part(‘loop’, ‘topics’);
else :
bbp_get_template_part( ‘feedback’, ‘no-topics’ );
endif;?>
</div>
</section>
Thanks for helping
I am testing the WPMobile app plugin and am finding it pretty hard going to be honest. It does now seem obligatory to have this as 80 percent of my visitors are now on mobile and hardly anyone goes home and turns on the desktop anymore.
Has anyone here used this plugin? I would love to see some examples of any BBPress forums using it.
Thanks in advance
Topic: Is bbPress still viable?
I’m looking at the latest update being over 2 years ago, maybe one of the example sites listed are even running WP at all.
Is bbPress still a viable solution for a WP forum?
With the latest releases when navigating to a forum (not the forum index), any Elementor code is gone. Same when using just a sidebar or blocks.
I found an old advice here https://kriesi.at/support/topic/bbpres-no-sidebar-in-topics/ but unclear where the mentioned sidebar.php is located (perhaps theme specific).
-
Other things I’ve tried
- Configured to use the same forum slug (forum, no root)
- Disabled the main theme, use the latest WordPress default theme.
- Disabled a redirection add-on.