Multi Site Setup, Child Themes, Getting Style Sheet Directory
I fixed it with changing the multi-site setup from sub-folders to sub-domains.
I fixed it with changing the multi-site setup from sub-folders to sub-domains.
For people, as me, that comes to this thread, looking for a solution, pll_get_post() is your function. I think this is the easiest solution for this problem. $the_translated_page = get_page_by_title( ‘Custom page’ ); $the_translated_page = pll_get_post( $the_translated_page->ID ); $the_translated_page_URL = get_permalink( $the_translated_page ); I’m pretty sure that this function (pll_get_post) was recently included in the … Read more
Try to set the constant COOKIE_DOMAIN to an empty value or the value of the real address. Example: define( ‘COOKIE_DOMAIN’, ” ); Be aware WordPress has a lot of issues with symlinks, so there might be other problems too.
Rewrite rules should not have absolute paths. This was likely caused by a bug, fixed in WP 3.5.1, see Changing subdir multisite install to subdir core directory structure question. Update to 3.5.1 (if you aren’t on it already) and regenerate htaccess rules.
Check for any filters that only return if certain conditions are met. I had an issue once where almost all my pages’ content areas were blank. I found the problem was in a snippet of code that looked like this: add_filter( ‘the_content’, ‘this_will_blank_pages’ ); function this_will_blank_pages( $content ) { if( is_page( ‘some-page-title’ ) ) { … Read more
I found the issue, thanks to @Toscho giving me the spark of an idea. We are using custom user roles and capabilities. It had something to do with the User Role Editor plugin. Deleted the custom role, and created a new one, reassigning all capabilities. Then updating all users to the newly created user role. … Read more
There is no way to add a page template through the WP-Admin screens in vanilla WordPress. To create a page template, you simply create a new .php file in your theme’s folder and add this comment to the top: <?php /* Template Name: YourTemplateNameGoesHere */ ?> You will then be able to select that template … Read more
After setting define(‘WP_ALLOW_MULTISITE’, true); in your wp-config.php file and doing “Network Activate”, you need to copy some new constants to your wp-config.php file. Are the following constants definitions there? define(‘MULTISITE’, true); define(‘SUBDOMAIN_INSTALL’, true); define(‘SITE_ID_CURRENT_SITE’, 1); define(‘BLOG_ID_CURRENT_SITE’, 1);
Yes, a multisite is what you need. The membership part is arguably a separate question, and there are many ways of doing it. I would suggest a dedicated members site users register to, but there are lots of other ways of doing it, and there is no definitive answer. See here for what to do … Read more
I’m not sure that what you want is possible. Per the WordPress Codex page on Multisite: You are given the choice between sub-domains and sub-directories, except when existing settings restrict your choice. You must choose one or the other. So you can set your network up to use either sub-domains OR sub-directories for your child … Read more