Tag Archives: wordpress tips & tricks

wordpress logo

Loading all WordPress posts having or not having a custom meta field

wordpress logo

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

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 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

wordpress logo

Skipping plugin update request from WordPress Installation – Just A Hack

wordpress logo

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-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 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

anz-egate payment method for wp-commerce plugin

Working on ANZ-egate payment method for WP-Commerce Plugin

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:

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

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 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