Search Results for 'code'
-
Search Results
-
Hi
We have a website that uses this plugin, but it’s not quite right.
We are using the bpress shortcode on the register page, but it forces it to only allow email, and that sends out the pass.How do we enable it to show the Password field too? OR is there a way to use the WordPress Reg form, that uses the Password too?
Simon
On our forum topics there are no replies, thus there is no need for the Subscribe button to appear on topic posts. Where do I go to edit code to remove Subscribe?
I use bbpress in Japanese.
In the bbpress search window, if you search for two or more words with double-byte spaces, no search results will appear.
I tried replacing half-width with full-width, and it worked in the wordpress search window, but not in the bbpress search window.
advice please.
thank you.function empty_search( $query ) { if ( $query->is_main_query() && $query->is_search && ! $query->is_admin ) { $s = $query->get( 's' ); $s = str_replace(' ',' ', $s ); $query->set( 's', $s ); } } add_action( 'pre_get_posts', 'empty_search' );
I want to remove the moderation links that appear within a topic post.
I believe this is controlled by the following in bbpress/includes/topics/template.php. What edit would I do if this is the correct area to edit:
function bbp_get_topic_admin_links( $args = array() ) { // Parse arguments against default values $r = bbp_parse_args( $args, array( 'id' => bbp_get_topic_id(), 'before' => '<span class="bbp-admin-links">', 'after' => '</span>', 'sep' => ' | ', 'links' => array() ), 'get_topic_admin_links' ); if ( empty( $r['links'] ) ) { $r['links'] = apply_filters( 'bbp_topic_admin_links', array( 'edit' => bbp_get_topic_edit_link ( $r ), 'merge' => bbp_get_topic_merge_link ( $r ), 'close' => bbp_get_topic_close_link ( $r ), 'stick' => bbp_get_topic_stick_link ( $r ), 'trash' => bbp_get_topic_trash_link ( $r ), 'spam' => bbp_get_topic_spam_link ( $r ), 'approve' => bbp_get_topic_approve_link( $r ), 'reply' => bbp_get_topic_reply_link ( $r ) ), $r['id'] ); }
I’m looking for the shortcode or bit of code needed to show this bit of the current site?