Shamim

How to Get Back Sublime Text 3 Menu

Sometimes we hide sublime text editor’s top menu. But there is no graphical option get back the menu. The task you have to do to get the menu is – Ctrl + Shift + P Then type– VM or vman you will see: View: Toggle Menu Select it and press enter. Finish!

How to show image from CodeStar Metabox

The non-repeatable image field creation: [php] $options[] = array( ‘id’ => ‘_custom_category_options’, ‘post_type’ => ‘category’, // or array( ‘category’, ‘post_tag’ ) ‘context’ => ‘normal’, ‘priority’ => ‘default’, ‘sections’ => array( // begin: a section array( ‘name’ => ‘section_1’, ‘title’ => ‘Section 1’, ‘icon’ => ‘fa fa-cog’, // begin: fields ‘fields’ => array( // a field …

How to show image from CodeStar Metabox Read More »

How to call jQuery in WordPress Plugin

  define( ‘AITASI_URL’, plugin_dir_url( __FILE__ ) ); add_action( ‘wp_enqueue_scripts’, ‘aitasi_script_load’ ); if ( ! function_exists( ‘aitasi_script_load’ ) ) { function aitasi_script_load() { wp_enqueue_script( ‘backstretch-script’, AITASI_URL . ‘/js/jquery.backstretch.min.js’, array( ‘jquery’ ), ‘1.0’, true); } }

How to Fix – The plugin generated xxx characters of unexpected output during activation?

After activation plugin, it shows– The plugin generated 362 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin. Let’s see to find the error. 01. creates log file error_activation.txt in your plugin folder. 02. Add this code to …

How to Fix – The plugin generated xxx characters of unexpected output during activation? Read More »

Implement of Codestar Sorter Field

Include the code the code in the config file– [php] // Sorter array( ‘id’ => ‘aitasi_sorted_section’, ‘type’ => ‘sorter’, ‘title’ => ‘Section Sorter’, ‘default’ => array( ‘enabled’ => array( ‘home’ => ‘Home’, ‘service’ => ‘Service ‘, ‘aboutus’ => ‘About Us’, ‘contact’ => ‘Contact’, ‘footer’ => ‘Footer’, ), ), ‘enabled_title’ => ‘Active Sections’, ‘disabled_title’ => ‘Deactive …

Implement of Codestar Sorter Field Read More »