Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1351657

    Hello, our website has WPML installed, and the main language is English.

    The problems encountered are as follows:
    When the Portoflio items page is copied to the second language system, the column link in the page will be different from the setting of the English language page;
    But when the link is clicked on the front page, the column link of the second page is the same as the column link of English

    Version:
    ENFOLD 4.9.2.2 WPML 4.5.5

    Please help me.

    #1352614

    Hey decode,

    Thank you for the inquiry.

    To fix the issue temporarily, we modified the themes/enfold/config-templatebuilder/avia-template-builder/php/class-generic-helper.php file a bit around line 440.

    			if( post_type_exists( $link[0] ) )
    			{
    				return apply_filters( 'wpml_permalink',  get_permalink( $link[1] ), ICL_LANGUAGE_CODE );
    			}
    

    The modification should return the translated page.

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.