Search Results for 'code'
-
Search Results
-
Hi there,
I want to do a test mailing in my staging area, to see if a new WP plugin works for BBpress. In order to do this, i want to change all emails to my personal email address for all that are subscribed to the forum (so i don’t accidentally send out mails to real users,(this has actually happened to me before)). The problem is that the WP user_email is found in the DB wp_users and the forum meta info is found in the DB wp_usermeta. What SQL statement would i use if i wanted to change the email of all bbpress “Participants” to “myemail@email.com”. I want to do something like:
UPDATE wp_users SET user_email = "myemail@email.com" WHERE wp_usermeta.meta_key = "participant";HELP: WP 4.9.8; bbPress 2.5.15; site: azor.vip
Hello, I am a senior citizen noob building a one-off site. I wish to post admin questions from my backend what will appear live on my site.
I have written my post and clicked on Published. Nothing happens. Some time ago when I asked this same question, I was told to do something with shortcodes. I became frustrated because I don’t know what a shortcode is, where I find it, and what I do with it. So I am re-visiting my original question.
I would be very grateful if you could give me some steps.
Topic: How to custom Query Loop…?
I would like to output topics with multiple tags.
For that, I wrote the following code, but it did not work as I expected.
<section class="fluits"> <?php $args_fluits = array( 'post_type' => 'topic', 'tax_query' => array( array( 'taxonomy' => 'tag_fluits', 'field' => 'term_id', 'terms' => array( 11, 22 ), ), ), ); $query_fluits = new WP_Query( $args_fluits ); ?> <?php if ( bbp_has_topics( $query_fluits ) ) : ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php else : ?> <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?> <?php endif; ?> </section> <section class="vegetables"> <?php $args_vegetables = array( 'post_type' => 'topic', 'tax_query' => array( array( 'taxonomy' => 'tag_vegetables', 'field' => 'term_id', 'terms' => array( 33, 44 ), ), ), ); $query_vegetables = new WP_Query( $args_vegetables ); ?> <?php if ( bbp_has_topics( $query_vegetables ) ) : ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php else : ?> <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?> <?php endif; ?> </section>Any hints or different args to use to achieve this?
Thanks.
On the home of the forum, I have categories with sub forums in them, but need to change the layout to be 2 columns instead of comma separated forums. What file can I add to my theme to override this? bbPress has a crazy common between the
<li>tags and drives me nuts because you can’t remove that using css.