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.…
Tag: wordpress tips & tricks
Caching large menus or header/footer links in WordPress
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…
Skipping plugin update request from WordPress Installation – Just A Hack
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…
ANZ-egate payment method for WP-Commerce Plugin
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…
Changing Currency Symbol in Wp E-commerce
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-Commerce Plugin
Working on ANZ-egate payment method for WP-E-commerce plugin (which is completed and here is the link to download). Helpful resources: http://getshopped.org/resources/docs/get-involved/writing-a-new-payment-gateway/ Looking at Paypal Express Checkout and Google Checkout merchant class There are certain issues so i strongly discourage using…
Hiding page title only on product pages of WP-ecommerce plugin while showing in others
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.
Fixing WordPress asking FTP connection in localhost running on XAMPP in Ubuntu
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…