p4004
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Custom post types are not shown after updateSorry for late reply.
I registered this custom post type like this in functions.php:
$labels = array( 'name' => _x(__('Burbulai', 'kcsite'), 'post type general name'), 'singular_name' => _x('Burbulai', 'post type singular name'), 'not_found' => __('No Items found'), 'not_found_in_trash' => __('No Items found in Trash'), 'parent_item_colon' => '' ); $args = array( 'labels' => $labels, 'public' => false, 'exclude_from_search' =>true, 'publicly_queryable' => true, 'show_ui' => true, 'show_in_nav_menus' => false, 'hierarchical' => true, 'supports' => array('title', 'editor', 'page-attributes', 'custom-fields',) ); register_post_type('bubble', $args);
It was working in multiple languages before updating wp.
Hi,
Thanks a lot for your support. I added your code to functions.php file and the language is detected properly. I tried visiting subscription page and subscribing with all cookies cleared, also after browsing several pages on site. It works fine.
Just to make sure: I only needed to add your code? I did not need to upgrade the plugin? ??
There is one issue left: when confirmation link is generated, the language GET parameter is added, and the link gets broken. I assume this is because Polylang works not by GET parameter, but I may be completely wrong.
What I did for now was commenting this line in alo-easymail_functions.php around line 3141:
// last case: return th url with a "lang" var... maybe it could be useful... return add_query_arg( "lang", $lang, get_permalink( $post ) );
After commenting it, the link became working and subscribers can confirm their subscription. But they are always directed to the page of main site’s language.
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Keeping images for translated postsThank you, after upgrading I finally can see images for all posts no matter what their language is. Great! Thanks.
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Keeping images for translated postsHello once again,
When editing post, I still crucially need to see all uploaded images to wordpress site no matter what post’s language is. In other words, I need to use same images for posts across multiple languages.
Googled everywhere but did not find a solution. Maybe I have missed something very obvious.
Adding define(‘PLL_MEDIA_SUPPORT’, false); does not help. Should it? It just disables posibility to choose image language. But image still does not appear at posts in different languages.
I am using Polylang Version 0.9.8.
Forum: Plugins
In reply to: [ALO EasyMail Newsletter] Remove name field from subscription formThank you.
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Keeping images for translated postsHello,
I have Polylang Version 0.9.3 installed. Is the feature of having the same images for translatable post already implemented?
I have post with many images attached. I need to translate it. If i click to add new translation, the images does not appear in the media uploader gallery of the translatable post.
Forum: Plugins
In reply to: [Theme My Login] [Plugin: Theme My Login] adding new fields?Why this hook is not documented at https://www.jfarthing.com/development/theme-my-login/ ? I was looking for it for an hour until I found it here.
Your plugin is great, but lack of documentation makes customizing it a bit difficult.
Could you specify which code lines of plugin you modified? I also would like to test that but don’t find similar lines as in your link. Thanks.