Remove Neve’s paired mode
-
Can somebody explain what this code do? If I add this code do site become native amp? I want to my site be native amp and if I not use this code site have AMP paired mode? Am I right?
By default, Neve offers support for AMP paired mode. If you want to remove Neve’s paired mode, just add the following piece of code in your child theme’s functions.php file. Check this for more details on how to create a child theme for Neve.
add_filter( 'neve_filter_amp_support', 'neve_remove_amp_paired_mode', 10 ); function neve_remove_amp_paired_mode() { return array( 'paired' => false ); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Remove Neve’s paired mode’ is closed to new replies.