New Landing How can we help? Themeforest Theme Support Dante Hide custom post type?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #134366
    ovollc
    Member
    Post count: 48

    I’d like to hide the “Client” Custom Post Type (CPT). How can I do this without it being overwritten in the next theme update?

    Thanks for the help, guys.

    #134414
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    You want to hide or remove the Clients post type, if you don’t want it, go to swift-framework/swift-framework.php and comment this line #23

    require_once(SF_FRAMEWORK_PATH . '/custom-post-types/clients-type.php');

    Let us know,

    Thanks,
    laranz.

    #144928
    iquarius
    Member
    Post count: 32

    Hello Laranz, how can i do this from the child theme?

    #144995
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi @iquarius,

    You can try this solution: http://wordpress.stackexchange.com/a/20939/17902 refer the name of the function in swift-framework/swift-framework.php

    Let us know,

    Thanks,
    laranz.

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register