Tag Archives: wordpress

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

Showing Next-gen gallery inside the template file

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

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

Briefly unavailable for scheduled maintenance. Check back in a minute

“Briefly unavailable for scheduled maintenance. Check back in a minute”

If this message appears on you wordpress website for more than you anticipated if might mean that your wordpress update failed due to some reason. You can get rid of this message by deleting a .maintenance file which wordpress places at your site root when it starts to update and deletes it when upgrade is successfully completed. Continue reading