• JennWin

    (@jennwin)


    Hi,
    Great plugin – thanks!
    I am wanting to know how can i change the text that currently says ‘project categories’ and project tags’ in my widget area? (My theme uses projects and posts, so this would be the equivalent of ‘posts’ for most people.
    I need to it say ‘product’ instead of’project’.

    https://crosscleaningtx.com/air-compressors/

    also, how can i get the plugin to use subcategories?

    Thanks

    • This topic was modified 8 years ago by JennWin.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi Jenn,

    The headlines are using your registered strings in the taxonomies parameters. In this case the taxonomies names.
    So you can change the names of the taxonomies and it will change as well.
    If you don’t want to do that there is also a filter you can use to change them.

    beautiful_filters_taxonomy_label

    Something like this in your functions.php file:

    
    function modify_btf_labels( $label, $taxonomy ){
    	if ( 'project-categories' == $taxonomy ) {
    		return 'Product categories';
    	} elseif ( 'project-tags' == $taxonomy ) {
    		return 'Product tags';
    	}
    	
        return $label;
    }
    
    add_filter('beautiful_filters_taxonomy_label', 'modify_btf_labels', 10, 2);
    
    Plugin Author Jonathandejong

    (@jonathandejong)

    Sorry missed one bit.
    The plugin should already work fine with sub categories (sub terms). You need to have posts connected to them first tho or allow empty in the settings in BTF. You can see that they are showing in the screenshots here on www.remarpro.com.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change text above filter boxes’ is closed to new replies.