Cara menggunakan plugin my custom functionality di Oxygen Builder itu sangat mudah. Caranya persis seperti kita melakukan editing pada file function.php.
Masalah
Kenapa harus pakai plugin ini? karena Oxygen Builder tidak menggunakan themes. Jadi secara otomatis tidak ada file function.php yang bisa kita kustom.
Solusi
Solusi ketidakadaan file function.php itulah yang mengharuskan kita untuk menginstall plugin My Custom Functionality ini.
Tetapi
Anda tidak wajib menggunakan plugin ini kalau anda sudah menginstall plugin yang fungsinya untuk melakukan kustomisasi pada WordPress, misal:
- WpCode Sninppet (FREE)
- WPCodeBox (Paid)
- Script Organizer (Paid)
- Advanced Script (Paid)
Atau plugin-plugin sejenis lainnya yang bisa anda Googling Dewek!.
Bagi yang ingin menggunakan plugin My Custom Functionality ini ikuti instruksi dibawah ini:
Instruksi
- Download pluginnya disini atau langsung klik ini untuk direct download
- Login ke dashboard WordPress lalu navigasikan ke Plugin -> Add New -> Upload
- Selesai upload langsung akrifkan
Didalam plugin My Custom Functionality terdapat:
- 1 folder namanya: "assets" (untuk menyimpan assets seperti file javascript)
- 1 file css namanya style.css
- LICENSE
- README.MD
- plugin.php

Ketika anda punya kode snippet yang ingin dipakai di Oxygen Builder maka cukup tambahkan copy dan paste kode snippet tersebut didalam file plugin.php
Lihat Contoh:
<?php /* Plugin Name: My Custom Functionality Plugin URI: https://budiharyono.com Description: My custom functions. Version: 1.0.0 Author: BudiHaryono Author URI: https://budiharyono.com License: GPL-2.0+ License URI: http://www.gnu.org/licenses/gpl-2.0.txt This plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or any later version. This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with This plugin. If not, see {URI to Plugin License}. */ if ( ! defined( 'WPINC' ) ) { die; } add_action( 'wp_enqueue_scripts', 'custom_enqueue_files' ); /** * Loads <list assets here>. */ function custom_enqueue_files() { // if this is not the front page, abort. // if ( ! is_front_page() ) { // return; // } // loads a CSS file in the head. // wp_enqueue_style( 'highlightjs-css', plugin_dir_url( __FILE__ ) . 'assets/css/style.css' ); /** * loads JS files in the footer. */ // wp_enqueue_script( 'highlightjs', plugin_dir_url( __FILE__ ) . 'assets/js/highlight.pack.js', '', '9.9.0', true ); // wp_enqueue_script( 'highlightjs-init', plugin_dir_url( __FILE__ ) . 'assets/js/highlight-init.js', '', '1.0.0', true ); } // Paste kode snippet anda dibawah ini (ingat!!!!!!! tidak perlu tambahkan <?php lagi, cukup paste kodenya saja dan kalau didalam snippet anda ada tag pembuka <?php di awal kode jangan ikut di copy dan dipaste)
Jangan panik Kalau terjadi error!! lakukan ini:
- login ke cpanel anda lalu kunjungi "public_html/wp-content/plugins/my-custom-functionality-master/
- Buka file plugin.php
- Hapus kode snippet yang membuat error
- Save
Kelar!