Error when upload images larger than 1024px [closed]
I see that you have given the upload_max_filesize but you should also give post_max_size in your php.ini file.. post_max_size = 32M
I see that you have given the upload_max_filesize but you should also give post_max_size in your php.ini file.. post_max_size = 32M
I dealt with this writing a custom template tag. You may want to adjust the structure and classes in order to fit the needs of your styling: function mysite_languages() { if ( function_exists( ‘icl_get_languages’ ) ) : $languages = icl_get_languages( ‘skip_missing=N&orderby=KEY&order=DIR&link_empty_to=str’ ); if ( ! empty( $languages ) ) : echo “\n<ul class=\”languages\”>\n”; foreach ( … Read more
The problem your GET param is using the same name as the query var for your custom post type. $link = $link_aqui_se_sirve.’?’.$establecimientos_cpt_name.’=’.$tax->slug; With that URL, WordPress is expecting the value of the $establecimientos_cpt_name parameter to be a post slug. Instead you are giving it a taxonomy slug. This will give you a 404 unless you … Read more
So I’ve made it work. The problem was not with the filter but with tax query. Here is the solution for those who might be interested. <?php // I check the lang query var if it’s empty we’ll display all languages $langGet = get_query_var(‘lang’, ‘all’); ?> /* Then have my form to filter posts */ … Read more
The way WPML works is that you have a translation or a duplication across all languages of your content, that way each language has access to all content. You can duplicate or better yet batch duplicate any content that you need for all languages. WPML makes it easy to maintain that content across all languages. … Read more
Hook in to add new post link wp admin?
Export your tables using phpmyadmin interface. Just select those tables only that you want to export from the old database and import those tables in the new database or you can run the command(query) in mysql to copy one table create table newdbname.newtablename like olddbname.oldtablename; INSERT INTO newdbname.newtablename SELECT * FROM olddbname.oldtablename; Repeat the same … Read more
I’ve encountered exact same problem. Bad news it is not well supported by WPML… To be more specific it is supported in a very strange way: syncing values for selected custom metaboxes is supported but only “one way” (from original to translated contents but not the other way round). So in your city example you … Read more
you need to set home page and translate it to all 4 languages and after it go to settings->reading->Front page displays choose the second option “A static page (select below” and choose this page this will set the home page and root url to this page and wpml will know that the root pages of … Read more
You’ll probably have to make it multisite and then use WPML on each subsite. So it’ll look like: se.example.com/ se.example.com/en se.example.com/sv es.example.com/ es.example.com/en es.example.com/sv