Your account expired support, please renew to get your support.

HomePage Forums Themes Support Luxtower – Single Property WordPress Theme I am selling TownHouses not Apartment. How to change the Category listing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24247
    raphaelmasari
    Support Expired

    Hi,

    I am selling TownHouses not Apartment. How to change the Category listing ? To be reflect in the URL.

    From https://demo2.pavothemes.com/luxtower/apartment/
    to
    https://demo2.pavothemes.com/luxtower/townhouse/
    or
    https://demo2.pavothemes.com/luxtower/villa/
    or
    https://demo2.pavothemes.com/luxtower/house/

    Thanks!

    #24283

    Hi you,

    To change Apartment => your text, please add this custom code to file functions.php ( child-theme):

    add_filter('luxtower_postype_property_labels', 'luxtower_postype_property_labels_custom');
    function luxtower_postype_property_labels_custom(){
    $labels = array(
                'name'               => __('Apartments', 'luxtower'),
                'singular_name'      => __('Apartment', 'luxtower'),
                'add_new'            => __('Add Apartment', 'luxtower'),
                'add_new_item'       => __('Add New Apartment', 'luxtower'),
                'edit_item'          => __('Edit Apartment', 'luxtower'),
                'new_item'           => __('New Apartment', 'luxtower'),
                'all_items'          => __('All Apartments', 'luxtower'),
                'view_item'          => __('View Apartment', 'luxtower'),
                'search_items'       => __('Search Apartments', 'luxtower'),
                'not_found'          => __('No Apartment found', 'luxtower'),
                'not_found_in_trash' => __('No Apartment found in Trash', 'luxtower'),
                'menu_name'          => __('Apartments', 'luxtower'),
            );
    return $labels;
    }
    
    add_filter('luxtower_property_custom_slug', 'luxtower_property_custom_slug');
    function luxtower_property_custom_slug(){
    return 'your-slug';
    }
    

    Change Apartment = your text./

    #24297
    raphaelmasari
    Support Expired

    Thanks Billy, You are a star !

    #24302

    You are welcome!

    Let me know if you need to help and hope you will vote 5 stars for our theme.

    Thanks./

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

You must be logged in to reply to this topic.