WordPress User Post Products

These four requirments comes right of the box with wordpress. You don’t need any extra plugin for that. Any user can register – Go to General settings page and enable Anyone can register option by checking checkbox available next to it. They can post product – Assign them a role of author so that they … Read more

Best way to count visitors?

There are a number of ways of achieving this but the two ways I would concider would be Google analytics – http://wordpress.org/extend/plugins/google-analytics-for-wordpress/ WordPress Sitestats – http://wordpress.org/extend/plugins/stats/ or install http://wordpress.org/extend/plugins/jetpack/ as it comes with that.

How to setup a product that has multiple price options? [closed]

Yes, you’ll need to set this as variable product. After selecting variable product, go to attributes. Name it – for instance – Number of Attendants. Then in the values area enter – 1 attendant: $125|2 attendants: $195 At this point, press publish. Then select the variables tab and click on the items – 1 attendant … Read more

Minimizing scripts & css files that plugins add

I would suggest using a minify plugin that will automatically combine all the scripts and styles for you. Here are a few that will do it for you: http://wordpress.org/extend/plugins/w3-total-cache/ http://wordpress.org/extend/plugins/bwp-minify/ http://wordpress.org/extend/plugins/wp-minify/ http://wordpress.org/extend/plugins/minify/

Hook into the rendering of a WordPress Template

You can, but WP doesn’t offer you the possibility to do it in a nice way, so you have to use output buffering. Something like: // before template is included add_action(‘template_redirect’, function(){ // you can do some checks here // perhaps you need this only a certain page? if(!is_home()) return; // capture output from here … Read more

WordPress plugin url for form submit

It doesn’t need a new submit URL, most of the plugins submit the form on the same page(the one on which the form was rendered), then before rendering the form they check if there is submitted data present. Then for eg. if data is present then they have to show a thankyou message & skip … Read more

Thesis 2 custom Page

You can hook from the custom.php file inside /wp-content/thesis/skin/skin-name/ Or you can use this box http://www.rickbeckman.org/the-brazenly-coded-box-for-thesis-2-0/ to write PHP codes directly inside Thesis skin editor.

Basics of changing plugin output

Take a look at WordPress hooks from the Plugin API. There are actions and filters to be used by plugin authors so that other developers could alter the content without changing the core code. However, if they are not used properly (or missing), the only two options are CSS changes (wherever possible, because stylesheets could … Read more