OnionBuzz plugin lets you add beautifully designed and responsive viral content using shortcodes or custom post types. It’s an easy to use and works with any WordPress theme!

Installation

  1. Unzip plugin archive.
  2. Place OnionBuzz folder into the …/wp-content/plugins/ directory of your site.

Or you can do the second part in more handy way via WordPress Admin panel:

  1. On the Plugins panel press the Add New button.
  2. Press Upload tab.
  3. Browse for the OnionBuzz.zip file, select it, press Open.
  4. Click Install Now.

Files Structure

OnionBuzz has standard WordPress plugin structure. It includes both PHP files for server-side and JavaScript files to operate on client-side. Plugin core files located in lib/Core folder and are responsible for generation of grid HTML and injecting JS (like main JS frontend.js) from /static folder and CSS from /static folder on your site page. Also they are responsible for plugin options and settings storage.

Source code: PHP and JavaScript

Plugin main PHP class is defined in /lib/Core/Plugin.php. It provides standard WordPress plugin routine like settings and appearance presentation in admin and settings storage in WordPress database and also includes other .php files and injects .js, .css on site public pages. Nothing really to customize here, only in case of addition of new functionality .

Front-end scripting and third-party plugins are located in main JS file /frontend/js/frontend.js.

Design: CSS and images

We use multiple CSS files in this plugin: for admin and public. File like admin/css/admin.css is for plugin styles in WordPress admin like settings page. The second file /frontend/css/frontend.css contains stylings for the OnionBuzz on your site pages. Rest are third-party plugin’s CSS for admin e.g. colorpicker

Feel free to edit any of this CSS. Please double-check if editing more than just font or background color.

Usage

Please refer to individual articles from right sidebar menu for various guidance.

Browser support

  • Chrome >= 20
  • Mozilla Firefox >= 15
  • Internet Explorer >= 10
  • Safari >= 5
  • Opera >= 15
  • Safari Mobile for iOS
  • Chrome for Android / iOS
  • Firefox for Android

Requirements

  • You need to have PHP version 5.3 or higher on you WP server.
  • You need to have jQuery version 1.7 or higher used by your WP installation.

After installation

Follow First Steps guide and learn how to display OnionBuzz viral content on your website.

Support

To get support for any our product please visit our Help Center. Our Help Center is the only official Looks Awesome support handling mechanism. Questions sent using other channels may be ignored without notice. Check out our Support Policy.

in Getting Started

Related Articles