How to remove UI access to Custom Post Type using direct links?

Yes. Use capabilities! When registering a post type, take a look at the capability_type and capabilities. You can define a custom capability map for the standard edit_post, delete_post, etc. for your post type. The thing you remember is, if you customize the capabilities, YOU DON’T HAVE THESE CAPABILITIES EITHER! This means you’ll have to get … Read more

Uploading website to live causing problems to plug-in and layout

you probably need to try: Cleaning browser cache Cleaning wordpress cache (https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress/) When you load the page for a first time and then updated code or content, you may need to enforce WordPress cache cleaning. Also you can simply try switch to another theme and then back to your current theme.