Giter VIP home page Giter VIP logo

cmp-wp-plugin's Introduction


INSTALLATION

install docker-compose

sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

Clone the git repository

git clone https://github.com/digi-trust/cmp-wp-plugin.git

Run docker

docker-compose build
docker-compose up

Settings

The wordpress site can be accessed at: http://localhost:8181

Go to http://localhost:8181/wp-admin/plugins.php to activate DigiTrust CMP plugin

Click on DigiTrust CMP activate Alt activate DigiTrust CMP

Click on DigiTrust menu for configuration Alt activate DigiTrust CMP

Go to http://localhost:8181 to show CMP modal

Alt activate DigiTrust CMP

cmp-wp-plugin's People

Contributors

igorlaktionov avatar tabbakh avatar

Stargazers

 avatar Oleg avatar

Watchers

 avatar James Cloos avatar  avatar  avatar  avatar

Forkers

igorlaktionov

cmp-wp-plugin's Issues

CMP Wordpress Plugin v1

Summary
Many of our long-tail publishers work with the free version of WordPress that does not allow JS. A plugin allows these publishers to install the CMP in their site and without having to write code.

Acceptance criteria:v1

  • Plugin is available to install in the WordPress Plugins marketplacePlugin needs to be able to be activated (using the activation hook) once installed
  • Website owner should be able to toggle the CMP on or off–
  • Toggle should live on that users WP dashboard–
  • This should toggle functionality of the entire tool (before any of the pop-up logic takes place)
  • CMP should be configurable via JSON blob

Details:
Per the WordPress documentation here https://developer.wordpress.org/plugins/the-basics/, it should be relatively straightforward to load the CMP on a WordPress page using a PHP WordPress plugin. Additional details on that here https://stackoverflow.com/questions/9141885/how-to-load-javascript-in-wordpress-plugin.

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.