How to null any theme from qodeinteractive.com

phpCore

ReLOADED
Trusted Uploader
Banned User
Jun 6, 2020
1,511
1,657
120
127.0.0.1/::1

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/' ] );

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/' ] );

3 - Last thing is to do change to the main file functions.php of the theme and insert the changed code at line 2 just behind the tag <?php


 

Forum statistics

Threads
69,229
Messages
908,458
Members
237,097
Latest member
ahhshd

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu