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

Remove widgets on mobile front page without affecting desktop

programmeradmin1浏览0评论

I customized my desktop page with widgets so that the articles are arranged into different aesthetically pleasing sections... but on my mobile page, I'd like all the articles to just show up by order of last published without being arranged into sections.

Is it possible to not have the widgets on the mobile page separately... while still having widgets on desktop?

I saw a lot of answers that mentioned CSS media queries, but it looks like that's just adjusting header/stylistic things. I also saw a thing about redirecting, but I would prefer for the mobile to have the same link as the desktop. Is this possible?

Thank you so much.

Edit: I would also like to be able to add back the function of having the latest posts on mobile, as I had to remove it from desktop.

I customized my desktop page with widgets so that the articles are arranged into different aesthetically pleasing sections... but on my mobile page, I'd like all the articles to just show up by order of last published without being arranged into sections.

Is it possible to not have the widgets on the mobile page separately... while still having widgets on desktop?

I saw a lot of answers that mentioned CSS media queries, but it looks like that's just adjusting header/stylistic things. I also saw a thing about redirecting, but I would prefer for the mobile to have the same link as the desktop. Is this possible?

Thank you so much.

Edit: I would also like to be able to add back the function of having the latest posts on mobile, as I had to remove it from desktop.

Share Improve this question asked Oct 7, 2020 at 22:08 amy leeamy lee 1
Add a comment  | 

1 Answer 1

Reset to default 0

Maybe it is enough for your needs to use the native (mobile) devices check wp_is_mobile().

发布评论

评论列表(0)

  1. 暂无评论