Team Profiles – Do not show individual page

Support Forums for LiveMesh Themes & Plugins Forums Appdev Theme Support Team Profiles – Do not show individual page

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14875

    Hello everyone,

    great theme – I have a lot of fun working on it.

    I have used the team profiles to add new team members and departments.
    Team members are displayed by shortcode [team column_count=4].

    I have noticed that it is possible to view single team members via mywebsite.com/?team=surname-name. In general, it is not necessay for me to have a page for every team member. I am totally fine with the overview and social links (hover).

    Google has started to index that pages as well. I do not like the appearance, layout and design of that dynamic site, but there seems no way to edit that pages or stopp WP to generate them. Workaround would be in some way to tell search engines at least not to index that kind of sites.

    Do you have any idea what can I do in this case?

    • This topic was modified 6 years, 3 months ago by Kielersprottekielersprotte.
    #14895
    RaghavendraRaghavendra
    Moderator

    I am surprised no one reported this so far. Anyway, pls have the below change done in framework/presentation/custom-post-types.php file at line number 130 to –

    
    
            // Register post type
            register_post_type('team', array(
                'labels' => $labels,
                'public' => false,
                'show_ui' => false,
                'hierarchical' => false,
                'publicly_queryable' => false,
                'query_var' => true,
                'exclude_from_search' => true,
                'show_in_nav_menus' => false,
                'menu_position' => 20,
                'has_archive' => false,
                'menu_icon' => get_template_directory_uri() . '/images/admin/users.png',
                'rewrite' => false,
                'supports' => array('title', 'editor', 'thumbnail', 'page-attributes')
            ));
    

    and that should make the team profile pages disappear although the shortcode would still work fine.

    #14896
    RaghavendraRaghavendra
    Moderator

    Will make this change part of next update. Thanks

    #14936

    Thanks. It worked fine!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Team Profiles – Do not show individual page’ is closed to new replies.