Search Results for 'code'
-
Search Results
-
Topic: Recent Topic Widget Mod?
I would like to add the Recent Topic Widget to the Footer of my page, however it does not match the format.. I have opened the widget.php file and found it but keep getting stuck on the code.. Any ideas/help?
Below is the link.. I would like the recent topics to match the recent posts part of the footer..
http://piw.ewarena.com/2017/10/another-news-test/I have a plugin called myCred which allows me to add a shortcode to a post so that anyone looking at that post will be allowed to click on a link to add points.
I am trying to figure out where in bbPress I will add this shortcode so that the link will appear for each post.
I am guessing that I will need to create a specially named page and then add the shortcode, but I am not sure about how to create the page (i.e. what name to give it). Am I on the right track, and if not, can someone help?
Hi everyone,
I have almost finished setting up BBpress on my site. The last thing I am stuck is I want to add WP Social Login ICONS to the bottom of topic discussions. I have already succeeded adding this to bottom of forums here https://ehospital.in/forum/help-support/about-us/ by adding the php code<?php do_action( 'wordpress_social_login' ); ?>I want to do the same to the bottom or under the user not logged in template notice. But unable to do that. Most probably, I am adding the code to wrong templates? Please tell which template should I edit?
I’m trying to integrate buddypress-docs with bbpress forums; the intention is to have topics of discussion within an article/doc. Using buddypress-docs hook ‘bp_docs_after_doc_content’, I create a corresponding forum (if it doesn’t exist) and add a shortcode to display a topic creation form. If a topic exists and is selected, I redirect to the associated article, and display a single topic with:
echo do_shortcode( '[bbp-single-topic id=' . $topic_id .']' );
So far, so good, I don’t know if it is the right aproach, but it seems to work.
The problem comes when I want to post a reply within the selected topic. $_REQUEST variables are used to detect and display the selected topic, but on single-topic the additional ‘bbp_redirect_to’ hidden field is added, causing to redirect and lose those variables. I commented the line where this field is added (bbpress/includes/common/template.php:1620) and it works the way I want, but don’t want to do that 🙂
Any suggestions on how to work this around without messing around with the plugin’s code? Hope the issue is clear, thank you for any help you can provide and for taking the time to read this.Wordpress ver. 4.8.2
BBPress ver. 2.5.14
BuddyPress Docs ver. 1.9.4Hi
When I editing some topic I don’t see tags in the input which I entered, can we call them via some PHP code?
Also screenshot: http://prntscr.com/gvpn8kBest Regards, and also I want to say that I like minimalism of this plugin 🙂
Regards