Removing content types

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23084
    GavinAtDOSE
    Member

    Hello,

    Two questions:

    1. How can I remove unwanted URLs that are showing up in search?

    When searching for Strategic Land Group old or unused URLs are still appearing in search and even though I haven’t created these pages in the site they still exist and therefore I’m having trouble removing them in Search Console.

    http://strategiclandgroup.co.uk/portfolio/

    http://strategiclandgroup.co.uk/page-section/team/

    I don’t understand why they are still part of the site?

    2. Is it possible to remove content types?

    For example ‘Team’, ‘Portfolio’ and ‘Gallery’.

    I’m wondering if this is a solution to the above?

    Thanks,

    Gavin.

    #23099
    Veena
    Moderator

    2. Is it possible to remove content types?

    You can comment out the custom post type which you don’t require in file framework/presentation/custom-post-types.php ..

    #23318
    GavinAtDOSE
    Member

    Thanks Phoenix.

    Unfortunately I don’t know how to do what you have suggested in php.

    Is there another way to achieve what I need to do?

    That is…

    Remove the automatic team, portfolio and gallery content?

    #23342
    Veena
    Moderator

    For removing unwanted custom post types you need to comment out the custom post type function call in file framework/presentation/custom-post-types.php .
    Pls see the attached screenshot .

    For eg if you want to remove team post type then you need to change line no:15 from

    mo_register_team_profile_post_type();
    

    to

    // mo_register_team_profile_post_type();
    
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Austin Theme Support’ is closed to new topics and replies.