I literally overlooked this very useful option till now. So.. you can re-size image to your desired dimension by clicking those 60%, 70% tabs as shown in the figure below. hmm! Continue reading
Even if you are not using some robust caching plugin or tool in wordpress you can cache small chunks of data using basic caching techniques of PHP. In my example i had been creating a few dozens of links in the footer i would cache my links part so every time my page loads wordpress does not have to create each and every link by querying the database for each individual link. Here’s the simple code: Continue reading
One of the cool things one can do in wordpress is to create a gallery or portfolio of images using files directly from Media Library. In general after been uploaded, files in wordpress become “Attachments”. I will show you how i created a simple portfolio page using files uploaded in my media library. Continue reading
I wanted to show the nggallery images in my web page using a php template tag in the theme template file. What i mean i wanted to use [nggallery id=6] in my template to show a particular gallery after matching a certain condition. I searched for a solution at their website but i finally got it at wordpress’s website here http://wordpress.org/support/topic/nextgen-gallery-in-template. Continue reading
Received this warning in Google Chrome last night when i tried to open my website jogindernagar.com built in WordPress.
Warning: Something's Not Right Here! Continue reading
www.jogindernagar.com contains malware. Your computer might catch a virus if you visit this site.
Sometimes, you may want your WordPress installation to not to ask you for upgrading a certain plugin you might have edited or extended in order to meet your requirements. Though this is not a good practice to modify a certain plugin directly, but in certain situations we just need something to happen somehow and do not care for or require future upgrades to the plugin. If you are okay doing this, read on.. Continue reading
ANZ-egate payment method for WP-E-commerce plugin. I hope it works for you. Bug-fixing or improvements are welcomed.
How to install: Create a new file (plugins/wp-e-commerce/wpsc-merchants/anz-egate.merchant.php) and place this code into this file. Once saved check the Payment Method section of the WP-ECommerce and it should show options for the ANZ-Egate payment method. It should work similar to other payment methods. Create your own logo for ANZegate or download this one Continue reading
I would try to save UAW options at http://www.myexamplewebsite.com/wp-admin/options-general.php?page=unique_articles/unique_articles.php and it would end up in a “404 Not Found error”. I tried different things in order to fix it.. debugged through the action of the options form, changed form action, urlencoded the url and so one but it would not fix. At last a thought came that it might be causing due to a very long list of categories listed (around 700 categories) on the options page and i tried commenting category checkboxes tree out and pressed Update button. To my pleasant surprise it worked. Continue reading
I had been using WP Autoresponder And Newsletter Plugin (http://wordpress.org/extend/plugins/wp-responder-email-autoresponder-and-newsletter-plugin/) when this issue occurred. I tried to edit and save a newsletter which i had created but the values didn’t save.<!–more–> On debugging i found that the Newsletter Edit form’s hidden input element named “wpr_form” (before the hidden input element that contained newsletter id) missed the closing bracket. To fix this possible issue you need to open views/newsletter_form.php and edit the following code near line 71
<input type="hidden" name="wpr_form" value="<?php echo $wpr_form ?>"
to make it complete, i.e.
<input type="hidden" name="wpr_form" value="<?php echo $wpr_form ?>" />
Saving the newsletter should work now. In the meantime i am also writing to the author of this plugin so i hope when you read this post the issue is already fixed.
There are two possible ways to do this.
- You have access to database.
For example through phpMyAdmin. Find the table wpsc_currency_list (with or without prefix) and edit the desired country row. You need to edit symbol and/or symbol_html entries accordingly