=== Modal Links ===
Contributors: grglaz
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=43B53PFVBN9HA
Tags: modal, modal window, modal link, link, jquery modal, jquery dialog
Requires at least: 3.0.1
Tested up to: 3.9
Stable tag: 0.0.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This plugin opens a "modal" link of post/page in modal window.
== Description ==
This plugin opens a "modal" link of post/page in modal window.
Install it and activate it to see it in action.
Go to Settings->Modal Links and check the options.
Basic Features:
- Create modal link of post/page using the shortcode [modalLinks]LINK_NAME[/modalLinks].
- Use "id" (id="ID") or "permalink" (permalink="PERMALINK") shortcode attributes to target the post/page.
- Use category "Modals" to hide the post's title in modal window.
- Use the shortcode attribute "title" to hide (title="false") or show (title="true") post's/page's title in modal window.
- Setup width for modal window in settings.
- Add extensions to expand functionality
Extensions:
- Shortcode GUI (adds a GUI way to insert the shortcode into the wp editor. No need to know the shortcode and post's/page's id.)
- Read More [Free extension] (uses the post's/page's read more link to open the complete post/page in modal window.)
- Auto Open (opens a post/page in modal window automatically. Selectable option for each post/page and front page.)
* check some screenshots for these extensions in Screenshots tab.
Website:
Modal Links Website
== Installation ==
1. Upload the folder "modal-links" to the "/wp-content/plugins/" directory or install it through WordPress directly.
2. Activate the "Modal Links" plugin through the 'Plugins' menu in WordPress.
3. Go to Settings->Modal Links and check the options.
== Frequently Asked Questions ==
= How do i create a modal link? =
Use the shortcode
[modalLinks]LINK_NAME[/modalLinks]
in a post or page.
Shortcode Attributes:
- id : The post's/page's id.
(ex. [modalLinks id="1"]link name[/modalLinks])
- permalink : The post\'s/page\'s permalink.
(ex. [modalLinks permalink="/post_name"]LINK_NAME[/modalLinks])
- title : To force the post's/page's title hide or show in modal window
(ex. [modalLinks id="1" title="false"]LINK_NAME[/modalLinks])
* Note that If both id and permalink provided, id will be use.
(ex. [modalLinks id="1" permalink="/post_name"]LINK_NAME[/modalLinks])
= What if i have shortcodes in my post or page? =
No problem, shortcodes are rendering fine in the modal.
= Does this plugin works for both posts and pages? =
Yes.
= Does this plugin works for any permalink setting? =
Yes. (except of custom permalinks if you refer to a post/page by permalink)
= What library do you use for the modal? =
Wordpress's built in jQuery Dialog.
= Where can i find extensions? =
In plugin's website: Modal Links Website
== Screenshots ==
1. screenshot-1.png The menu in settings
2. screenshot-2.png The plugin's settings
3. screenshot-3.png The shorthand
4. screenshot-4.png The link
5. screenshot-5.png The modal in action
6. screenshot-6.png Shortcode GUI extension
7. screenshot-7.png Read More extension
8. screenshot-8.png Auto Open extension
== Changelog ==
= 0.0.6 =
modal window width can now be setup
= 0.0.5 =
many fixes
= 0.0.4 =
now you can hide post's or page's title
= 0.0.3 =
now you can use permalink instead id in shortcode
= 0.0.2 =
Bugs fix
= 0.0.1 =
First version
== Upgrade Notice ==
= 0.0.6 =
modal window width can now be setup
= 0.0.5 =
many fixes
= 0.0.4 =
now you can hide post's or page's title
= 0.0.3 =
now you can use permalink instead id in shortcode
= 0.0.2 =
Bugs fix
= 0.0.1 =
This is the first version