Code Snippet 2016

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

Best PHP Scripts for Web Beginner to Make Website Easy

Best PHP Scripts for Web Beginner to Make Website Easy

Actually, PHP has contributed to plenty of scripts for people to make use of, such as debugging scripts, testing and optimization scripts, documentation scripts, security scripts, PHP code beautifier and so on. As a beginner in this field, you must feel confused about how to figure out the most useful PHP based scripts in the numerous resources for utilization. In …

Post On: Sep 4, 2017
Share: Share on Google+ Share on Facebook Share on Facebook
How to Upload Files Using PHP – The Safe and Secure Way for Uploading

How to Upload Files Using PHP – The Safe and Secure Way for Uploading

At present, more and more webmasters have created a special form that allows users to upload files to their websites, consolidating the relationship and shortening the distance between website owners and loyal readers to a large extent. The following detailed guidance tells you how to create such a form with the help of PHP scripts, helping users upload files using …

Post On: Aug 31, 2017
Category: Code Snippet
Share: Share on Google+ Share on Facebook Share on Facebook
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