Home / Wordpress (page 5)

Wordpress

Sorting Arrays – PHP

Welcome to all, Today we practise how to sort an array using php. We know this same problem solving using C, CPP or JAVA etc. But here I share how to solve this problem in php. To arrange the elements in an array in numerical order from highest to lowest …

Read More »

AND and OR Operators – SQL

Hi Guys, Today we share our idea related to AND and OR operator with example. The AND and OR operators are the conditional operator in SQL. It is used to filter the data or records based on conditions. The main difference between AND and OR operators are: the AND operator …

Read More »

Difference Between ‘= =’ and ‘= = =’ in php

Hi Guys, In one of the recent web developer interview, one interviewer ask “what is the difference etween == and === in php”. All are face this same situation in interview panel. Nobody knows the theory part. Then everybody shocked. Based on this situation, I just describe what are the …

Read More »

Count Number of Files in a Directory / Folder – PHP

Hi Guys, Today I share some useful topic related to two inbuilt function s in php for count number of files in php. The functions are: glob(() count() Here’s a simple code of PHP code to get the total number of files in a directory using the glob() and count() …

Read More »

My_blog- Free Flat Design WordPress Theme

Hi all, Wordpress use both simple and complex website. WordPress is the CMS platform on the web. WordPress theme can be used to create website like blog, personal, corporate and portfolio site. My_blog theme is free wordpress theme. It’s simple and responsive. This modern and flat theme is designed based …

Read More »

Number Validation Using JavaScript

Here I explain, how to perform number validation using pur javascript method. The values of the Number field textbox is compared using isNaN() inbuilt function in JavaScript .If the values do not numeric values an error message is displayed like ‘Enter Numeric value only’. If the values are numeric then …

Read More »

WordPress Form Plugin with ShortCode

Hi all, I am going to explain you how easily you can create your own shortcode using one simple examples. Shortcode function to create shortcode in WordPress plugin. For using shortcode function, you have to define a handler function that parse the shortcode and return some output. Then, you need …

Read More »

Redirect subdomain to main domain htaccess

Hi friends, Try adding this to an appropriate place in your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^prittytimes\.com$ [NC] RewriteRule ^ http://prittytimes.com/webcrased [L,R] As long as the requested host is prittytimes\.com, the rule will be applied. With the regex match set to ^, any URI will match and the target …

Read More »

Removing file extensions using htaccess

RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php

Read More »
Social Media Auto Publish Powered By : XYZScripts.com