wordpress移动_如何创建WordPress博客的移动版本

wordpress移动

wordpress移动

Would you like to make your blog look great on all devices, not just computers?  Smartphones and other mobile devices are increasing in popularity, so here’s how you can make sure your blog looks great no matter what people are reading it on.

您想使您的博客在所有设备(而不只是计算机)上看起来都很棒吗? 智能手机和其他移动设备越来越受欢迎,因此无论人们在看什么,这里都可以通过这种方法确保您的博客看起来不错。

WordPress is a great tool for creating a blog or traditional website for your business, organization, or simply to share pictures with family and friends.  You can make a free blog on WordPress.com, and if so, your blog will already be ready for most modern mobile device browsers.  Here’s our test WordPress.com site in Mobile Safari; WordPress.com automatically gave it an iOS style theme that’s easy to use on mobile devices.

WordPress是一个很棒的工具,可以为您的企业,组织创建博客或传统网站,或者只是与家人和朋友共享图片。 您可以在WordPress.com上创建一个免费博客 ,如果是这样,您的博客将已经可以用于大多数现代移动设备浏览器。 这是我们在Mobile Safari中测试的WordPress.com网站; WordPress.com自动为它提供了iOS风格的主题,该主题易于在移动设备上使用。

image

However, if you want to tweak WordPress and make your site just like you want, you’ll need to use the Self-hosted WordPress.org.  If you’ve created a new WordPress site on your own server or hosting service manually or using an auto-installer such as Softaculous, you may be disappointed that your site looks the same on mobile browsers as it does on your computer.  This makes it difficult to use on small screens.

但是,如果您想调整WordPress并按照自己的意愿创建网站,则需要使用Self-hosted WordPress.org。 如果您在自己的服务器或托管服务上手动创建了新的WordPress网站,或者使用诸如Softaculous之类自动安装程序创建了WordPress网站 ,那么您可能会感到失望的是,该网站在移动浏览器上的外观与在计算机上的外观相同。 这使得很难在小屏幕上使用。

image

Thankfully, you can easily get the same iOS style theme on your blog for free with the WPtouch plugin.  Login to your WordPress Dashboard, and select Add New under Plugins on the left side menu.

幸运的是,您可以使用WPtouch插件轻松在博客上免费获得相同的iOS风格主题。 登录到WordPress仪表板,然后在左侧菜单的“ 插件 下选择“ 添加新项 ”。

image

On this page, enter WPtouch in the search box.

在此页面上,在搜索框中输入WPtouch

image

Now install and activate the plugin as normal.

现在正常安装并激活插件。

image

Your site will now have a nice theme that works great on modern smartphones and other mobile devices, but will still show your own normal theme to visitors using computers.  If you’d like to preview how your new mobile theme looks on an iPhone, check out our article on Testing Mobile Websites in Safari for Windows.

现在,您的站点将具有一个不错的主题,该主题在现代智能手机和其他移动设备上均能很好地运行,但仍会向使用计算机的访问者展示您自己的常规主题。 如果您想预览您的新移动主题在iPhone上的外观,请查看有关在Safari for Windows中测试移动网站的文章。

image

调整WPtouch设置 (Tweak WPtouch Settings)

WPtouch works fine without any tweaking on most sites, but if you’d like, you can customize your mobile site and tweak WPtouch’s settings to get it working just like you want.  To do this, click WPtouch under Settings on the left menu.

WPtouch可以正常运行,而无需在大多数站点上进行任何调整,但是如果您愿意,您可以自定义移动站点并调整WPtouch的设置以使其按需运行。 为此,请单击左侧菜单上“ 设置”下的WPtouch

image

Here you can tweak many settings, including the mobile theme’s background, fonts, icon, and more.

在这里,您可以调整许多设置,包括移动主题的背景,字体,图标等。

image

You can also add Google Analytics and Adsense to your mobile site, so you can monetize your traffic and know how many visitors you’re getting.  If you need to find you Google Analytics code, here’s how you can quickly find it.

您还可以将Google Analytics(分析)和Adsense添加到您的移动网站,这样就可以通过点击量获利并知道有多少访问者。 如果您需要找到Google Analytics(分析)代码, 请按以下方法快速找到它

image

You may need to tweak settings in other WordPress plugins, including WP Cache and W3 Cache, to make them work with WPtouch, so be sure to check the list at the bottom of the settings page.

您可能需要调整其他WordPress插件(包括WP Cache和W3 Cache)中的设置,以使其与WPtouch一起使用,因此请确保检查设置页面底部的列表。

image

Here’s Techinch.com with a customized logo, menu, and background using WPtouch.  Now your site looks just like you want, on PCs and mobile devices.

这是Techinch.com,带有使用WPtouch的自定义徽标,菜单和背景。 现在,您的站点在PC和移动设备上看起来像您想要的。

image

翻译自: https://www.howtogeek.com/howto/27779/how-to-create-a-mobile-version-of-your-wordpress-blog/

wordpress移动

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值