Tagged: blog-categories-for-groups, Sub Nav Title
Just curious if there is a more graceful way other than changing the core files for renaming the title (and perhaps the slug) of the nav item which is currently hard-coded as “Blog” and the sub-nav “Create New” (which also has a hard-coded link as domain.com/group-name/blog/create to something else (like “Articles” and “Post New Article” respectively). I have currently changed these two instances in bvg-screen.php and template-tags.php
The reason for this is that not all sites nor user all user submission types are considered as “blogs”. The ability to change these would make these twin excellent plugins even grander. Many thanks for any feedback.
Hi Ada,
You can use followingdefine( 'BCG_SLUG', 'site-blogs' );
To rename the slug. For changing the label currently, please translate the plugin.
Hope that helps.
Thank you very much Brajesh Sir. I didn’t think of translation for label thank you for the that.
When I put the above as in a function and add_action to bp_init in bp-custom.php it didn’t make a difference, then also tried the define by itself in wp-config.php and receive 404 when trying to access a group. Note that each time I saved the permalinks. There must be something else interfering here. For now I stick with the translation. Thanks again for your help.
You must be logged in to reply to this topic.