最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

functions - how to use 2 index.php file One for mobile and one for desktop

programmeradmin2浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论