8/13/2023 0 Comments Wordpress duplicate postYou can save lots of time when designing your website or upgrading your. If everything goes according to plan, your new CPT will show up on the menu to the left. In WordPress, duplicating a page or post is not just copying and pasting the content. Once it's set up correctly you'll need to update your theme in the WP Appearance menu. Hopefully those are in the functions file, but if not, you'll need to root around and find them, which can be messy, but is doable. Here's a quick tutorial from SitePoint on what custom meta boxes in CPTs look like. You'll also need to find the metaboxes that have been created for the CPT as well. Enter a duplicate title in the title spot. To test it out go to Pages and select the Add New option. The Duplicate Title Checker is now ready for use. This tutorial on Custom Post Types from WP Beginner will help you identify the CPT you want to copy.Ĭopy the CPT from the parent theme's file to the child theme's file, then update all the fields so that they're different from the parent's CPT. Scroll down until you find the Duplicate Title Checker plugin and click on the Install Now button and activate the plugin for use. The first file you'll want to check is functions.php. Next, you'll want to find the custom post type and its meta boxes in the parent theme. I'm going to assume that you're using a theme that you didn't write yourself, so best practice will be to create a child theme with your current theme as the parent (called 'template' in the thild theme).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |