Home Forums WoodMart support forum Projects page WPML

Projects page WPML

Viewing 27 posts - 1 through 27 (of 27 total)
  • Author
    Posts
  • #596465

    dainius-4606
    Participant

    Hello,

    I can’t get Projects page get work with WPML. Default language is Lithuanian: https://onlymedia.lt/musu-projektai/
    In English version auto generated version is: https://onlymedia.lt/en/musu-projektai/ but I need to change slug and Title, I have done it WPML string translation but it doesn’t work. I have attached screenshots.

    Can you help me?

    Attachments:
    You must be logged in to view attached files.
    #596625

    Luke Nielsen
    Keymaster

    Hello,

    In this case, is there any chance that you could give me access to the dashboard area so I can have a look at the settings on your website, please?

    Kind Regards

    #596629

    dainius-4606
    Participant

    Hello, I have attached wp-admin login.

    #597008

    Luke Nielsen
    Keymaster

    Hello,

    Navigate to WPML -> Settings -> Post Types Translation and change the slug here – https://take.ms/rtCa5S

    As for the titles, may I disable 3rd party plugins for testing?

    Kind Regards

    #597048

    dainius-4606
    Participant

    Hello,

    I know these slugs, they are single portfolio and portfolio archive but not portfolio page slug. These slugs are translated.

    You can disable 3rd party plugins and make changes in this copy website: http://onlymedia.programming.lt/wp-admin
    Logins are the same.

    #597311

    Luke Nielsen
    Keymaster

    Hello,

    1. Here is a video on how to change the slugs for each language- https://take.ms/SRixG

    2. Here is a video on how to change the title – https://take.ms/ZCr60

    Let me know if you have any questions.

    Kind Regards

    #597317

    dainius-4606
    Participant

    Hello,

    This is single portfolio, these are already changed.

    I need to translate archive page title
    https://onlymedia.programming.lt/musu-projektai/

    English have same slug and title, but projects is from correct language: https://onlymedia.programming.lt/en/musu-projektai/

    #597769

    Luke Nielsen
    Keymaster

    Hello,

    Please check how it works now and let me know.

    I await your response.

    Kind Regards

    #597773

    dainius-4606
    Participant

    Hello,

    URL and title is fine now, but here in All filter should show all projects as in Lithuanian language: https://onlymedia.lt/en/our-projects/

    #598208

    Luke Nielsen
    Keymaster

    Hello,

    Sorry for the delay.

    It should work well now, please recheck it and let me know.

    Kind Regards

    #598210

    dainius-4606
    Participant

    Hello,

    Now projects are shown, title are correct, but URL is wrong, it got back to previous version: https://onlymedia.lt/en/musu-projektai/

    #598228

    Luke Nielsen
    Keymaster

    Hello,

    I suggest you contact the WPML support team as it seems to come from their side.

    Let me know the results.

    Kind Regards

    #598321

    dainius-4606
    Participant

    I have talked with WPML support, they can change slug, but then All projects not shown. Their answer:

    I have checked further, and that is not possible, as is WPML limitation. I have reverted the settings on your live website.

    “WPML allows has_archive to be set to a string. However, if the string value is set to something other than rewrite[‘slug’], or the custom post type name slug is not set, the archive slug will not be translatable.”

    #598322

    dainius-4606
    Participant
    #598621

    Luke Nielsen
    Keymaster

    Hello,

    Okay, understood. So I will send it to the team so they can contact the WPML as they suggested. But as you can see, there is no solution yet due to their limitation.

    Kind Regards

    #598666

    dainius-4606
    Participant

    How long could it take?

    #598751

    Luke Nielsen
    Keymaster

    Hello,

    Sorry, I cannot tell you exactly as this issue is not related to the theme itself.

    Thank you for your time and patience.

    Kind Regards

    #598824

    dainius-4606
    Participant

    Dear XTEMOS,

    I hope this message finds you well.

    Despite multiple attempts to resolve the issue with our projects section in the English version of the website, the problem remains unresolved, which has now been ongoing for over a week. This failure to address the bug at https://onlymedia.lt/en/musu-projektai/ is causing significant financial losses for our company.

    If this issue is not resolved promptly, we will have no other choice but to seek legal counsel to recover the damages caused by this malfunction on your platform.

    We trust that you understand the urgency and hope to see a swift resolution.

    Kind regards,
    AIVARAS
    CEO
    ONLY MEDIA

    #598893

    Luke Nielsen
    Keymaster

    Hello,

    In general, this issue is related to the WPML, they even confirmed it in their thread – https://take.ms/DCfaU

    We have found the below code in the WPML documentation:

    add_filter('register_post_type_args', function ( $args, $post_type ) {
    	if ( 'portfolio' === $post_type ) {
    		$args['has_archive'] = true;
    	}
    	return $args;
    }, 10, 2);

    You need to add it to the functions.php file in your child theme, clear the cache and recheck the issue.

    Let me know the result.

    Kind Regards

    #598896

    dainius-4606
    Participant

    Hello,

    No, it’s not working. EN slug changed to https://onlymedia.lt/en/project/ as single project or portfolio and got 404.
    Tried to translate theme options (portfolio page IDs) but still the same situation.

    #598897

    Luke Nielsen
    Keymaster

    Hello,

    Update access to the admin panel for further investigation – https://take.ms/PTk9z

    Kind Regards

    #598898

    dainius-4606
    Participant

    I have added new logins of testing website.

    #598908

    Luke Nielsen
    Keymaster

    Hello,

    We can see that the code we gave you works, but before that you had to resave the permalinks. And now the page slug is taken from here https://monosnap.com/file/puf8qiMtBe3mr2fYAM1AluaUItIHeR and you can change it through translation https://monosnap.com/file/yhNhfP0vWfQu6Clrie3ZGBJmh2uCYv

    As soon as you change the slug, you need to save the permalinks again.

    Kind Regards

    #598918

    dainius-4606
    Participant

    Slug now works, but all projects in both languages are not shown in live website. https://onlymedia.lt/musu-projektai/
    https://onlymedia.lt/en/our-projects/
    Username and password is the same.

    #598931

    Luke Nielsen
    Keymaster

    Hello,

    Please recheck the issue now.

    I await your response.

    Kind Regards

    #598972

    dainius-4606
    Participant

    Thank you for your support. I’m pleased to confirm that all current projects are running smoothly and on track

    #599129

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome! In case you need any additional help, I’d be more than happy to assist you.

    Have a good day!

    Kind Regards

Viewing 27 posts - 1 through 27 (of 27 total)

The topic ‘Projects page WPML’ is closed to new replies.