How to delete unnecessary custom post types in the UI

Currently there is no way on the backend (UI) for unregistering a post type, the process however is quite simple. Andrew Nacin provided some code over on https://core.trac.wordpress.org/ticket/14761 You can easily create a plugin with this function and have the CPT unregister. if ( ! function_exists( ‘unregister_post_type’ ) ) : function unregister_post_type( $post_type ) { … Read more

Post’s arent displaying

I just recreated your setup. I created a post-type called “supplier-showcase”. I created a taxonomy called “supplier-category”, and added a term with the slug “supplier-cakes”. Added some posts with and without the term “supplier-cakes”. Than I copied your code, inserted it in a simple page template, fixed the things I already mentioned, and reindented the … Read more

How to restore deleted wordpress site?

You’d need to install a blank WordPress install somewhere…locally or on the domain you want to transfer it to and check the “Discourage search engines” option. Then use WordPress importer to import the content, I assume you only exported all posts and pages? You’ll need to manually set the rest such as Site Name and … Read more

how can i change the html and the css of my word press theme that I bought?

First of all, it depends on what theme you have. Many premium themes provide an option for users to enter their custom CSS. It that is the case you can add your styles there. If not, follow the link to create a child theme – http://www.wpbeginner.com/wp-themes/how-to-create-a-wordpress-child-theme-video/ You can add your custom style in child theme’s … Read more

Need help saving input fields for Security Deposit plugin in WC Vendors page

You will need to add a custom field to the product-edit form, saving is done automatically if you correctly format your input id. WCVendors_Pro_Form_Helper::input( array( ‘type’ => ‘checkbox’, ‘post_id’ => $object_id, ‘id’ => ‘wcv_custom_product__wc_security_deposits_enable’, ‘label’ => __( ‘Ingredients’, ‘wcvendors-pro’ ), ‘placeholder’ => __( ‘Ingredients’, ‘wcvendors-pro’ ), ‘desc_tip’ => ‘true’, ‘description’ => __( ‘Enable this to … Read more