跳到内容

RSG Compiled Libraries

v0.0.1

Ryner Galaus · 2019年5月9日 上架

Includes common libraries used for development. It also comes with simple functions that are widely used on a website.

正在使用
10+
评分
暂无
累计下载
1,613
最近更新
2019年5月19日
需要 WordPress 4.6+已测试到 5.2.31

贡献者

截图

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

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
    2. Font Awesome v5.7.1
    3. Lity v2.3.1
    4. Slick v1.8.1
    5. Tablesorter v2.31.1
    6. Bootstrap Navwalker v2.0.4
  • Additional Functions

    1. WP Login Function
      • 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/
    2. Logout
      • Add the classname ‘rsg_wp_logout_link’ to your link.
      • It will automatically logout the user on click.
    3. Popup Menu Function
      • 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/
    4. Get Menu Function
      • 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’);
    5. Random String Generator
      • 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).
    6. Back To Top Function
      • 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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums