Update README.md
This commit is contained in:
24
README.md
24
README.md
@ -4,13 +4,31 @@ Wordpress Plugin. Adds a [juxtapose] shortcode to embed Northwestern University
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Specify left and right images inside a *[juxtapose]* shortcode:
|
### 1. Get image URLs
|
||||||
|
|
||||||
|
You can get both image URLs from your WP Media Library:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### 2. Write a Juxtapose shortcode
|
||||||
|
|
||||||
|
Having both URLs, i.e.:
|
||||||
|
- http://localhost/wordpress/wp-content/uploads/2015/03/Hydrangeas.jpg
|
||||||
|
- http://localhost/wordpress/wp-content/uploads/2015/03/Desert.jpg
|
||||||
|
|
||||||
|
... you write a <code>juxtapose</code> shortcode in the Post WYSIWYG editor:
|
||||||
|
|
||||||
```
|
```
|
||||||
[juxtapose leftsrc="/wordpress/wp-content/uploads/2015/03/Hydrangeas.jpg" rightsrc="/wordpress/wp-content/uploads/2015/03/Desert.jpg"]
|
[juxtapose leftsrc="http://localhost/wordpress/wp-content/uploads/2015/03/Hydrangeas.jpg" rightsrc="http://localhost/wordpress/wp-content/uploads/2015/03/Desert.jpg"]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|

|
||||||
|
|
||||||
|
### 3. Publish and enjoy
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Shortcode Options
|
||||||
|
|
||||||
| Shortcode option | Default value | Valid values | Notes |
|
| Shortcode option | Default value | Valid values | Notes |
|
||||||
|------------------|---------------|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
|
|------------------|---------------|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
Reference in New Issue
Block a user