Search Results for 'code'
-
Search Results
-
WP 3.9.1
Theme TwentyTenI need to add this snippet of code to my functions file in theme/childtheme. The problem is that I haven’t found anything in Documentation telling me where theme/childtheme is. Also will this be overwritten during the next bbPress update?
This is the documentation I was given to modify and insert the following code but it assumes that I know where to put it. Help please.I’m trying to change how my breadcrumbs look
function mycustom_breadcrumb_options() {
// Home - default = true
$args['include_home'] = false;
// Forum root - default = true
$args['include_root'] = false;
// Current - default = true
$args['include_current'] = true;return $args;
}add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options'
Auriel Kitsu
When using shortcodes for topic index the pagination breaks
Tested on 2 separate sites..the following one with 2014 theme
http://www.pootle-band.co.uk/support/
Any ideas?
Jamie
Topic: Hi
I’ve been using wordpress for about 6 months now and I’m using the “luminescent lite” theme. I now decided it was time to move my old phpbb board over to bbpress and I’m struggling a bit with the design. So:
1 – The theme is universal, so not much chance to change much without hard coding or a new theme
2 – I use categories and forums and it’s messy. I get:
Category
Forum nยบ 1 (14,54) Forum nยบ 2 /1,445 4,754)Can I add a paragraph for each forum or even not show the forums at all (they would open on a click on the category).
3 – No “unread topics” display (icon/different colour)
Not all is bad. I’m using buddypress and I’m loving it. BBpress ported quite well from phpbb3 and I lost no data at all (except PM’s). Even BBcode is looking good. My users are giving me a hard time, but they are just idiots anyway… lol
I was wondering can I use my normal worpdress shortcodes in bbpress? So my users could take say a certain query shortcode and post in the forums and allow it to work?
I have a general question. I am trying to modify the behavior of the function bbp_new_topic_handler, which is located in bbpress/includes/topics/functions.php. I use child themes extensively. I have not found a way to modify functions.php within my child theme. After reading the codex, and various searches, I THINK that I need to take the entire function, bbp_new_topic_handler, and re-declare it within bbpress-functions.php. I can’t declare a function twice, so that implies I need to remove it from functions.php within the above mentioned directory. Or perhaps I am on the wrong track?
What I fear is making changes directly to functions.php and then having those changes wiped out in the next bbpress update. I can’t use filters because I intend to modify how the function works, not just the wording.
So I suppose my question is as follows: How does one go about making changes to functions within a functions.php file, located in the includes directory? Does someone have a “best practice” recommendation for doing this?
Thanks.