Code Snippet 2016

The showcase of popular code snippet in website development, including native PHP code, WordPress code, Joomla code, Drupal code, etc.

An Ultimate Guide to Use WordPress Shortcodes

An Ultimate Guide to Use WordPress Shortcodes

Shortcodes were introduced in WordPress 2.5v, and they have been widely used to increase the functionality of WordPress. In most cases, those shortcodes come bundled with plugins and themes, which vary greatly depending on what you’ve instructed WordPress to do. In this guide, we’ll show how to create and use simple shortcodes to enhance blogging experience. For those of you …

Post On: Jun 15, 2015
Category: Code Snippet
Share: Share on Google+ Share on Facebook Share on Facebook
Add an Admin to WordPress Using SQL Queries via PHPMyAdmin

Add an Admin to WordPress Using SQL Queries via PHPMyAdmin

What can you do if you are locked out of your login account? Many webmasters may have come to such embarrassing situation and have no idea how to deal with this big issue. In fact, there are many reasons forcing you to add a new admin user to your WordPress database, such as hack attacking, password lost, user account deletion, …

Post On: Feb 23, 2015
Category: Code Snippet
Share: Share on Google+ Share on Facebook Share on Facebook
CSS Tutorial – The Content Makeup Language

CSS Tutorial – The Content Makeup Language

Many of you might have already heard about the term CSS, but do you really know what it is, how it works, and how to utilize it? In this article, our editors have given you a detailed introduction about CSS, with which you can have a clear and precise understanding of this powerful style sheet language. CSS, the acronym of …

Post On: Aug 29, 2013
Category: Code Snippet
Share: Share on Google+ Share on Facebook Share on Facebook