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

HomePage Forums Themes Support Activland – Outdoor Activities WordPress Theme How to change Permalinks for accommodation & activities?

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

    Good morning,
    where can we change those permalinks for activities & accommodation ?
    Thx
    -Dirk

    #16743

    Hi you,

    To change slug for this post type, please copy this code to file functions.php:

    //activities

    add_filter('activland_activities_slug', 'activland_fnc_activities_slug');
    function activland_fnc_activities_slug(){
    return 'your-slug';
    }

    //accommodation

    add_filter('accommodation_slug', 'activland_fnc_accommodation_slug');
    function activland_fnc_accommodation_slug(){
    return 'your-slug';
    }
    #18441
    zweigelb
    Support Expired

    And for the whatwedo stuff? We want to change that, too.
    Thx in advance

    #18456

    ///whatwedo

    add_filter('activland_whatwedo_slug', 'activland_change_whatwedo_slug');
    function activland_change_whatwedo_slug(){
    return 'your-slug';
    }
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.