Search Results for 'code'
-
Search Results
-
Hi,
WordPress 6.2.2 running Twenty Twenty-Three theme, BBPress 2.6.9.
Moved the only hidden (pending) topic from a public forum to a private forum, and published it. Topic, and moved replies all look fine in the private forum.
The public forum from whence it was moved still has this:This forum has NN topics (+1 hidden), NNN replies …
As expected, clicking the
+1 hidden
doesn’t change the number of topics displayed. Repaired the forum, cleared site cache, no change to the+1 hidden
.
If a detail in the move topic process was missed, please advise.
Thanks.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
Hi
It is easy to customize backend buttons with the pugin “Post Editor Buttons Fork”, but it does work only in the backend. How I could add and remove buttons in front-end. I would like to add at least [SPOILER][/SPOILER] tag and i would lke to use [CODE][/CODE] insteaf of the default code button.Where is the code, which defines editor? Could I hardcode changes, which I want?
Controlling the graphic editor TinyMCE Advanced might be more difficult. Is the alternatives for TinyMCE andvanced in the front-end. I would be nice to get.
I have a temporary solution by using an additional menu. See https://www.sanaristikkofoorumi.net/wordpress/forums/topic/uusia-ominaisuuksia/?view=all#post-28829