Changeset 346674
- Timestamp:
- 02/17/2011 02:52:19 AM (15 years ago)
- Location:
- connect-pictage-to-wordpress/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-pictage.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
connect-pictage-to-wordpress/trunk/readme.txt
r316000 r346674 1 1 === Connect Pictage to WordPress === 2 2 Contributors: Marty Thornley 3 Tags: pictage, e zlink, events, photography, photographers, photographyblogsites3 Tags: pictage, events, photography, photographers, photographyblogsites 4 4 Tested up to: 3.0.1 5 Version: 1. 0 Beta5 Version: 1.1 6 6 Stable tag: trunk 7 7 … … 10 10 == Description == 11 11 12 Note: This plugin is for Pictage members. 12 This plugin is no longer supported. It has been incorporate into the new Photographer Connections plugin. 13 13 14 This plugin generates a list of your active events matching the style of your current theme. 14 Please discontinue use and switch to [Photographer Connections](http://wordpress.org/extend/plugins/photographer-connections) 15 15 16 To use, add the [pictage] shortlink to any post or page. 16 More Info available at [PhotographyBlogSites.com](http://photographyblogsites.com/wordpress-plugins/photographer-connections) 17 17 18 To style events...19 * Use your theme's css.20 * The links are wrapped in a div with class of "pictage-events".21 * .pictage-events {}22 * .pictage-events a {}23 24 == Installation ==25 26 Installing the plugin is easy and follows the standard steps:27 28 1. Upload '/connect-pictage-to-wordpress/' to the `/wp-content/plugins/` directory.29 2. Activate the plugin through the 'Plugins' menu in WordPress.30 3. Configure the the plugin by going to 'Pictage Settings' under 'Settings'.31 4. Place the shortlink, [pictage] in any page or post.32 33 == Frequently Asked Questions ==34 35 = What is my Studio ID? =36 37 Log in at Pictage and go to My Account > Manage Studio. It's usually your first and38 last initials, followed by 3 numbers. I.E. AA12339 40 = Some of my events are not listed, why? =41 42 Be sure the event is set to be "searchable" from "Edit Info & Settings".43 44 = What if I don't want an event listed? =45 46 Be sure the event is not set to be "searchable" from "Edit Info & Settings".47 -
connect-pictage-to-wordpress/trunk/wp-pictage.php
r316000 r346674 4 4 Plugin URI: http://photographyblogsites.com/resources/wordpress-plugins/wp-pictage 5 5 Description: Allows Pictage members to list their events within a WordPress page or post. 6 Version: 0.16 Version: 1.1 7 7 Author: based on "Pictage Link" by Alfred Gutierrez - http://code.google.com/p/pictage-link/ 8 8 Author URI: http://photographyblogsites.com … … 38 38 wp_enqueue_script ('jquery'); 39 39 40 add_shortcode ('pictage', 'pictage_events ');40 add_shortcode ('pictage', 'pictage_events2'); 41 41 42 add_action ('admin_menu', 'pictage_admin ');43 add_action ('wp_head', 'pictage_css ');42 add_action ('admin_menu', 'pictage_admin2'); 43 add_action ('wp_head', 'pictage_css2'); 44 44 45 function pictage_admin () {45 function pictage_admin2() { 46 46 add_menu_page('Pictage Settings', 'Pictage Settings', 'administrator', __FILE__, 'pictage_options',plugins_url('/pictage.png', __FILE__)); 47 47 } 48 48 49 function pictage_events ($studio_id="") {49 function pictage_events2($studio_id="") { 50 50 51 51 if ($studio_id == '') { … … 70 70 } 71 71 72 function pictage_css () {72 function pictage_css2() { 73 73 74 74 $pictage_options = maybe_unserialize(get_option('pictage_options')); … … 118 118 if ($_POST['pictage-submit']) { 119 119 120 if ( !wp_verify_nonce( $_POST[ 'pictage_admin ' ], 'pictage_admin' ) ) :120 if ( !wp_verify_nonce( $_POST[ 'pictage_admin2' ], 'pictage_admin2' ) ) : 121 121 ?> 122 122 <div class="updated"> … … 151 151 <h2>WP Pictage Options</h2></br> 152 152 <form name="theform" method="post" enctype="multipart/form-data" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']);?>"> 153 <?php wp_nonce_field( 'pictage_admin ', 'pictage_admin', false, true ); ?>153 <?php wp_nonce_field( 'pictage_admin2', 'pictage_admin2', false, true ); ?> 154 154 <p>Studio ID:</p> 155 155 <input type="text" name="studio_id" size ="5" value="<?php echo $pictage_options['studio_id']; ?>" /> <i>i.e. AB123 (Upper Case Only)</i>
Note: See TracChangeset
for help on using the changeset viewer.