One I’ve been playing with
bbp additional shortcodes
@robin-w thanks!!! this was exactly what i needed!!!
@robin-w is there a filter i could use to output a different template
i dont want certain items to be seen when i add this shortcode somewhere, and the easiest is copying a template and renaming it and just removing the unwanted code.
i want to basically just edit this
// Output template
bbp_get_template_part( 'content', 'archive-topic' );
is there a way to change it to
// Output template
bbp_get_template_part( 'content', 'archive-topicno' );
never mind ill just edit the plugin
yes, just change it !
you can then do one of two things
1. just make a note, so that each time I upgrade this plugin, you’ll need to go back and change the code again
2. rename the plugin in line 4 – say to
Plugin Name: bbP shortcodes robkk
and then change the directory the plugin sits in to something else
Worpdress will then tell you that you have a plugin installed but not activated called bbP shortcodes robkk, and that the plugin bbp shortcodes no longer exists, and you can then delete it.
yeah ILL just do 1. because all i add is just two letters , no big deal haha
@robkk – thought you might – that’s what I’d do 🙂