Search Results for 'code'
-
Search Results
-
Hello All,
I am creating a page which has a short code [bbp-forum-index] and i wanted to know if there is a way to filter out all private forums since this page is only supposed to show public forums.
Thanks,
ParagI want to customize the TinyMCE editor with so called mini-plugins. For example, I have the emoticons mini-plugin that I want to use. When I place it in the folder
/wp-includes/js/tinymce/pluginsI’m able to use it through a custom wordpress plugin or the functions.php from my theme. But as far as I know this mini-plugin can get removed when wordpress gets updated.That’s why I want to know if it’s possible to use these TinyMCE mini-plugins inside my (child) theme instead of just throwing them into core?
Topic: Post count functions broken
Are these three functions broken because I’m receiving zero posts/topics/replies when they’re executed:
bbp_get_user_post_count() bbp_get_user_reply_count() bbp_get_user_topic_count()Hi all you guys,
i’ve been trying to display a specific forum in a specific category. Like all categories must have a different forum.To do this, i added a text field to the category with Advanced Custom Fields plugin. Then i write [bbp-single-forum id=196] in that field. (196 is the id number of the forum that i want to display for this category)
To show this, i added this codes to category page in my theme
<?php $category_id = 'category_' . get_queried_object_id(); $dforum = get_field( 'forum', $category_id ); ?> <?php echo do_shortcode($dforum); ?>it’s working great. However, if you enter a topic (ex. a topic)the page goes to sitename.com/topic/a. But i want to read this topic in the category page. I tried to use iframe but i doesnt work. Please help.
my site (click forum tab) : http://www.dizimoon.com/kategori/yabanci-diziler/game-of-thrones
Topic: Display Lead Topic only
Hello,
I have a page, where I wanted to use shortcode [bbp-single-topic id=$topic_id]. I expected that only lead topic appears, but it does not. There is a lead topic with all replies.
Is there any way how to display Lead topic only (no replies)?
Thank you for any peply… Peter
PS: I tried to use <?php bbp_get_template_part( ‘content’, ‘single-topic-lead’ ); ?> but I did not find out how to use it with specific topic_id….
Topic: Display Lead Topic only
Hello,
I have a page, where I wanted to use shortcode [bbp-single-topic id=$topic_id]. I expected that only lead topic appears, but it does not. There is a lead topic with all replies.
Is there any way how to display Lead topic only (no replies).
Thank you for any peply… Peter
PS: I tried to use <?php bbp_get_template_part( ‘content’, ‘single-topic-lead’ ); ?> but I did not find out how to use it with specific topic_id….