Free Directory, Listing & Classifieds WordPress Plugin Support General HivePress Translate “All Categories” and change the /listing-category/ permalink

Translate “All Categories” and change the /listing-category/ permalink

  • Author
    Posts
  • bazzarello

    Hello, how are you? I have 2 simple doubts.

    1) The translation with the Loco plugin is fine. Only the item “All Categories” (located in the form fields) is not working on the frontend. Am I doing something wrong?

    2) Is it possible to change the /listing-category/ permalink?

    bazzarello

    Important: I created 3 categories. Only in one of them is the translation not working on the frontend.

    bazzarello

    I edited the category and it worked. I’m just in doubt now about the permalink.

    ihordeveloper

    This code snippet should work, please refresh permalinks after you add it:

    add_filter('hivepress/v1/taxonomies', function($args) {
        $args['listing_category']['rewrite']['slug']='custom-slug-here';
    
        return $args;
    });
    bazzarello

    Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.