[WordPress] AMP page and other page branching method
Introduce how to branch AMP pages and other pages.
Plugin
Code
if(function_exists('is_amp_endpoint') && is_amp_endpoint()) {
[AMP page]
} else {
[Other page]
}
Introduce how to branch AMP pages and other pages.
if(function_exists('is_amp_endpoint') && is_amp_endpoint()) {
[AMP page]
} else {
[Other page]
}