admin

WordPress: Open “Visit site” in a new window

add_action( ‘admin_bar_menu’, ‘customize_my_wp_admin_bar’, 80 ); function customize_my_wp_admin_bar( $wp_admin_bar ) { //Get a reference to the view-site node to modify. $node = $wp_admin_bar->get_node(‘view-site’); //Change target $node->meta[‘target’] = ‘_blank’; //Update Node. $wp_admin_bar->add_node($node); } To change any other item in the menu bar… Baca selengkapnya WordPress: Open “Visit site” in a new window

WordPress: Featured Image Thumbnail in Posts or Pages Admin [update]

Last year I post about How to add featured image thumbnail to WordPress admin columns and the code seems not right, because the result give a full resolution of Featured Image, and that’s is so messy. And here I tried… Baca selengkapnya WordPress: Featured Image Thumbnail in Posts or Pages Admin [update]

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

Scroll to Top