How to execute a plugin on a single page only?

WordPress has a built-in function called wp_enqueue_script() which will allow a certain piece of JavaScript to be included in a page. If you’d just like to see that script on a particular page, you can conditionally call it from the theme file. For example: <?php if (is_page(‘home’)) { wp_register_script(‘custom_script’, get_template_directory_uri() . ‘/js/custom_script.js’); wp_enqueue_script(‘custom_script’); } ?> … Read more

WordPress Related Plugin – only show when related content

I don’t know for sure if this would work but this is where I’d start: <?php $related_content = $related->show(get_the_ID()); ?> <?php if($related_content): ?> <div class=”related”><strong>Related products</strong><br /> <?php echo $related_content; ?> </div> <?php endif; ?>

Measure and limit file uploads

I would use a multi site installation for this. Give each user their own blog. Multi Site has built in disk quota functionality, and you can see how much of it is used and such in the admin area of each site. You can set the quota in the network admin: settings > network settings. … Read more