How to go to tag archives using a form

To understand how to do it you first need to know how the url query works or more specifically what query vars you need, so: ‘post_type’ – to filter by post types. ‘area’ – to filter by area taxonomy. ‘university’ – to filter by university taxonomy. so your url would look like: // http://www.domain.com/?post_type=properties&area=area_term&university=university_term Now … Read more

How to set up suhosin.ini for unlimited menus

I found the answer, so I’m posting it to help others out: In this file (depending on your server setup): /etc/php5/apache2/conf.d Change suhosin.ini on the following lines (remove the semicolons if applicable): suhosin.post.max_vars = 5000 suhosin.request.max_vars = 5000 The default 1000 will not work – 5000 seems to work well for my needs (so far!)

How to assign the default file at “Appearance > Editor”?

Unfortunately you can’t control what files are loaded on that page… But you can disable the editor page and provide the user with theme options that allow him to include his own CSS. To deal with this I’m creating and activating a child theme automatically if possible: if(!is_child_theme()){ require_once(ABSPATH.’wp-admin/includes/file.php’); if(!WP_Filesystem()){ // fail, proably no write-access, … Read more