I am not sure if I should place the codes in every theme enabled in my site or just the main site? The other thing, if I were to upgrade the themes I will have to remember to place the codes again. Is there a file that I can create (similar to that of bp-custom.php) in the plugin to suspend the front end when blog expires?
2) Currently, the plugin only exempts the main site from payment. Is there a way for me to include other sites from payment other than extending the period?
I am not sure if I should place the codes in every theme enabled in my site or just the main site? The other thing, if I were to upgrade the themes I will have to remember to place the codes again. Is there a file that I can create (similar to that of bp-custom.php) in the plugin to suspend the front end when blog expires?
2) Currently, the plugin only exempts the main site from payment. Is there a way for me to include other sites from payment other than extending the period?
Definitely all doable, but it'll require a fair amount of custom coding. The solution provided in the other forum uses the theme's function and header file. You could do the same with a plugin - but you'd still have to add a check in each theme's header.php
You can also manually edit any blog through the database to manually extend any blog. Look in the site's wp_options table for blog_expire and then extend it for something like 25 years.
Responses (1)
Sales & Support Lead — 24th April 2011 20:21 #
Hiya becky,
Definitely all doable, but it'll require a fair amount of custom coding. The solution provided in the other forum uses the theme's function and header file. You could do the same with a plugin - but you'd still have to add a check in each theme's header.php
You can also manually edit any blog through the database to manually extend any blog. Look in the site's wp_options table for blog_expire and then extend it for something like 25 years.
We can't do the custom code for you here on the forums, but if you're looking for some help you may try posting up a request on the job boards: http://premium.wpmudev.org/wpmu-jobs/new-project/
Thanks!
Become a member