Giter Club home page Giter Club logo

breakdance-hide-topbar's Introduction

Breakdance - Hide Topbar & Always Show Sidebars

Description

This Breakdance website builder plugin dynamically toggles the visibility of the top bar and ensures that sidebars are consistently displayed upon page load. It is ideal for users seeking a more streamlined and personalized UI/UX within their WordPress admin pages. I also added a button for closing the left panel from element panel detail, so that it can be used even when the top bar is hidden. If you want to show the panel again, use the keyboard shortcut CTRL + A or CMD + A (like Add). This plugin utilizes jQuery for front-end interactions

Features

  • Hides the topbar on demand
  • Adds a 'show' button to toggle the topbar back on
  • Adds a 'close' button to elements panel
  • Ensures sidebars are always visible
  • Adds a button to open the frontend in a new tab (next to the settings button)
  • Script now loads only in the builder for optimized performance.
  • Adds a page with builder sidebars settings (in admin โ†’ settings)

Installation

  1. Clone this repository or download the ZIP file and extract it.
  2. Move the extracted folder to the wp-content/plugins/ directory of your WordPress installation, or perform a standard installation through the WordPress admin panel.
  3. Navigate to Plugins and activate the "Breakdance - Hide Topbar & Always Show Sidebars" plugin.

Usage

Once activated, the plugin automatically attaches buttons to toggle the visibility of the topbar. Clicking these buttons will hide or show the topbar as per your needs.

Technical Details

  • Language: PHP, JavaScript
  • Dependencies: jQuery

Hooked Actions

  • wp_head: Adds jQuery and custom scripts to the head of the document.

Important Files

  • breakdance-hide-topbar-script.js: Contains the frontend jQuery code for hiding the topbar and showing the sidebars.

Contributing

Feel free to submit pull requests or create issues to improve the plugin.

Author

Created by Codestormer.com

breakdance-hide-topbar's People

Contributors

paperbonsai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.