[wordpress插件] BAAP Mobile VersionBAAP移动版

wordpress 插件 文章 2020-02-28 02:30 512 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

The BAAP Mobile Version is a complete toolkit to help mobilize your WordPress site and blog.

BAAP移动版是一个完整的工具包,可帮助动员您的WordPress网站和博客。

It includes a mobile switcher to select themes based on the type of user that is visiting the site, a selection of mobile themes, extra widgets, device adaptation and a mobile administration panel to allow users to edit the site or write new posts

它包括一个移动切换器,用于根据正在访问该站点的用户类型来选择主题,一系列移动主题,其他小部件,设备适配以及一个移动管理面板,以允许用户编辑站点或撰写新帖子

when out and about.

出门在外。

Features include:

功能包括:

    • A mobile switcher which automatically suggests desktop or mobile presentation, but lets users switch to the other if required (and remembers their choice).

      移动切换器,它会自动建议桌面或移动演示,但如果需要,用户可以切换到另一个(并记住他们的选择)。

    • A set of advanced themes for Nokia and WebKit devices, designed by

      用于诺基亚和WebKit设备的一组高级主题,由

      ="Forum Nokia" rel="nofollow">Forum Nokia.

      =“诺基亚论坛” rel =“ nofollow”>诺基亚论坛。

      These also look beautiful on Android, iPhone and Palm devices.

      这些在Android,iPhone和Palm设备上看起来也很漂亮。

    • Device adaptation, including the rescaling of images, intelligent splitting of articles and posts into multiple pages, the simplifaction styles, and the removal of non-supported media.

      设备适应性,包括图像的缩放,将文章和帖子智能拆分为多个页面,简化样式以及删除不支持的媒体。

    • A mobile admin panel, that allows the blog managers to access the admin interface via a mobile device, with simplified access to the most common features such as editing a post or approving comments.

      移动管理面板,允许博客管理员通过移动设备访问管理界面,并简化了对最常用功能(如编辑帖子或批准评论)的访问。

      >

      >

    Enjoying your site and blog in mobile.

    在移动设备上享受您的网站和博客。

    Documentation

    文档

    The pack is so-called because it contains a number of discrete pieces of functionality.

    之所以称为包,是因为它包含许多离散的功能。

    In theory it is possible to individually enable or disable the components (through editing the registrations at the top of the main plugin file), but the vast majority of users are expected to install the pack en masse.

    从理论上讲,可以单独启用或禁用这些组件(通过编辑主插件文件顶部的注册),但是希望绝大多数用户能够整体安装该软件包。

    The pack contains the following functionality:

    该软件包包含以下功能:

    Mobile switcher

    移动切换器

    The mobile switcher identifies whether the visitor to the site is mobile or not, and switches between the primary WordPress theme (for desktop users) and a mobile theme (of the site owner’s choice) accordingly.

    移动切换器识别网站的访问者是否移动,并相应地在主要WordPress主题(针对桌面用户)和移动主题(由网站所有者选择)之间进行切换。

    It can use two approaches to identify the user as mobile.

    它可以使用两种方法将用户标识为移动用户。

    Firstly, it can try to identify if they have a mobile device based on the headers sent when a page is requested.

    首先,它可以尝试根据请求页面时发送的标头来确定它们是否具有移动设备。

    Alternatively, it can identify whether the user has requested the site on a ‘desktop domain’ (such as yoursite.com) or a ‘mobile domain’ (such as yoursite.mobi) and deduce their intent from that.

    或者,它可以识别用户是在“桌面域”(例如yoursite.com)还是在“移动域”(例如yoursite.mobi)上请求了网站,并由此推断出他们的意图。

    The recommended approach is a third, combined, approach that uses both techniques, and also allows users to switch between sites if the choice is not appropriate by providing a link in the themes’ footers or a widget.

    推荐的方法是结合使用这两种技术的第三种方法,并且如果在主题页脚或窗口小部件中提供了链接,用户也可以在不合适的选择之间切换站点。

    In this combined mode, the switcher will provide interstitial warning pages if a mobile user accesses the desktop domain or vice-versa.

    在此组合模式下,如果移动用户访问桌面域,则切换台将提供插页式警告页面,反之亦然。

    It will also remember their choice of preferred site through the use of a cookie.

    它还会记住他们通过使用cookie来选择首选站点。

    Settings for the switcher are found under the ‘Mobile Switcher’ admin page, and are self-explanatory.

    切换台的设置位于“移动切换台”管理页面下,并且不言自明。

    More detail on these switching algorithms is available in a series of articles published by http://mobiforge.com.

    有关这些切换算法的更多详细信息,请参见 http://mobiforge.com 发表的系列文章。

    Base mobile theme

    基本移动主题

    The pack contains an extensible theme that is ready for display on mobile devices.

    该包包含一个可扩展的主题,可以在移动设备上显示。

    The theme is XHTML-MP compliant and scores highly on dotMobi’s ready.mobi site tester.

    该主题符合XHTML-MP,并且在dotMobi的ready.mobi网站测试仪上得分很高。

    The base theme supports all standard WordPress content, including indexes, posts, pages, archives, search results, comments and widgets.

    基本主题支持所有标准WordPress内容,包括索引,帖子,页面,档案,搜索结果,评论和小部件。

    If configured, it also invokes the device adaptation process (detailed below) that ensures the posts themselves are formatted suitable for mobile devices.

    如果进行了配置,它还会调用设备适配过程(下面详细介绍),以确保帖子本身的格式适合移动设备。

    There are a number of simple settings that can be used to adapt the way in which lists of posts appear on the mobile theme.

    有许多简单的设置可用于调整帖子列表在移动主题上的显示方式。

    These are found under the ‘Mobile Theme’ admin page, which appears when the switcher component is installed (or when the mobile theme is selected as the main WordPress theme).

    这些位于“移动主题”管理页面下,该页面在安装切换器组件(或将移动主题选择为主要的WordPress主题)时显示。

    It is possible to set how many posts appear on the home page and in archives, and how verbosely they display.

    可以设置在首页和存档中显示多少帖子,以及显示的详细程度。

    Away from the posts themselves, the theme does not provide a ‘hard-coded’ sidebar and relies wholly on the WordPress widget framework.

    除了帖子本身,主题没有提供“硬编码”侧边栏,而是完全依赖WordPress小部件框架。

    Widgets that are selected in the WordPress admin pages (and then selected to show for the mobile theme) will appear in a ‘sidebar’ below the main part of the mobile page.

    在WordPress管理页面中选择的小部件(然后选择显示用于移动主题)将显示在移动页面主体下方的“侧边栏”中。

    Since each widget adds size to the overall page, it is recommended that no more than 5 desktop widgets are enabled for the mobile theme.

    由于每个小部件都会增加整个页面的大小,因此建议为移动主题启用不超过5个桌面小部件。

    The ‘Mobile Widgets’ admin page also appears when the switcher component is installed (or when the mobile theme is selected as the main WordPress theme).

    安装切换器组件时(或将移动主题选择为主要的WordPress主题时),也会出现“移动窗口小部件”管理页面。

    Any standard WordPress widgets that are known not to be XHTML-compliant are slightly rewritten by the theme to make them so.

    该主题会稍微重写一些已知的不兼容XHTML的标准WordPress小部件,以使它们如此。

    However, the theme does not currently correct arbitrary widget content and the use of third-party widgets (that were designed for desktop use) may easily push the overall page out of XHTML-MP compliance and affect the user’s experience.

    但是,该主题当前无法纠正任意窗口小部件内容,使用第三方窗口小部件(专为桌面使用)可能会轻易使整个页面脱离XHTML-MP规范并影响用户体验。

    Large widgets are not currently split or paged for small mobile devices.

    小型移动设备当前未拆分或分页大型小部件。

    This may increase the load time, cost to the user, or even make the page unreadable on a limited capability device.

    这可能会增加加载时间,增加用户成本,甚至使页面在功能有限的设备上不可读。

    Be aware of this when enabling large widgets on the mobile theme.

    在移动主题上启用大型窗口小部件时,请注意这一点。

    Extended mobile themes

    扩展的手机主题

    Simply by extending the base theme, it is very easy and quick to customise the mobile theme to fit existing requirements or brand.

    只需扩展基本主题,即可轻松,快速地自定义移动主题以适合现有要求或品牌。

    The easiest way to do this is to re-tint the theme’s colour scheme.

    最简单的方法是重新设置主题的配色方案。

    The colour specifications for the base theme are all defined at the top of its stylesheet.

    基本主题的颜色规范均在其样式表的顶部定义。

    Site owners can override this palette with their own colours, named DARKEST, DARK, MID, LIGHT, LIGHTEST and so on.

    网站所有者可以使用自己的颜色(称为DARKEST,DARK,MID,LIGHT,LIGHTEST等)覆盖此调色板。

    To demonstrate, three extended themes are available within this pack: blue, green and red.

    为演示,此包中提供了三个扩展主题:蓝色,绿色和红色。

    Note how they use the ‘Template:’ directive at the top of the stylesheet (and the CSS @import statement) to indicate that they extend the base theme.

    请注意,他们如何使用样式表顶部的“ Template:”指令(以及CSS @import语句)来指示它们扩展了基本主题。

    Of course it is also easy to extend the theme in other, more structural ways, and even adapt the template’s PHP files.

    当然,以其他更结构化的方式扩展主题,甚至改编模板的PHP文件也很容易。

    However, if such changes should be done carefully to preserve XHTML-MP compliance within the markup.

    但是,如果应谨慎进行此类更改以保持标记内的XHTML-MP兼容性。

    Transcoding and device adaptation

    转码和设备适配

    When the base theme, or a theme that extends it, it used, the pack provides some features to adapt the content of the posts and pages of the blog to make them more suitable for mobile use.

    当使用基本主题或扩展了主题的主题时,该包提供了一些功能,以适应博客文章和页面的内容,使其更适合移动使用。

    There are four major stages to this process, and each may be enabled or disabled independently on the ‘Mobile Theme’ admin page.

    此过程分为四个主要阶段,每个阶段都可以在“移动主题”管理页面上单独启用或禁用。

    These are:

    这些是:

      1. Remove media – This will remove interactivity and media elements (such as script, Flash, movies, and embedded frames) from the posts and pages.

      2. 删除媒体 –这将删除帖子和页面中的交互性和媒体元素(例如脚本,Flash,电影和嵌入式框架)。

        Unless it is certain that users have high-capability handsets, these types of content will stretch the abilities of their mobile devices.

        除非确定用户拥有高功能手机,否则这些类型的内容将扩展其移动设备的功能。

        The HTML tags removed are object, embed, marquee, script, frame and iframe.

        删除的HTML标签为对象,嵌入,字幕,脚本,框架和iframe。

        This process also removes any event attributes (such as onClick) from the page.

      3. 此过程还将从页面中删除所有事件属性(例如onClick)。

      4. Partition large pages – This will break large blog posts or pages into smaller pieces more suitable for mobile devices.

      5. 对大页面进行分区 –这会将大型博客文章或页面分成更适合移动设备的小块。

        The length of each piece depends on the known memory limitations of the visitor’s device (if DeviceAtlas integration is enabled), or will default to approximately 5K in size.

        每块的长度取决于访问者设备的已知内存限制(如果启用了DeviceAtlas集成),或者默认大小约为5K。

        Contiguous sections such as lists will not be broken, and a pager will appear at the bottom of each post to allow the user to page through the post.

      6. 连续的部分(例如列表)不会被破坏,并且传呼器将出现在每个帖子的底部,以允许用户翻阅帖子。

      7. Shrink images – This will shrink large images within posts or pages to fit on smaller screens.

      8. 缩小图片 –这将缩小帖子或页面中的大图片以适合较小的屏幕。

        The width or height constraints of the device (if DeviceAtlas integration is enabled) are used to determine the new dimensions, or they will default to 124 pixels.

        设备的宽度或高度限制(如果启用了DeviceAtlas集成)将用于确定新尺寸,否则它们将默认为124像素。

        This functionality relies on the server having the PHP graphics library LibGD installed (as it will be for PHP 4.3 or greater).

        此功能依赖于已安装PHP图形库LibGD的服务器(因为它将用于PHP 4.3或更高版本)。

        Both the original and resized images are cached locally for performance, and site owners have an option to clear this cache on the admin page.

      9. 原始图像和调整后的图像都在本地缓存,以提高性能,网站所有者可以选择在管理页面上清除此缓存。

      10. Simplify styling – This will remove styling elements from the posts and pages to ensure mobile compatibility.

      11. 简化样式 –这将从帖子和页面中删除样式元素,以确保移动兼容性。

        The HTML attributes removed are: align, background, bgcolor, border, cellpadding, cellspacing, class, color, height, style and width.

        删除的HTML属性为:align,background,bgcolor,border,cellpadding,cellspacing,class,color,height,style和width。

        It removes the following tags: center, font, and span (although note that the inner content of those tags remains).

        它将删除以下标签:中心,字体和跨度(尽管请注意,这些标签的内部内容仍然保留)。

        Finally it removes any empty, non-singleton tags that do not have attributes, such as, for example, <div></div>.

      12. 最后,它会删除任何没有属性的空非单例标签,例如&lt; div&gt;&lt; / div&gt;

      Mobile admin panel

      移动管理面板

      A user identified as mobile by the switcher will receive a mobilised version of the WordPress administration interface.

      切换台确定为移动用户的用户将收到WordPress管理界面的动员版本。

      The link to the dashboard is available in the standard ‘Meta’ widget, or it can be reached directly at http://your.site/wp-admin

      仪表板的链接可在标准的“元”小部件中找到,也可以直接通过 http://your.site/wp-admin 进行访问。

      Only users with administrator status are allowed to access the mobile administration pages.

      仅具有管理员身份的用户被允许访问移动管理页面。

      Note this makes it more restrictive than the desktop dashboard, but this prevents less-authorised users from accessing it and making changes to important site settings.

      请注意,这使其比桌面仪表盘更具限制性,但是这可以防止未授权用户访问它并更改重要的网站设置。

      The following pages are available in the mobile administration interface:

      以下页面在移动管理界面中可用:

        1. Overview – Like the desktop dashboard, this details how many pages, posts, categories and tags site owners have on the site.

        2. 概述 –与桌面仪表板一样,它详细说明了网站所有者在网站上拥有的页面,帖子,类别和标签。

          It also highlights how many comments currently await moderation.

        3. 它还突出显示了当前有多少评论等待审核。

        4. New post – Administrators may write a new post to appear on the site.

        5. 新帖子 –管理员可以撰写新帖子以显示在网站上。

          They can specify the title and the body of the post, and whether they want it to remain draft, pending review, or published.

          他们可以指定帖子的标题和正文,以及是否希望其保留为草稿,待审核或发布。

          It is not currently possible to specify tags, categories or other advanced properties of the post in the mobile interface.

        6. 当前无法在移动界面中指定帖子的标签,类别或其他高级属性。

        7. Edit post – This page lists all of the current posts and allows administrators to edit them.

        8. 编辑帖子 –该页面列出了所有当前帖子,并允许管理员对其进行编辑。

          As for the ‘New post’ page, they can edit title, status, and body.

          至于“新帖子”页面,他们可以编辑标题,状态和正文。

          It is not possible to edit the categories or tags and so on, although existing values for such properties of the post will remain set after editing in the mobile interface.

          尽管可以在移动界面中进行编辑后保留帖子的此类属性的现有值,但无法编辑类别或标签等。

          Depending on the theme, a link to this edit panel may also be available on the site itself when administrators are logged in.

        9. 根据主题,管理员登录后,网站本身上也可能会提供指向此编辑面板的链接。

        10. Comments – This page lists extracts of all of the comments awaiting moderation on the site.

        11. 评论 –此页面列出了等待站点审核的所有评论的摘要。

          From this list, administrators can click on the commentator’s name to see the whole comment, and, by clicking the appropriate links, set the comment to be published or marked as spam.

          管理员可以从该列表中单击评论者的名称以查看整个评论,然后通过单击适当的链接将评论设置为发布或标记为垃圾邮件。

          Editing, de-approving or deleting a comment cannot be performed in this interface.

        12. 无法在此界面中执行编辑,取消批准或删除评论。

        13. Switcher – It is possible to change the mobile switching mode in case the site-owner needs to reset the configuration.
        14. 切换器 –在站点所有者需要重置配置的情况下,可以更改移动交换模式。

        15. Settings – This page lists all the settings for the site which are simple enough to edit with this mobile interface.

        16. 设置 –此页面列出了网站的所有设置,这些设置非常简单,可以使用此移动界面进行编辑。

          Complex settings, such as which plugins are installed, are not available.

          无法使用复杂的设置,例如安装了哪些插件。

          However, text- and number-based settings can be easily edited.

          但是,可以轻松地编辑基于文本和数字的设置。

          Note that no descriptions are available for each setting and the meanings of the values, so it is advisable to only edit them cautiously.

        17. 请注意,对于每种设置及其值的含义都没有可用的描述,因此建议仅谨慎编辑它们。

        It is also possible to log-out of the admin panel.

        还可以退出管理面板。

        Since the login is stored persistently on the mobile device, this is advisable if the site is sensitive and administrators want to protect against the impact of handset theft.

        由于登录名会永久存储在移动设备上,因此,如果该站点敏感并且管理员希望保护手机免受盗窃的影响,则建议这样做。

        The mobile administration panel uses the same URL structure as the desktop version, so in most cases, the administration links sent to administrators in emails (such as when a comment needs moderation) can be followed regardess of whether they are using a mobile

        移动管理面板使用与桌面版本相同的URL结构,因此在大多数情况下,无论他们是否使用移动设备,都可以遵循通过电子邮件发送给管理员的管理链接(例如,当需要评论时)。

        device or a desktop.

        设备或台式机。

        Mobile ad widget

        移动广告窗口小部件

        This provides the ability to place a new widget into the site containing either AdMob or Google mobile ads.

        这提供了将新的窗口小部件放置到包含AdMob或Google移动广告的网站中的功能。

        Administrators will see the ‘Mobile Ads’ in the ‘Widget’ admin page, and it allows them to specify which provider to use, and the publisher ID.

        管理员将在“小部件”管理页面中看到“移动广告”,并允许他们指定要使用的提供商以及发布者ID。

        The widget can also be configured to attempt to disable itself when shown on a desktop theme.

        也可以将小部件配置为在桌面主题上显示时尝试禁用自身。

        This is recommended, since the quality of mobile ads presented in response to a desktop user context is lower, and relevant conversion rates may be negatively affected.

        建议这样做,因为响应桌面用户上下文而呈现的移动广告的质量较低,并且相关的转化率可能会受到不利影响。

        Google supports both single-ad and double-ad modes.

        Google支持单广告和双广告模式。

        Administrators can select which to use from the same publisher dropdown.

        管理员可以从同一发布者下拉列表中选择要使用的内容。

        Barcode widget

        条形码小部件

        Site owners can place a two-dimensional QR-code widget on the desktop site that users can use to quickly navigate to the mobile version of the site.

        网站所有者可以在桌面网站上放置一个二维QR码小部件,用户可以用来快速导航到该网站的移动版本。

        If their phones have a camera and QR-code reader capabilities, they can simply snap the barcode off their desktop screen and navigate directly to the mobile equivalent.

        如果他们的手机具有摄像头和QR码阅读器功能,则只需将条形码从桌面屏幕上捕捉下来,然后直接导航到移动设备上即可。

        If a URL is specified, the QR-code is fixed to that address.

        如果指定了URL,则QR码将固定在该地址上。

        If it is left blank, it will correspond to the page it is being displayed upon.

        如果保留为空白,则将与正在显示的页面相对应。

        Within the widget site owners can specify the link to provide, and the size of the square barcode to show.

        在窗口小部件内,网站所有者可以指定要提供的链接以及要显示的方形条形码的大小。

        Site owners should ensure it fits well into the desktop theme.

        网站所有者应确保它完全适合桌面主题。

        Site owners can also indicate whether they want the widget to show some instructions to the users about the purpose of the barcode, as well as a list of well-known readers they can download for their devices if they are not already installed.

        网站所有者还可以指示他们是否希望窗口小部件向用户显示一些有关条形码用途的说明,以及如果尚未安装,则可以为设备下载的知名阅读器列表。

