WooCommerce, different prices based on location [closed]

The WooCommerce plugin, as of version 2.0, doesn’t support such feature out of the box, but it’s implemented by 3rd party plugins. I developed one of them, so I won’t post the link here because it’s not the right place for advertisement, but you can find the site in my profile.

Call a function with href

You can echo the return value of a function: <a href=”https://wordpress.stackexchange.com/questions/102196/<?php echo plugin_function(); ?>”> But without seeing the actual function, there is no way to give a more specific answer.

WooCommerce plugins permalinks?

Why do you want this? I can’t see any good reason. It’s much better for both usability and SEO to have the titles in the permalinks. But if you REALLY want this, you can use “/shop/%post_id%.html” as a product permalink base. You change this under “Settings” -> “Permalinks” and then at the bottom under the … Read more

WordPress 3,5 and Jquery version

WordPress includes the minified version of jQuery as jquery.js rather than using jquery.min.js. I don’t see any uncompressed version of it anywhere in the latest release of 3.5 (I’m looking at 3.5.3 right now). They’ve made some other changes to how development and production assets are loaded. There are now several files that are *.dev.js … Read more

WordPress Role Capability Restriction

The following excludes posts not written by the user from the edit-post screen (you can add further screen IDs if necessary) if they have the ‘contributor’ role. Normally I would suggest adding a custom capability, and comparing the capability not the role. But since it seems this plug-in isn’t for distribution, this is isn’t such … Read more