Web Dev Tuts
  • How to Add/Update Your Plugin Files on WordPress Repository

    This tutorial assumes that your plugin has been submitted and approved by WordPress . https://wordpress.org/plugins/add/ Download and install TortoiseSVN Create a folder on your pc, e.g. Documents -> WordPress_Repository -> My Plugin_Name Right click on the folder and click SVN Checkout On the pop up window (see screenshot above), enter the SVN repository path, click
    Continue reading...
  • How To Create WordPress Child Theme

    Why Create Child Theme Oftentimes, we need to customize bought theme to suit with our requirements. But with doing so, we won’t be able to update the theme to it’s latest version or else the changes we made will be overwritten. The avoid this, instead of doing the changes to the theme, we will need
    Continue reading...
  • How to add New Thumbnail Size in WordPress

    If you want to add new thumbnail size, just add the ff: if ( function_exists( ‘add_image_size’ ) ) { add_image_size( ‘my-thumb’, 220, 180, true ); //(cropped) }   to retrieve the image, simple call get_the_post_thumbnail(get_the_ID(), ‘my-thumb’); Note: You have to rebuild thumbnails of older images in the media. To do this, go to Media ->
    Continue reading...
  • Hide a Post by Displaying the 404 Error Page

    Create a function which will check your condition. If the condition is met, set $wp_query->is_404 to true. Then call that function like add_action(‘template_redirect’, ‘functionName’); function functionName() { global $wp_query, $post; if (condition here) { $wp_query->is_404 = true; } } add_action('template_redirect', 'functionName');    
    Continue reading...
  • Import Mysql Using PHP

    On phpmyadmin, export the database.
    Continue reading...
  • How to get Thumbnail of a Youtube Video PHP

    Discussion here. 🙂 http://webdev-tuts.com/demo/slider-4/ http://webdev-tuts.com/demo
    Continue reading...
  • How To Create Custom Post Type

    Create the ff. class, replace the class name and the private variable values and call it.
    Continue reading...
  • How To Create Closeable Admin Notice in WordPress Dashboard

    Create the function and echo the message.
    Continue reading...
  • How to Install WordPress Theme

    Have your theme ready. Login to wordpress dashboard. Go to Appearance -> Themes. Click Upload. Upload your theme (zip format) The theme is now activated.   Free WordPress Themes: http://wpshower.com/ http://smthemes.com/soundwaves/   Premium WordPress Themes: http://www.xthemers.com/ http://templatic.com/  
    Continue reading...
  • How To Create WordPress Themes

    Creating a wordpress theme is easy.             Free WordPress Themes: http://www.freewpthemes.net/ http://wpshower.com/themes/sight/
    Continue reading...
Newer Posts 1 2 3 … 5 6 7 Older Posts

Recent Posts

  • How to add wp_editor Dynamically
  • How to Hide Certain Pages from Certain Users (WP Dashboard)
  • How to Set Up Gmail SMTP
  • How to Set Up Virtual Host in Localhost & Xampp
  • How to Determine the Current WordPress Version Used
  • AngularJs
  • CSS
  • For Me Only
  • geo location api
  • GIT
  • GoDaddy
  • Hosting
  • How To
  • Javascript
  • JQuery
  • Magento
  • My Notes
  • PHP
  • Private
  • Sass
  • WooCommerce
  • WordPress
  • Xampp