Search Results for 'code'
-
Search Results
-
Topic: Split up my Tags page
I have a page that just shows tags https://wateratairports.com/airports-by-iata-code/, it is working great and getting bigger over 300 it could grow to 1000 which is OK on a big screen but on a mobile, not good, I would like to add a line at the top of the tags offering a shortcut ie if you want A-F click this then it will take the user to a page that shows tags stating A and ending with F.
I am sure I can create the line with links to another page, where I am having a problem is how to only return the tags between A and F.
The template I am using is
/**
* Template Name: bbPress – Topic Tags
*
* @package bbPress
* @subpackage Theme
*/get_header(); ?>
<?php do_action( ‘bbp_before_main_content’ ); ?>
<?php do_action( ‘bbp_template_notices’ ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div id=”bbp-topic-tags” class=”bbp-topic-tags”>
<h1 class=”entry-title”><?php the_title(); ?></h1>
<div class=”entry-content”><?php get_the_content() ? the_content() : _e( ‘<p>This is a collection of tags that are currently popular on our forums.</p>’, ‘bbpress’ ); ?>
<div id=”bbpress-forums”>
<?php bbp_breadcrumb(); ?>
<div id=”bbp-topic-hot-tags”>
<?php wp_tag_cloud( array( ‘smallest’ => 15, ‘largest’ => 15, ‘number’ => 400, ‘taxonomy’ => bbp_get_topic_tag_tax_id() ) ); ?>
</div>
</div>
</div>
</div><!– #bbp-topic-tags –><?php endwhile; ?>
<?php do_action( ‘bbp_after_main_content’ ); ?>
Is there a way to select what tags are shown ?, I am happy to create more templates.
hope this makes sneseTopic: Formatting not Apply
Hello! I am using bbpress and when I type anything in topic and try to apply formatting like bold, italic text, it show the code instead of applied formatting, suppose I applied B for bold it shows <b> Text</b> and does not make text bold , same like other command , like if I try to make text as heading3 its shows <H3> Text </H3> instead of text in Heading 3 style.
What is problem , thx in advanceRegards
Like I use b tag here and my text has bold , but in my case it show command name alognwith text instead of applying that commandHi,
Is there a shortcode to display just sticky topics?
I tried the code below, but it shows both sticky and non sticky topics.[bsp-display-topic-index show = '5' show_stickies = 'true']Thank you, Sam
hello
i am using bb-press plugin in my theme
i have to add short code in my page with word-press function like this in .php page
“<?php echo do_shortcode(‘[bbp-forum-index]‘); ?>”it’s not working on .php page
—————————————
but when i create page in wordpress admin section and add shortcode on page it’s workingbut on .php page it’s not working
can you please help me what i am doing wrongThanks 🙂
Hello,
I’m using bbpress with the DIVI theme and got an issue : the [bbp-forum-index] shortcode returns only 50 forums end no more !
I have also tried with the Twenty Twenty theme and got the same issue.Any idea how I could display more than 50 forums with this shortcode?
Wordpress 5.3.2 and bbpress 2.6.4
Regards
PatTopic: Page title is “0”
I am succesfully using bbpress, with the Avada theme. I notice that my bbpress pages have strange title (in the browser tab). FOr example:
https://telium.io/search/code/
How can I fix this?
This refers to bbPress 2.6.4.
If a new user topic or reply fails bbPress moderation (either links or bad words), the end user gets no message at all. What they see is simply nothing – just the edit box again, with no indication that their post was marked as pending, and awaits moderation.
So what happens? The user reposts the same message, over and over and over. I have examples of users reposting 10 times. They eventually may ask what is going on, or go away angry.
This seems to be new behavior since 2.6, and depending on the forum admins, this behavior may seem to be mysterious. I’ve run a highly technical forum for years, and did not know about this changed behavior in 2.6 because users typically did not post with more than 2 links.
Even now knowing that, the users are still left mystified. This is very poor user interface design, and the only reasonable solution now is to essentially eliminate any moderation at all.
add_filter( 'bbp_bypass_check_for_moderation', '__return_true' );Much much better would be to let the user know what happened. I’ve read all the code for moderation, and can’t see any filters to override to add a message for the user.
It would be wonderful to fix this issue, and issue a “Your topic/reply is awaiting moderation.”
The moderators need to get a message as well.