Title: RSG Compiled Libraries
Author: Ryner Galaus
Published: <strong>2019 年 5 月 9 日</strong>
Last modified: 2019 年 5 月 19 日

---

搜索插件

![](https://ps.w.org/rsg-compiled-libraries/assets/banner-772x250.png?rev=2084481)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/rsg-compiled-libraries/assets/icon-256x256.png?rev=2084481)

# RSG Compiled Libraries

 作者：[Ryner Galaus](https://profiles.wordpress.org/rynergalaus/)

[下载](https://downloads.wordpress.org/plugin/rsg-compiled-libraries.zip)

 * [详情](https://cn.wordpress.org/plugins/rsg-compiled-libraries/#description)
 * [评价](https://cn.wordpress.org/plugins/rsg-compiled-libraries/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/rsg-compiled-libraries/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/rsg-compiled-libraries/#developers)

 [支持](https://wordpress.org/support/plugin/rsg-compiled-libraries/)

## 描述

Includes common libraries used for development. It also comes with simple functions
that are widely used on a website.
 Libraries can be activated / deactivated. Activate
what you need without worrying about unnecessary enqueued scripts and styles.

 * LIBRARIES INCLUDED
    1. [Bootstrap v4.3.1 ](https://getbootstrap.com/docs/4.3/getting-started/introduction/)
    2. [Font Awesome v5.7.1](https://fontawesome.com/how-to-use/on-the-web/referencing-icons/basic-use)
    3. [Lity v2.3.1 ](https://sorgalla.com/lity/)
    4. [Slick v1.8.1](http://kenwheeler.github.io/slick/)
    5. [Tablesorter v2.31.1](https://mottie.github.io/tablesorter/docs/)
    6. [Bootstrap Navwalker v2.0.4](https://github.com/wp-bootstrap/wp-bootstrap-navwalker)
 * Additional Functions
    1.  WP Login Function
    2.   - Add the classname ‘rsg-wp_login_toggle’ to your link or to the container
           of your link.
         - It will automatically toggle a login modal upon click.
         - You can change the template by copying the file rsg-login.php from the templates
           folder to yourtheme/rsg/templates/
    3.  Logout
    4.   - Add the classname ‘rsg_wp_logout_link’ to your link.
         - It will automatically logout the user on click.
    5.  Popup Menu Function
    6.   - Add the classname ‘rsg-wp_menupopup_toggle’ to your link or to the container
           of your link.
         - It will automatically toggle a popup menu on click.
         - You can change the template by copying the file rsg-popup_menu.php from 
           the templates folder to yourtheme/rsg/templates/
    7.  Get Menu Function
    8.   - Uses the Bootstrap Navwalker to get and display the menu created at the 
           dashboard.
         - Function parameters are rsg_get_menu(String Menu slug, String Menu Name,‘
           Menu Classname/s separated by space’)
         - Sample Code: echo rsg_get_menu(‘primary-menu’, ‘Main Menu Online’, ‘menu-
           class rsg-vertical-menu-popup’);
    9.  Random String Generator
    10.  - Can be used to generate random strings or characters.
         - Contents generated are lowercase or uppercase letters (A-Z | a-z), numbers(
           0-9), and special characters (dash, underscore, asterisk, and number sign).
    11. Back To Top Function
    12.  - Adds a back to top button. Can be activated or deactivated
 * RSG Stylesheet Perks
    Designs can be overridden at your theme’s style.css.
    - Button Class Names
       1. rsg-button_main (ex. < span class=”rsg-button_main”> Submit < /span > )
       2. rsg-button_main and rsg-btn_white (ex. < button class=”rsg-button_main rsg-
          btn_white”> Submit < /button > )
       3. rsg-button_main and rsg-btn_gray (ex. < a href=”#” class=”rsg-button_main
          rsg-btn_gray”> Submit < /a > )
       4. rsg-button_1 (ex. < div class=”rsg-button_1″> Submit < /div > )
       5. rsg-button_2
       6. rsg-button_3
           Notes: Classnames can be used in any tags/elements(span, a,
          button, div, etc.). Copying the code from the examples given will not work.
          Remove the spaces between the tagnames and the < >.
    - Display Class Names
       1. rsg-hide: style=”display:none;”
       2. rsg-block: style=”display:block; width:100%; position:relative;”
       3. rsg-iblock: style=”display:inline-block; position:relative;”
       4. rsg-itable: style=”display:inline-table; position:relative;”
       5. rsg-tcenter: style=”text-align: center;”
       6. rsg-tleft: style=”text-align: left;”
       7. rsg-tright: style=”text-align: right;”
    - Preloaders
       1. Code: < div class=”rsg-loading-container_white”>< div class=”rsg-loading”
          >< div class=”rsg-loading-in”>< div>< div>< div>
       2. Code: < div class=”rsg-loading-container_black”>< div class=”rsg-loading”
          >< div class=”rsg-loading-in”>< div>< div>< div>
       3. Activate a preloader from your dashboard. This is a preloader that shows 
          while your website is loading. Once activated, this will appear automatically
          unlike the two above.
           Note: Decide on how these loaders will appear.
 * Incoming Features
    1. Fixed Top Navigation and different templates
    2. Mobile Navigation
    3. Login Modal Templates
    4. Popup Menu Templates
    5. Back to top button designs
    6. Array of different countries with flag carousel shortcode
    7. Preloader designs
 * Requirements
    - PHP 5.4 or higher
    - WordPress 4.8 or higher

## 屏幕截图

 * [[
 * Plugin display on dashboard.
 * [[
 * Button Class Names
 * [[
 * Preloaders
 * [[
 * Login Modals
 * [[
 * Popup Menu Modal

## 安装

 1. Search and install from your wordpress dashboard -> plugins page or manually download
    and extract folder to your plugins directory(wp-content/plugins/)
 2. Activate plugin from wordpress dashboard -> plugins
 3. Go to your wordpress dashboard -> RSG Addons -> Libraries

## 评价

此插件暂无评价。

## 贡献者及开发者

「RSG Compiled Libraries」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Ryner Galaus ](https://profiles.wordpress.org/rynergalaus/)

[帮助将「RSG Compiled Libraries」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/rsg-compiled-libraries)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/rsg-compiled-libraries/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/rsg-compiled-libraries/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/rsg-compiled-libraries/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/rsg-compiled-libraries/)。

## 额外信息

 *  版本 **0.0.1**
 *  最后更新：**7 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **5.2.24**
 *  语言
 * [English (US)](https://wordpress.org/plugins/rsg-compiled-libraries/)
 * 标签
 * [bootstrap](https://cn.wordpress.org/plugins/tags/bootstrap/)[Font Awesome](https://cn.wordpress.org/plugins/tags/font-awesome/)
   [lightweight plugin](https://cn.wordpress.org/plugins/tags/lightweight-plugin/)
   [Lity](https://cn.wordpress.org/plugins/tags/lity/)[slick](https://cn.wordpress.org/plugins/tags/slick/)
 *  [高级视图](https://cn.wordpress.org/plugins/rsg-compiled-libraries/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/rsg-compiled-libraries/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/rsg-compiled-libraries/reviews/)

## 贡献者

 *   [ Ryner Galaus ](https://profiles.wordpress.org/rynergalaus/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/rsg-compiled-libraries/)