admin管理员组

文章数量:1420918

I want use 2 index.php file in WP, One for mobile and one for desktop. Is there a way for this? or use a index.php file with deferent content for mobile and desktop.

There is a solution?

(I dont use media query css or 2 theme)

I want use 2 index.php file in WP, One for mobile and one for desktop. Is there a way for this? or use a index.php file with deferent content for mobile and desktop.

There is a solution?

(I dont use media query css or 2 theme)

Share Improve this question asked Jul 4, 2019 at 9:22 omid chahardoliomid chahardoli 191 silver badge9 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

You can create AMP version of your page for mobile devices. Please check this tutorial: https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup?format=websites

本文标签: functionshow to use 2 indexphp file One for mobile and one for desktop