conditional tags for the output of a plugin

You code is not wrong, probably the only problem is that you are using is_home() when you need is_front_page. However, just for a tip, I want show how your code can be semplified a lot: class donor_pdf_plugin extends WP_Widget { static $fields = array(); // Constructor function donor_pdf_plugin() { self::$fields = array( ‘link’ => __(‘Menu … Read more

WPMU site in subdirectory: When I clone a site with NS Cloner Pro plugin, how do I remove the subdirectory from the URL?

Here is the answer that I provided through official support and the ultimate confirmed solution was to move the installation to the domain root and eliminate /new/ altogether; full explanation: Thanks for your question. Hopefully I understand your scenario correctly. Have you previously been creating subsites the normal way? What do their paths look like? … Read more

How do I get WooCommerce to recreate the home page?

WooCommerce does not create a ‘home page’. The pages which do get auto-created (as part of version 2.0.14 which is stable at the time of writing) are: Shop (this is a placeholder for the main post type archive) My Account Checkout Cart lost password logout edit address view-order change password Pay Order received To have … Read more

Posts are deleted everyday at night

‘Every night’ sounds like it’s triggered via a cronjob. You may install the wp-crontrol plugin to see what cronjobs are sheduled in your wordpress install. If you don’t see something obvious there I would also suppose it happens outside of wp. But as you already pointed out, you can only be sure when you revert … Read more