This short tutorial is how to null qodeinteractive.com wordpress themes in order to have a working import task.
1 - First we need to get the theme "slug" (a slug is the canonical name). Generally is the same as textdomain and we can get it from the main style.css of the theme and it must be lowercase, example:
CSS:
/*
Theme Name: Alloggio
Theme URI: https://alloggio.qodeinteractive.com
Description: Hotel Booking Theme
Author: Edge Themes
Author URI: https://qodeinteractive.com
Text Domain: alloggio
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, threaded-comments, translation-ready
Version: 1.7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
2 - Example: setsail
We need to do a replace of the string "SLUG" (uppercase) with our given slug.
PHP:
update_option( 'SLUG_purchase_info' , [ 'purchase_code' => '7iEnat-SFkWH-g4HJ6-wgKNFjQoo-etJrvkY' ] );[/HEADING]
[HEADING=3]update_option( 'SLUG_import_params', [ 'submit' => 'import-demo-data', 'url' => 'https://SLUG.qodeinteractive.com/' ] );
PHP:
update_option( 'SLUG_purchase_info' , [ 'purchase_code' => '7iEnat-SFkWH-g4HJ6-wgKNFjQoo-etJrvkY' ] );[/HEADING]
[HEADING=3]update_option( 'SLUG_import_params', [ 'submit' => 'import-demo-data', 'url' => 'https://SLUG.qodeinteractive.com/' ] );
With the previous example we should now have this code
PHP:
update_option( 'setsail_purchase_info' , [ 'purchase_code' => '7iEnat-SFkWH-g4HJ6-wgKNFjQoo-etJrvkY' ] );[/HEADING][/HEADING]
[HEADING=3][HEADING=3][/HEADING][/HEADING]
[HEADING=3][HEADING=3]update_option( 'setsail_import_params', [ 'submit' => 'import-demo-data', 'url' => 'https://setsail.qodeinteractive.com/' ] );
PHP:
update_option( 'setsail_purchase_info' , [ 'purchase_code' => '7iEnat-SFkWH-g4HJ6-wgKNFjQoo-etJrvkY' ] );[/HEADING][/HEADING]
[HEADING=3][HEADING=3][/HEADING][/HEADING]
[HEADING=3][HEADING=3]update_option( 'setsail_import_params', [ 'submit' => 'import-demo-data', 'url' => 'https://setsail.qodeinteractive.com/' ] );