• Add Custom Admin Option For WooCommerce Products

    Continue reading...
  • Calling Ajax in WordPress

    There are so many ways to call ajax in WordPress, but below is how I do it. 🙂 Add the following functions in PHP file. Add the following functions in JS file.
    Continue reading...
  • Display PHP Errors

    The following code snippet will show php errors and warnings if there is any.
    Continue reading...
  • Plugin Class

    Since I know that I will be making more plugins for the rest of my life, I decided to create a class that does the basic task that most of my plugins need, namely: adding scripts and styles to the dashboard pates and/or website pages. Copy the Plugin Class from WDT-Framework
    Continue reading...
  • How to Create Custom Button for WP TinyMCE

    coming soon!
    Continue reading...
  • How to Create a Lightbox

    To make it easy for me to create lightbox for any web development projects, I made the simple lightbox function that you can I can easily add and call. Step 1: Copy the scripts below to your javascript file. Step 2: Create the contents of your lightbox, e.g: Step 3: Call the lightbox function. Where
    Continue reading...
  • How to Set Up a WordPress Website

    Setting up a WordPress website can be done on your even if you don’t have a background in web development. Whether you want a business website, a blog, or even a ecommerce website, as long as you can follow detailed instructions, you can set it up your own. Step 1: Choose a hosting provider If
    Continue reading...
  • How to Create a JQuery Function

    If you want to add JavaScript and/or JQuery functionality, and you want to easily reuse the codes in your future projects, it would be better to put in in a JQuery plugin. In other words, you will create a new JQuery plugin that you can reuse or share to other web developers. Also, putting your
    Continue reading...
  • Adding of Custom Fields in WordPress Category

    I have created a class that you can use so that you can easily add custom fields to WordPress category. To use it, follow the simple steps below: Step 1: Download the class and copy it on your plugin or theme folder. Download Now! Do not forget to include it the file using include_once or
    Continue reading...
  • How to Make Tables Sortable Using JQuery

    Step 1:  Add these two jquery functions. [code] jQuery.fn.sortTable = (function(sortableRows){ table = $jx(this); $rows = ”; for($i in sortableRows) { $rows = $rows + sortableRows[$i]; if (sortableRows[$i+1] != null) { $rows = $rows + ‘, ‘; } } $jx($rows) .wrapInner(‘<span title=”sort this column”/>’) .each(function(){ var th = $jx(this), thIndex = th.index(), inverse = false;
    Continue reading...