Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

I'd like this

Travis CI Build Status

Add an "I'd like this" button anywhere in a WordPress post and get user feedback on your ideas, proposals and plans.

This plugin was built to give a concrete example of dependency injection usage in WordPress with DI52 and test-driven development using Codeception and wp-browser .
The test coverage is far from being complete but it contains a lot of hints and practical examples in the /tests folder for integration and functional testing.

Installation

Clone the plugin repository in a WordPress plugin directory:

cd /var/www/wordpress/wp-content/plugins
git clone lucautume/idlikethis

Cd into the plugin folder and install Composer dependencies:

cd idlikethis
composer install

Usage

Activate the plugin in WordPress plugin administration screen.
The plugin has not options and will add support for the [idlikethis] shortcode.
The shortcode can be used in its short form to generate a button that will register a generic "I'd liket this" comment:

How would you like me to undergo the steamy hot bucket challenge? [idlikethis]

Or in its long form to specify an idea:

Would you like me to undergo the steamy hot bucket challenge? [idlikethis]Steamy hot bucket[/idlikethis]
Or rather the ice bucket challenge? [idlikethis]Ice bucket[/idlikethis]

About

Add an "I'd like this" button anywhere in a WordPress post and get user feedback on your ideas, proposals and plans.

Resources

Languages

You can’t perform that action at this time.