Devarticles - devarticles.in - DevArticles.In
General Information:
Latest News:
What is involved in SEO for a website? 22 Aug 2013 | 03:51 pm
Steps involved in SEO* On Page Optimization – It is directly related to the content of the website. 1) Content: Content is the king for a website, as they say. Content has to be fresh, original and ...
How to increase the number of Courier-IMAP connections on Centos, Linux 15 Aug 2013 | 03:27 pm
This article applies to you if you are seeing this message when accessing your email: Reason: UNIX-based servers running Plesk and the Courier-IMAP e-mail server drastically limit the number of inbo...
PHP – Fix apostrophe(‘) converting to entity in csv export 4 Jul 2013 | 11:08 am
1) If you read a .csv file for download: use \xEF\xBB\xBF after headers and just before you echo file data. For example: echo "\xEF\xBB\xBF"; // UTF-8 BOM readfile($file); 2) If you echo per line ...
Add checkbox option to general settings 30 May 2013 | 01:13 pm
How to add an option to wordpress general settings page i.e. /wp-admin/options-general.php? The dirty way. Put the following snippet in functions.php file: Recommended way, so that you keep everything...
Setting content headers to send WordPress HTML email 28 May 2013 | 03:48 pm
Just paste the following code snippet to your functions.php file of your current theme. It will force all emails to be sent in HTML format. If you want to set HTML format for specific emails and do no...
How to change WordPress default FROM name & email address 28 May 2013 | 03:23 pm
Paste the following code into functions.php file of your in-use theme. Don’t forget to put the desired email address in new_mail_from function(line 5) and desired name in new_mail_from_name function (...
How to get file extension using PHP 17 May 2013 | 10:25 am
A simple yet powerful approach to get file extension using PHP. We usually need to extract file extension from file name while uploading file so that we could generate new name and rename file to our ...
WordPress + Web.config “not found” error on home page 13 May 2013 | 05:45 pm
I was trying to setup wordpress on IIS when i faced this problem. I placed a web.config file with given xml code and pretty urls (permalinks) worked fine on all page except the home page. Home page ga...
How to Fix the “URL is Unreachable” Error in Facebook Comments 7 May 2013 | 05:37 pm
Recently, i have been setting up the Facebook Comments plugin on my client’s server. Before trying it on live server i tried to set it up on my development server. It looked to work but with a error “...
Custom search with pagination using query_posts() in WordPress 6 May 2013 | 01:31 pm
The number of posts per page is set in Settings > Reading in WordPress. Once this is set, specific number of posts are shown on home page, archive pages, search results page, and so on. An alternate a...