Tag: wp
Output the number of WordPress Database Queries
The number of database queries a webpage makes to load the page have an effect on the page load time. You can use the following piece of code in the footer of your theme to find out how many database queries a page is making or WordPress query outputs and the time it takes to…
Moving WordPress blog from a subdomain to a subfolder
I had this blog and this main site on same domain, pixert.com a year ago. I got high traffic to same domain. I separated the blog from main site after serious problems occurred. I made pixert.com/blog for blog and pixert.com for main site That’s a mistake I should not done. Most startups have their blog…
Fatal Error : Out of Memory in WordPress
WP_MEMORY_LIMIT option allows you to specify the maximum amount of memory that can be consumed by PHP. This setting may be necessary in the event you receive a message such as “Allowed memory size of xxxxxx bytes exhausted”. This setting increases PHP Memory only for WordPress, not other applications WordPress will automatically check if PHP has…
Install Favicon into a WordPress website
1. Upload favicon.ico to the theme directory, e.g wp-content/themes/twentyeleven 2. Open file header.php, add the following code between <head> and </head>
WordPress: Sorry, this file type is not permitted for security reasons.
Add the following code snippet to functions.php. Change ‘filetype’ to the file type that is not permitted for security reasons
The Easy Way to Add Videos to WordPress
All we need to do to add (embed) a video into a post or page is to post the URL to it into the content area via Visual Editor You can set a maximum width and height The White-listed providers YouTube (only public videos – “unlisted” and “private” videos will not embed) Vimeo DailyMotion blip.tv Flickr…