Search Results for 'code'
-
Search Results
-
Hi,
No shortcodes are working in the bbpress pages. The shortcodes are runnng very well in all other pages of my site. Just not working on bbpress topics, forums and replies pages. So I guess the problem is within bbpress. I tried to find out plugin conflict but no conflict was found.
Here is one of my topic pages: click on the “Login” or “register” button in the top menu. A hover will appear where I put a shortcode that works well in any other pages. Also, you can click on “contact” in the footer to see another shortcode not working. No problem with the plugins created shortocode or the popup modal, as they are working just fine in all other pages.
All the plugins, themes and applications are updated.
Topic: Placeholder in visual editor
Hello!
First of all I want to clarify that the notifications by email if they arrive if a response is made in the subject from the frontend, in that there is no problem.I feed the forum with external information, the updates of new and old topics are published daily. This I do by means of an import code. When users subscribe to a topic and receive new answers, email does not arrive.
I suspect that is the replic’s import code.
At the beginning of the code, I identified the id of the theme to link the replic, then updated the data.
$old_topic_id = get_post_meta( $post_id, '_bbp_topic_id', true ); $post = get_posts( array( 'post_type' => 'topic', 'meta_key' => '_old_topic_id', 'meta_value' => $old_topic_id ) ); if ( $post ) { $new_topic_id = $post[0]->ID; $args = array( 'ID' => $post_id, 'post_parent' => $new_topic_id ); wp_update_post( $args ); update_post_meta( $post_id, '_bbp_topic_id', $new_topic_id ); update_post_meta( $post_id, '_edit_last', 1 ); }The import of topic and replic is a success, except for the detail that does not motivate users subscribed to forum and topic.
Regards!

