Bulan: September 2014

Mac: Clock and Calendar in Menu Bar

MagiCal is a FREE menu-based clock and calendar. It features a huge range of configuration options for how the time and date are displayed, and can operate either in conjunction with, or as a replacement for the built in system… Baca selengkapnya Mac: Clock and Calendar in Menu Bar

Windows 8.1: Auto Login

This step not suitable for your tablet, notebook except that you can guarantee for 100% that you tablet or notebook will never touch by other people :D. Step 1. Open User Account To open User Account window, we have two… Baca selengkapnya Windows 8.1: Auto Login

WordPress: Create Meta Box in Post Editing Page

WordPress is one of the most powerful blog platforms out there. One of its strength is the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as meta-data and can be… Baca selengkapnya WordPress: Create Meta Box in Post Editing Page

WordPress: Create Custom Post Type

WordPress is capable of holding different types of content. We can create as many content types as we need depending upon the scenario in which we are working. To add more content types (generally known as “custom post types”), WordPress… Baca selengkapnya WordPress: Create Custom Post Type

WordPress: Create Simple Admin Panel for Themes or Plugins

When we create our themes, we also need to create our own theme options on the admin panel. By customizing the theme options, it will make it easy for us, and most importantly, for our users to control the theme.… Baca selengkapnya WordPress: Create Simple Admin Panel for Themes or Plugins

WordPress: Get Child Theme Directory Path

Until now, there is no legitimate code to get WordPress child theme directory path. But, maybe this code would help you to do that. define(‘child_template_directory’, dirname( get_bloginfo(‘stylesheet_url’)) ); // register the javascript function umrah_js() { wp_register_script( ‘jquery-textualizer’, child_template_directory . ‘/js/textualizer.min.js’,… Baca selengkapnya WordPress: Get Child Theme Directory Path

Add Setting Page To Custom Post Type

add_action(‘admin_menu’ , ‘add_settings_page’); function add_settings_page() { add_submenu_page(‘edit.php?post_type=custom’, ‘Custom Post Type Admin’, ‘Custom Settings’, ‘edit_posts’, basename(__FILE__), ‘setting_page’); } edit.php?post_type=custom Here where you want to add custom menu to your custom post type. Change custom to your custom post type slug Custom… Baca selengkapnya Add Setting Page To Custom Post Type

WordPress Options Page Checkbox

I am in the process of building my first WordPress plugin. Of course I am wildly researching how to do things. One thing that was particularly hard to find was how to use checkboxes in options pages. Here is the… Baca selengkapnya WordPress Options Page Checkbox

Using Dashicons for WordPress Theme and Plugin

This snippet will make WordPress load the dashicons.css file in the site header. That will set up the @font-face declaration allowing you to reference it in your other stylesheets. add_action( ‘wp_enqueue_scripts’, ‘themename_scripts’ ); function themename_scripts() { wp_enqueue_style( ‘themename-style’, get_stylesheet_uri(), array(… Baca selengkapnya Using Dashicons for WordPress Theme and Plugin

Hide/Show Password

Hide/show Password plugin for jQuery. It’s easy to take the “masking” of passwords (replacing characters with ••••) for granted

Protect Directory From Direct Access

There is simple way to protect directory from direct access or prevents from snooping eyes. Create [highlight color=”orange”].htaccess[/highlight] and copy the code below: Options Includes FollowSymLinks MultiViews And off course there is always more ways to protect your folder since… Baca selengkapnya Protect Directory From Direct Access

jQuery iframe auto height plugin

jQuery iframe auto height is jQuery plugin to set the height of an iframe to its contents height

Scroll to Top