I have a website that someone else initially built. They added their own Advanced Custom Fields, and WordPress sidebar menu options for these custom elements, so these aren’t plugins you can remove.
My question for you folks is - Where the HECK are these being registered, and how do I remove them now that we’re not using them anymore (Work, Team Members, Services)?
I’ve looked in my config and includes, but I’m not sure where these would be generating from so I can remove them from the side menu.
Thanks for the response. I did check my functions PHP, but aside the auto-generated child theme functions, the rest is my custom code. Anywhere else I should be looking?
Flamingo (https://wordpress.org/plugins/flamingo/) is a plugin. It works with your contact form to store messages in the WordPress database. You can unload it but first make sure your Contact 7 plugin is set to send email somewhere else as it’s currently sending the messages to the db. That’s why you find in the “inbound messages” a list of people who’ve submitted the form.
Hi Js, I do know what Flamingo is, apologies if I wasn’t unclear, I didn’t mean to highlight it for the close up. What I’m curious about are the items WORK | TEAM MEMBERS | SERVICES. Thanks!
Those appear to be custom post types that’s what the pin means. You need to go through them and make sure that there aren’t any posts in there. If there are make sure you save a copy of the post somewhere so when you remove it you won’t lose it.
Once you’ve done that you can go to your theme folder and find the functions.php file. Copy it to your computer and make a backup copy. Open the file in a text editor (notepad, visual studio code, etc.) Look for some functions similar to:
// Our custom post type function
function create_posttype() {
register_post_type( 'services',
// CPT Options
array(
'labels' => array(
'name' => __( 'Services' ),
'singular_name' => __( 'Services' )
),
'public' => true,
'has_archive' => true,
'rewrite' => array('slug' => 'services'),
)
);
}
// Hooking up our function to theme setup
add_action( 'init', 'create_posttype' );
Make sure… that you have a backup copy before editing the file!!
Very good idea, but unfortunately all references point to wp-admin >load-styles.php from the parent theme, and there are no references of either 3 nav items