Support » Plugin: WP Store Locator » Rename “category”

  • Resolved flow__

    (@flow_)


    Hi! First of all, thanks for this awesome plugin! I hope you can help me with the following: I’d like to rename “Category” to “Brand”. Is this somehow possible?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Sorry for the late response.

    Based on where exactly you want to change it, you can either change it on the settings page, or you will have to create a custom translation file.

    Thanks! I was able to change the Categories test (on front-end) in my themes child theme:

    
         // Include the category names.
        $listing_template .= "\t\t\t" . '<% if ( terms ) { %>' . "\r\n"; 
        $listing_template .= "\t\t\t" . '<p>' . __( 'Categories:', 'wpsl' ) . ' <%= terms %></p>' . "\r\n"; 
        $listing_template .= "\t\t\t" . '<% } %>' . "\r\n";

    Change the word Categories in what you’d like to see there. Maybe this helps someone else.

    Where exactly in theme this is to be changed?

    I want to change the display word “Category” to ” Location”.

    Best Regards
    Peeyoosh

    perhaps in the functions.php file in your child theme?

    Perhaps I misunderstand the issue.
    mysite.com/category/shoes/ can easily be changed to mysite.com/store/shoes/
    It is really easy to change that prefix to anything you like.

    Go in your WP-Admin Panel and go to Settings ยป Permalinks
    There you will see an Optional box which allows you to change the category base prefix and the tag base prefix. Then Save Changes

    This is explained in detail here:
    http://www.wpbeginner.com/wp-tutorials/how-to-change-the-category-base-prefix-in-wordpress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Rename “category”’ is closed to new replies.