InimistTech Blogs

Web & Mobile App Tech Weblog

  • Home
  • Laravel
  • React
  • Javascript
  • Linux
  • PHP
  • git
  • WordPress
  • Hindi to Unicode

Month: May 2013

How to add an option to WordPress general settings

Arvind KumarWordPressLeave a Comment on How to add an option to WordPress general settings
wordpress logo

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:

Setting content headers to send WordPress HTML email

Arvind KumarWordPressLeave a Comment on Setting content headers to send WordPress HTML email
wordpress logo

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. [php]function set_html_content_type() { return ‘text/html’; } add_filter( ‘wp_mail_content_type’, ‘set_html_content_type’ );[/php] If you want to set…

Read More→

How to change WordPress default FROM name & email address

Arvind KumarWordPressLeave a Comment on How to change WordPress default FROM name & email address

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 (line 8). If you do not know how to do it…

Read More→

How to get file extension using PHP

Arvind KumarPHPLeave a Comment on How to get file extension using PHP
A simple way to debug a php application in production mode

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 convenience. We could create…

Read More→

WordPress + Web.config “not found” error on home page

Arvind KumarWordPressLeave a Comment on WordPress + Web.config “not found” error on home page
wordpress logo

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 gave a Not…

Read More→

How to Fix the “URL is Unreachable” Error in Facebook Comments

Arvind KumarWordPressLeave a Comment on How to Fix the “URL is Unreachable” Error in Facebook Comments
wordpress logo

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 “Warning: http://coolum.inimist.com/?p=1 is unreachable.“ where…

Read More→

Custom search with pagination using query_posts() in WordPress

Arvind KumarWordPressLeave a Comment on Custom search with pagination using query_posts() in WordPress

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.

  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • Build Reusable Components in React
  • Introduction to Node.js for Beginners
  • Getting Started with the MERN Stack: A Beginner’s Guide
  • Introduction to Node.js for Beginners
  • How to Modify WooCommerce Templates

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms
Facebook
fb-share-icon
LinkedIn
Share
WhatsApp
Follow by Email
Twitter
Post on X
Reddit
Pinterest
Instagram
RSS
Telegram