Changeset 541940
- Timestamp:
- 05/09/2012 05:32:07 PM (13 years ago)
- Location:
- informational-popup/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
informational-popup/trunk/info_popup_main.php
r541044 r541940 7 7 Author: Josh Keen 8 8 9 10 NEW NOTE11 9 License: GPL2 12 10 This program is free software; you can redistribute it and/or modify … … 22 20 http://www.gnu.org/licenses/gpl.html. 23 21 24 here is a new note --I'm testing soemthing in subversion25 another note26 22 */ 27 23 … … 91 87 } else{ 92 88 93 $complete_img_path = $blog_url. 'wp-content/plugins/informational-popup/pop-images/'.$pop_image;89 $complete_img_path = $blog_url.$pop_image; 94 90 $img_div = '<img src="'.$complete_img_path.'" alt="popup image '.$pop_image.'" id="img_tag_'.$pop_id_num.'" />'; 95 91 … … 156 152 <?php } 157 153 158 // Create the function use in the action hook154 // Create the function to use in the action hook 159 155 160 156 function popup_add_dashboard_widgets() { 161 157 wp_add_dashboard_widget('popup_dashboard_widget', 'info popup Dashboard Widget', 'popup_dashboard_widget_function'); 162 158 } 163 164 159 // Hook into the 'wp_dashboard_setup' action to register our other functions 165 160 -
informational-popup/trunk/readme.txt
r533207 r541940 7 7 Stable tag: trunk 8 8 9 UNDER CONTRUCTION. DO NOT DOWNLOAD! Sorry, please check back later. 9 under construction!!!!!! 10 10 11 11 12 12 == Description == 13 13 14 Informational Popupshortcode to create animated popup windows. It supports text, images and links. Create dynamic foot notes, explore digressions, extend your posts.14 This is a shortcode to create animated popup windows. It supports text, images and links. Create dynamic foot notes, explore digressions, extend your posts. 15 15 16 16 example: … … 21 21 [info_popup pop_title='PASTE THE WINDOW'S HEADLINE HERE' message='PASTE THE MAIN TEXT HERE' pop_image='example.jpg']THIS TEXT WILL SHOW AS BEING CLICKABLE IN YOUR POST BECAUSE IT'S WRAPPED IN THE SHORTCODE[/info_popup] 22 22 23 Upload the images you want to use in your popups to (YOUR DOMAIN)/wp-content/plugins/informational-popup/pop-images24 25 You can add anchor tags anywhere in the message="".26 23 27 24 Example: … … 29 26 I'm using (open anchor tag here) in the example because otherwise it will render as a live anchor tag on this page (the wordpress plugin repository page you're visiting right now). 30 27 31 [info_popup pop_title="Here's a Headline!" message="Here's a message! And here is a (open anchor tag here) alink to the onion.(close anchor tag here)" pop_image="example.jpg"]Click me![/info_popup]28 [info_popup pop_title="Here's a Headline!" message="Here's a message! And here is a (open anchor tag here) link to the onion.(close anchor tag here)" pop_image="example.jpg"]Click me![/info_popup] 32 29 33 30 … … 60 57 3. In a post or page use the shortcode [info_popup pop_title='Headline at the Top of the Window' message='This is the main text']clickable text in your post or page.[/info_popup] to create a popup link. 61 58 4. Go to the dashboard, select appearance->info popup options, choose styles and click set style options. 62 5. Upload images you want to use in your popups to this directory: [your domain]/wp-content/plugins/informational-popup/popup-images 59 5. YOU MUST CLICK "set popup options" TO INITIALIZE POPUP WINDOWS WHEN YOU FIRST INSTALL THIS PLUGIN! 60 6. Upload images anywhere to any directory (folder) in your website's domain. 63 61 64 62 == FAQ ==
Note: See TracChangeset
for help on using the changeset viewer.