cannot access subsites in wordpress multisite
cannot access subsites in wordpress multisite
cannot access subsites in wordpress multisite
Add a line of code in wp-config.php. Code is: define (‘WP_ALLOW_MULTISITE’, true); Now refresh your dashboard and see in TOOLS a new option is there as Network Setup. Click on it and install it. It give you code to write in two files i.e. wp-config.php and .htaccess write it and again login. You will see … Read more
Just as any regular string, you can use <?php esc_attr_e( ‘Your Search term here’, ‘your_theme_slug’ ); ?> So your code for the <input> would look like <input type=”search” class=”search-field” placeholder=”<?php esc_attr_e( ‘Your Search term here’, ‘your_theme_slug’ ); ?>” value=”<?php echo esc_attr( $search ); ?>” name=”s”> WPML, as well as WordPress, uses the PHP get_text() function. … Read more
This is a little tricky, and I don’t know if I got the best solution for this. However, it works. The trick is, I use the same hook as you do, wp_before_admin_bar_render. In there I get all the elements, and check them if they have the parent my-sites-list. If they do, I switch to the … Read more
This plugin did the job, for both posts and categories: http://wordpress.org/plugins/polylang/
Hijack site url on sub domain for translation
The plugin I have authored (Transposh) have this as a side effect, if you have the proper language files installed, and you set the default language using the plugin, the admin interface will change to that language. Alternatively you can create a function that will change the locale based on the site you are currently … Read more
about the permalinks you should go to settings->permalinks and change permalinks to “post name”. then you can see “/blog/” for your blog page. for translating your theme you dont need any plugins. you should work with .po files. go to your theme folder and then “languages”. there you can see translation files inside this folder. … Read more
There isn’t really a Swedish version of WordPress although they do provide a convenient package that has the language files already loaded. The only differences from the core (English) distribution are the folder wp-content/languages, the variable $wp_local_package=”sv_SE”; set in wp-includes/version.php, the localized readme.html file and the wp-config-sample.php file. So yes, you should be safe uploading … Read more
You can not translated dynamic strings with he translation API, you can translate only static strings that you know in advance.