Code Monkey home page Code Monkey logo

customize-direct-manipulation's Introduction

A WordPress plugin that adds small icons to the customizer preview that open the respective section in the sidebar.

Demo

Installation

  1. Visit the Releases page and download the latest release (not the source code).
  2. Navigate to Plugins โ†’ Add New in your WordPress site's admin area and click the "Upload Plugin" button at the top in order to upload the ZIP file. If this button doesn't exist due to file permissions, you can install it manually.
  3. Activate the plugin, either from the page that shows up after uploading the ZIP file or from your plugins list if you uploaded the plugin manually.
  4. Navigate to Appearance โ†’ Customize from your WordPress menu.
  5. Click the small icons to activate the appropriate controls in the sidebar.

Customizer with CDM active

Contributing

  1. Clone this repo and install it on a WordPress site. You can either clone the repo directly into your /wp-content/plugins directory, or use copytotheplace by adding a .env file with your target directory and running grunt copytotheplace.
  2. After cloning, run npm install and then npm run dist to compile the JavaScript.
  3. To start a watcher process for development, run npm start (this will also run copytotheplace if you have a .env file set).
  4. If you want to see detailed info in your browser console, enable debugging by running the following command in the console and then reloading the page: localStorage.setItem('debug', 'cdm:*');.

Testing

Run npm install and then npm test to run the test suite.

Circle CI

customize-direct-manipulation's People

Contributors

mattwiebe avatar sirbrillig avatar taggon avatar viper007bond avatar westonruter avatar

Watchers

 avatar  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.