How to Convert Child Themes + Custom Post Types for Avada 5.0
Last Update: February 16, 2024
If you would like to convert your Custom Post Types within your Child Theme, then please follow the steps below.
How To Convert Only Custom Post Types in Child Themes
Step 1 – Add this code snippet to your child theme’s functions.php file:
Step 2 – Replace
inside the array with your own Custom Post Type name. For example:
Step 3 – Re-run the conversion script manually. It’s important to ensure your Child Theme is active before running the conversion.
How To Convert Custom Post Types and Default Post Types in Child Themes
Step 1 – Add this code snippet to your child theme’s functions.php file:
Step 2 – Replace
inside the array with your own Custom Post Type name. For example:
Step 3 – Re-run the conversion script manually. It’s important to ensure your Child Theme is active before running the conversion.