How to Change WordPress Admin Username


If you try to change your WordPress username, you will see the notification like this - Usernames cannot be changed. But many times we need to change the WordPress admin username for security purposes. You will find many plugins to change the username in WordPress, but we prefer to change WordPress username manually. You can easily change the WordPress username through cPanel or WP admin panel.

Read Full →

Creating 3D Rotating Image Gallery with CSS


The 3D effect makes image gallery more attractive and provides a better user interface. There are many jQuery plugins are available for creating a 3D image gallery. But the 3rd party plugin increases the web page size which affects your website load time. So, if you want to make 3D image gallery with CSS without using a plugin, our CSS 3D concepts helps to create a 3D image gallery using pure CSS on the website.

Read Full →

Store and Retrieve Image from MySQL Database using PHP


Generally, when we upload an image file in PHP, the uploaded image is stored in a directory of the server and the respective image name is inserted into the database. But if you want to upload an image without storing on the server, it can be done using MySQL database. If you're concerned about the server space and need to free space on your server, insert the image file in the database without upload it to the directory.

Read Full →

How to Connect Multiple Database in CodeIgniter

connect-use-multiple-database -codeigniter-codexworld

Generally, one database is used for a single web application. But sometimes we need to use two or more database in a single site. If your application built with CodeIgniter framework, it's very easy to use multiple databases. CodeIgniter provides an easy way to connect and use multiple databases on the same or different server. Only some minimal configuration needed to connect to more than one database in CodeIgniter.

Read Full →

Creating Dynamic Email Template in PHP


Mail sending feature is the most used functionality in the web application. When we sending email from our website, an email template is used to make email content attractive and user-friendly. Dynamic Email Template makes it easy to manage templates for different types of emails. The dynamic email template is most useful when you want to send email for multiple purposes with different templates.

Read Full →

Center Align Menu in Bootstrap Navbar


The top navigation menu bar can be created easily with Bootstrap. Generally, the menu is aligned to the left or right side of the top navigation bar. Bootstrap provides an easy way to control the menu alignment. To align the text or menu links in Bootstrap navbar, navbar-nav and navbar-left or navbar-right are used. Add the custom defined class named navbar-center to align menu center.

Read Full →

How to Generate SEO Friendly URL in CodeIgniter


SEO friendly URL structure is a common technique for search engine optimization. The SEO friendly URL holds the keywords which help to improve the search engine ranking. It always a good idea to make website's URL SEO friendly for getting more traffic from search engines. If your website built with CodeIgniter and you want to create SEO friendly URL for the dynamic contents of the website, there is an easy way for that.

Read Full →

Send Email via SMTP Server in WordPress


When sending email from the script, it always a good idea to send using SMTP server. Send email via SMTP server prevents many issues such as your email being marked as spam. Basically, the wp_mail() function is used to send email in WordPress. If you want to use SMTP server to send email in WordPress, PHPMailer Class will be the best choice. You can easily send emails using SMTP in WordPress without using any plugins.

Read Full →

Get Videos from YouTube Channel using Data API v3 and PHP


The YouTube Data API provides an easy way to access YouTube channel data and incorporate into your web application. The various resources can be retrieved from YouTube channel using Data API. If you want to implement YouTube videos gallery on your website, it could be done using YouTube Data API and PHP. Use YouTube Data API v3 to retrieve videos from YouTube channel and list them in the website using PHP.

Read Full →