In a scenario one would like to create a custom meta key value pair for a post and save some value into it. Assume of an existing blog with hundred of posts which you want to add a custom field. Also assume a case in which you can only edit one post at a time and enter custom meta key value one by one. 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
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
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
Working on ANZ-egate payment method for WP-E-commerce plugin (which is completed and here is the link to download).
- Looking at Paypal Express Checkout and Google Checkout merchant class
There are certain issues so i strongly discourage using this plugin right now. I am busy with something else at the moment so if you are a php developer you can try and extend this plugin to make it complete.
Current status: Live, doing good. Continue reading
Here’s a small tip on how to hide (not display) page titles of WP-ecommerce product pages while showing normal pages titles as usual. In fact i wanted to not display titles, i.e. 1. Products Page and 2. Product Details page. Continue reading
Recently i had this issue. I would go to wordpress admin plugins page and try to delete a plugin. It would ask me for FTP connection details. I tried different combinations but it didn’t work. In fact i don’t know anything about FTP connection details on my local machine yet but i was able to fix this one with the help of some kind guys over the internet. Continue reading