How to Create Time Range Array in PHP


If you want to provide a time picker dropdown for selecting time, then there are many options to do that. You can use jQuery plugins to provide a time picker to the user or generate a custom time picker dropdown with PHP. If you are concern about the web page load time, then it will be better to use custom time range dropdown for selecting time. Using PHP you can easily create a time range array that helps you to generate time picker drop-down HTML.

How to Install PHP GD Support to Apache on Ubuntu


GD library is used to create and manipulate image file in PHP. PHP will need to be compiled with GD library for image functions to work. If you are using Apache web server and want to install PHP GD support, then this tutorial will help you a lot. Ubuntu comes with the package called php5-gd to add GD support. You need to install php5-gd to Apache for using the image functions in PHP.

Simple PHP Shopping Cart using Sessions


A shopping cart is an important part of every eCommerce project. It helps the user to select multiple items for purchase and view total price before submitting the order. If you want to build a simple PHP shopping cart from scratch, this step-by-step tutorial will help you a lot. In this tutorial, we'll provide the complete guide and script to creating a simple shopping cart in PHP using sessions and MySQL.

How to Protect WordPress Site from Hackers


Most of the users overlook the security of their WordPress website because there is a myth that it is one of the most secured CMS platforms. But the truth is that there is not a powerful way to completely protect a site or blog from hackers, spammers, and other security threats. Fortunately, there are a few ways that can help you strengthen the security of your WordPress site and blog.

How to Highlight Specific Dates in jQuery UI Datepicker


The jQuery UI Datepicker is a widely used plugin that provides an easy way to add a calendar to the input field for selecting a date. The jQuery Datepicker is attached with form input field or inline element to open an interactive calendar. Also, it is a highly configurable plugin that lets you customize datepicker functionality as per your requirement. There are few great customization options are available in jQuery UI Datepicker, beforeShowDay is one of them.

How to Create Simple CSS Tooltip


Tooltips are a great way to showing details information to the user by hovering a text or image and it helps to improve the user experience of your website. Using tooltips you can display image caption, description for links, and useful information. You can easily create a tooltip with CSS without using JavaScript or jQuery. In this tutorial, we'll provide a short code snippet to create simple CSS tooltip that appears when the user moves the mouse pointer over a text.

How to Create Custom Post Types in WordPress without using Plugin


WordPress has many different content types. A single item of content is called a post, also post is a specific post type. All the post types are stored in the same database table and differentiated by a column called post_type. By default, five post types are available in WordPress. Also, you can create new post types which are called Custom Post Types. A custom post type can be added to WordPress using register_post_type() function.

Add Subscriber to List using MailChimp API and PHP


MailChimp is an email marketing service, helps to manage the subscribers of your website. MailChimp provides an easy way to integrate email signup form in your website and send the email newsletter to the subscriber. In this tutorial, we'll show you how to integrate newsletter subscription form in your website and add subscriber to list with MailChimp using MailChimp API and PHP.

The Transitioning Guide of to Self-Hosted WordPress


WordPress is one of the most flexible and versatile blogging platforms. It is considered as an ideal blogging platform for webmasters who are seeking to build their blogs in few minutes. But if you're a newbie then you must be confused, which way to go or And if you're are a regular WordPress user then you must be wondering how to switch your Blog from to Therefore, keeping this is mind here is a comprehensive guide on how a webmaster can move to self-hosted WordPress.

CodexWorld Newsletter

Subscribe CodexWorld updates via email and get every new post delivered to your inbox.