• Andry

    (@blackstar1991)


    Hi, good people help me to fix your problem with incorrect content for short slug in AMP pages. Can you please to add it fix on your next version?

    \wp-content\plugins\polylang-pro\vendor\wpsyntex\polylang\frontend\frontend-static-pages.php

    on line 169 check function is_front_page

    add the amp in the list

    before$query = array_diff( array_keys( $query->query ), array( 'preview', 'page', 'paged', 'cpage', 'orderby' ) );

    after $query = array_diff( array_keys( $query->query ), array( 'preview', 'page', 'paged', 'cpage', 'orderby', 'amp' ) );

    • This topic was modified 2 years, 10 months ago by Andry.
  • The topic ‘Corrected support short slug for AMP’ is closed to new replies.