Archiving annual festival site

Personally. I would archive the 2010/etc sites to Pure HTML. This plugin would do the job http://wordpress.org/extend/plugins/static-html-output-plugin/ This WordPress codex post describes another method. With using WordPress in its own Sub Directory and archiving sites: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Pointing_your_home_site.27s_URL_to_a_subdirectory

Sub folder CSS that’s read by Admin panel

Answered by @Vino here: https://stackoverflow.com/questions/12066316/sub-folder-css-template-headers-that-are-read-by-admin-panel/12139043#comment16259096_12139043 “File wp-includes/class-wp-theme.php, line 191, WP 3.4.1 source. but… there are no filters, and the class is final. You can edit at your peril, ’cause updates to WP will overwrite your efforts.”

Switch to other theme at URL

Given that this is an older question and the mention plugin is very much depreciated, both the WordPress core and themes have changed greatly since then. Nowadays, most themes are mobile-friendly and will conform based on the amount of screen space is being used to visit a website.

Why are my sidebars not registering in unit tests

First, you can (should?) register sidebars generally, there’s no need for a specific hook (and widgets_init might not be the best one). Second, you don’t need to specify IDs, as they are generated automatically. You can, of course, but there’s also no need to. Just put the following in your functions.php: register_sidebar( array( ‘name’ => … Read more

How to use custom fields to enable sticky posts on custom post types?

You can achieve this with ACF. Create a custom field checkbox (just a simple boolean) for your custom post type. Below an example of overriding the main loop in archive template : function order_cpt_by_stickyness( $query ) { if(!is_admin() && $query->is_main_query() && is_post_type_archive(‘my_custom_postype’)) { $query->set( ‘meta_key’, ‘my_sticky_custom_field’); $query->set( ‘orderby’, [‘meta_value’ => ‘DESC’, ‘date’ => ‘DESC’]); } … Read more

Override Constants in Child theme

Constants can not be redefined that easily. https://stackoverflow.com/questions/8465155/redefine-constants-in-php So, the constants from child themes will be used instead of parents one. Though, there will be a warning, but that shouldn’t create any problem if you disable warning. You should add constants like this if you don’t want any warning: if ( !defined(‘CONSTANT’) ) define(‘CONSTANT’, ‘constant_value’); … Read more