安装步骤

For Detailed step by step instructions for installtion please Click Here

有关安装的详细分步说明,请单击此处

Simple installation for WordPress v2.7 and later

WordPress v2.7和更高版本的简单安装

    1. Go to the ‘Plugins’ / ‘Add new’ menu
    2. 转到“插件” /“添加新”菜单

    3. Upload baap-mobile-version.zip then press ‘Install now’.
    4. 上传baap-mobile-version.zip,然后按“立即安装”。

    5. Activate the switcher plugin.

    6. 激活切换器插件。

      Change its settings as required.

    7. 根据需要更改其设置。

    8. Select which desktop widgets are to appear on the mobile theme.
    9. 选择要在移动主题上显示的桌面小部件。

    10. Enable your site to be listed on mpexo.
    11. 使您的网站能够在mpexo上列出。

    12. Enjoy.
    13. 享受。

    Simple installation for WordPress v2.5 and v2.6

    WordPress v2.5和v2.6的简单安装

    Here, the installation is very slightly different:

    在这里,安装方式略有不同:

      1. Locate your WordPress install on the file system
      2. 在文件系统上找到您的WordPress安装

      3. Extract the contents of baap-mobile-version.zip into wp-content/plugins
      4. 将baap-mobile-version.zip的内容提取到wp-content / plugins

      5. Activate the switcher plugin.

      6. 激活切换器插件。

        Change its settings as required.

      7. 根据需要更改其设置。

      8. Select which desktop widgets are to appear on the mobile theme.
      9. 选择要在移动主题上显示的桌面小部件。

      10. Enable your site to be listed on mpexo.
      11. 使您的网站能够在mpexo上列出。

      12. Enjoy.
      13. 享受。

      Make the cache writable

      使缓存可写

      NB: the web server needs to have write-access to the image cache folder wp-content/plugins/wordpress-mobile-pack/plugins/wpmp_transcoder/c

      注意::Web服务器需要具有对图像缓存文件夹的写访问权。 wp-content / plugins / wordpress-mobile-pack / plugins / wpmp_transcoder / c

      .

      If you have installed the plugin with WordPress 2.7, this should already be the case.

      如果您已使用WordPress 2.7安装了该插件,那么情况应该已经如此。

      Otherwise, or if you see errors when the plugin tries to resize images, you will need to set the permissions on that folder appropriately.

      否则,或者如果插件尝试调整图像大小时看到错误,则需要适当地设置该文件夹的权限。

      Ensure that the c directory flags are rwxrwxrwx, or whatever you choose in order to be web-server-writable:

      确保 c 目录标记为 rwxrwxrwx ,或者您选择的任何可成为Web服务器可写的内容:

      wordpress $> cd wp-content/plugins

        wordpress $> cd wp-content / plugins

      plugins $> cd wordpress-mobile-pack/plugins/wpmp_transcoder

      插件$> cd wordpress-mobile-pack / plugins / wpmp_transcoder

      wpmp_transcoder $> sudo chmod 777 c

      wpmp_transcoder $>须藤chmod 777 c

      wpmp_transcoder $> ls -al

      wpmp_transcoder $> ls -al

      --------------------------------------------------

      --------------------------------------------------

      ---------------

      ---------------

      drwxrwxrwx 3 root staff 102 20 Apr 10:08 c

      drwxrwxrwx 3根员工102 20 Apr 10:08 c

      -rwxrwxrwx 1 root staff 13003 20 Apr 10:43 wpmp_transcoder.php

      -rwxrwxrwx 1个根人员13003 20 Apr 20:43 wpmp_transcoder.php

      Make the themes directory writable

      使主题目录可写

      NB: the web server also needs to have write-access to the themes folder wp-content/themes, as it installs themes in that directory as part of the

      注意::Web服务器还需要具有对主题文件夹 wp-content / themes 的写权限,因为它将主题作为该目录的一部分安装在该目录中。

      plugin activation.

      插件激活。

      If you have installed the plugin with WordPress 2.7, this may already be the case.

      如果您已使用WordPress 2.7安装了该插件,则可能已经存在。

      Otherwise, or if you see errors when activating the plugin, you will need to set the permissions on that folder appropriately.

      否则,或者如果激活插件时看到错误,则需要在该文件夹上设置适当的权限。

      Ensure that the themes flags are rwxrwxrwx, or whatever you choose in order to be web-server-writable, using a similar technique to that above.

      使用与上述类似的方法,确保 themes 标志是 rwxrwxrwx 或您选择的任何内容以便可被Web服务器写入。

      >

      >

      Comprehensive setup

      全面设置

      A more comprehensive setup process and guide to configuration is as follows.

      更全面的设置过程和配置指南如下。

      If you are installing the plugin through the admin dashboard, you’ll be able to skip most of the early steps.

      如果您是通过管理控制台安装插件,则可以跳过大多数早期步骤。

        1. Locate your WordPress install on the file system
        2. 在文件系统上找到您的WordPress安装

        3. Extract the contents of baap-mobile-version.zip into wp-content/plugins
        4. baap-mobile-version.zip 的内容提取到 wp-content / plugins

        5. In wp-content/plugins you should now see a directory named baap-mobile-version
        6. wp-content / plugins 中,您现在应该看到一个名为 baap-mobile-version 的目录。

        7. Ensure the wp-content/themes directory and wpmp_transcoder/c cache directory are web-server-writable, as described above.
        8. 如上所述,确保 wp-content / themes 目录和 wpmp_transcoder / c 缓存目录可通过Web服务器写入。

        9. Login to the WordPress admin panel at http://yoursite.com/wp-admin
        10. 通过 http://yoursite.com/wp-admin 登录WordPress管理面板

        11. Go to the ‘Plugins’ menu.`
        12. 转到“插件”菜单。

        13. You should see ‘Mobile Switcher’ in the list.

        14. 您应该在列表中看到“移动切换器”。

          If not, check steps 2 and 3.`

        15. 如果没有,请检查步骤2和3。

        16. Click ‘Activate’ for that plugin.`
        17. 为该插件点击“激活”。

        18. In wp-content/themes you should now see a selection of new directories including mobile_pack_base, mobile_pack_blue etc.
        19. wp-content / themes 中,您现在应该看到一系列新目录,包括 mobile_pack_base mobile_pack_blue 等。

        20. Go to the ‘Themes’ page in the ‘Appearance’ menu (or ‘Design’ in WordPress v2.6 or earlier)
        21. 转到“外观”菜单中的“主题”页面(或WordPress v2.6或更早版本中的“设计”)

        22. You should see a number of mobile themes in the list.

        23. 您应该在列表中看到许多移动主题。

          If not, check steps 8 and the permissions on the theme directory.

          如果没有,请检查步骤8和主题目录上的权限。

          NB do NOT select one of these themes.

          NB 不要选择以下主题之一。

          If you do so, even your desktop users will receive a mobile theme.

          如果这样做,即使您的桌面用户也将收到移动主题。

          The selected theme here should reflect what you want your desktop users to continue to see, and you’ll configure the mobile theme choice separately in the switcher settings.

        24. 在此处选择的主题应该反映您希望桌面用户继续看到的内容,并且您将在切换器设置中分别配置移动主题选择。

        25. Go to the ‘Mobile Switcher’ page in the ‘Appearance’ menu (or ‘Design’ in WordPress v2.6 or earlier)
        26. 转到“外观”菜单中的“移动切换器”页面(或WordPress v2.6或更早版本中的“设计”)

        27. Choose a switcher mode:

        28. 选择切换器模式:

            • ‘Disabled’ removes switching and all users receive the desktop theme
            • “已禁用”可删除切换,所有用户都将收到桌面主题

            • ‘Browser detection’ means that the switcher will try to identify if your user has a mobile device
            • “浏览器检测”是指切换器将尝试识别您的用户是否有移动设备

            • ‘Domain mapping’ requires you to provide a different domain for your mobile users to access the site
            • “域映射”要求您为移动用户提供不同的域,以供其访问网站

            • ‘BOTH’ (recommended) enables a combined algorithm that uses recognition and domain usage for the best user experience
            • “ BOTH”(推荐)启用组合算法,该算法使用识别和域用法来获得最佳用户体验

          • If you are using ‘domain mapping’ (or the combined approach), ensure all your relevant domains are resolving to this single WordPress installation.

          • 如果您使用的是“域映射”(或组合方法),请确保所有相关域都已解析到此WordPress安装。

            This may require you to configure your DNS and web server configurations.

          • 这可能需要您配置DNS和Web服务器配置。

          • Choose the theme to be used for your mobile users.
          • 选择要用于移动用户的主题。

          • Users can choose whether to toggle between sites.

          • 用户可以选择是否在站点之间切换。

            Decide whether you want this link to appear in the theme footer.

            确定是否希望此链接显示在主题页脚中。

            Alternatively, you can enable the ‘Mobile Switcher Link’ widget in the ‘Widgets’ admin menu.

          • 或者,您可以在“小部件”管理菜单中启用“移动切换器链接”小部件。

          • Go to the ‘Widgets’ menu and select which of the currently enabled desktop widgets you wish to have displaying on your mobile theme.
          • 转到“窗口小部件”菜单,然后选择希望在移动主题上显示的当前启用的桌面窗口小部件。

          • Enable your blog for inclusion in the mpexo mobile blog directory.
          • 启用博客以将其包含在mpexo移动博客目录中。

          • Take a quick look at the other mobile admin settings and widgets available.
          • 快速浏览其他可用的移动管理员设置和小部件。

          • You’re all done!
          • 大功告成!

下载地址
https://downloads.wordpress.org/plugin/baap-mobile-version.zip
-EOF-

AI助手支持GPT4.0