Version Description
- Moved WP-Cycle menu location from "Plugins" to "Media"
- Updated the menu registration to comply with new roles methodology.
- Added "Settings" link on plugins page.
Download this release
Release Info
Developer | nathanrice |
Plugin | WP-Cycle |
Version | 0.1.11 |
Comparing to | |
See all releases |
Code changes from version 0.1.10 to 0.1.11
- readme.txt +11 -6
- wp-cycle.php +10 -2
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: nathanrice
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118
|
4 |
Tags: slideshow, images, jquery cycle
|
5 |
-
Requires at least:
|
6 |
Tested up to: 3.0.1
|
7 |
-
Stable tag: 0.1.
|
8 |
|
9 |
This plugin creates an image slideshow in your theme, using the jQuery Cycle plugin. You can upload/delete images via the administration panel, and display the images in your theme by using the <code>wp_cycle();</code> template tag, which will generate all the necessary HTML for outputting the rotating images.
|
10 |
|
@@ -20,7 +20,7 @@ Images can also be deleted via the plugins Administration page.
|
|
20 |
|
21 |
1. Upload the entire `wp-cycle` folder to the `/wp-content/plugins/` directory
|
22 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
23 |
-
1. Configure the plugin, and upload/edit/delete images via the WP-Cycle menu within the
|
24 |
1. Place `<?php wp_cycle(); ?>` in your theme where you want the slideshow to appear
|
25 |
1. Alternatively, you can use the shortcode [wp_cycle] in a post or page to display the slideshow.
|
26 |
|
@@ -36,9 +36,9 @@ Finally, you need to verify that your upload directory is properly set. Some hos
|
|
36 |
|
37 |
= I'm getting an error message that I don't understand. What should I do? =
|
38 |
|
39 |
-
Please [
|
40 |
|
41 |
-
|
42 |
|
43 |
= How can I style the slideshow further? =
|
44 |
In the settings of the plugin, you're able to set a custom DIV ID for the slideshow. Use that DIV ID to style the slideshow however you want using CSS.
|
@@ -103,4 +103,9 @@ Yes. Here are some things that I want to eventually include:
|
|
103 |
* Moved script and args to the `wp_footer` hook
|
104 |
|
105 |
= 0.1.10 =
|
106 |
-
* Fixed minor bug from 0.1.9
|
|
|
|
|
|
|
|
|
|
2 |
Contributors: nathanrice
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118
|
4 |
Tags: slideshow, images, jquery cycle
|
5 |
+
Requires at least: 3.0
|
6 |
Tested up to: 3.0.1
|
7 |
+
Stable tag: 0.1.11
|
8 |
|
9 |
This plugin creates an image slideshow in your theme, using the jQuery Cycle plugin. You can upload/delete images via the administration panel, and display the images in your theme by using the <code>wp_cycle();</code> template tag, which will generate all the necessary HTML for outputting the rotating images.
|
10 |
|
20 |
|
21 |
1. Upload the entire `wp-cycle` folder to the `/wp-content/plugins/` directory
|
22 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
23 |
+
1. Configure the plugin, and upload/edit/delete images via the "WP-Cycle" menu within the "Media" tab
|
24 |
1. Place `<?php wp_cycle(); ?>` in your theme where you want the slideshow to appear
|
25 |
1. Alternatively, you can use the shortcode [wp_cycle] in a post or page to display the slideshow.
|
26 |
|
36 |
|
37 |
= I'm getting an error message that I don't understand. What should I do? =
|
38 |
|
39 |
+
Please [use my support form](http://www.nathanrice.net/plugins/wp-cycle/support/ "email Nathan Rice"). This plugin is now relatively stable, so if you are experiencing problems that you would like me to diagnose and fix, please use my support form.
|
40 |
|
41 |
+
As much as I would like to, in most cases, I cannot provide free support.
|
42 |
|
43 |
= How can I style the slideshow further? =
|
44 |
In the settings of the plugin, you're able to set a custom DIV ID for the slideshow. Use that DIV ID to style the slideshow however you want using CSS.
|
103 |
* Moved script and args to the `wp_footer` hook
|
104 |
|
105 |
= 0.1.10 =
|
106 |
+
* Fixed minor bug from 0.1.9
|
107 |
+
|
108 |
+
= 0.1.11 =
|
109 |
+
* Moved WP-Cycle menu location from "Plugins" to "Media"
|
110 |
+
* Updated the menu registration to comply with new roles methodology.
|
111 |
+
* Added "Settings" link on plugins page.
|
wp-cycle.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP-Cycle
|
4 |
Plugin URI: http://www.nathanrice.net/plugins/wp-cycle/
|
5 |
Description: This plugin creates an image slideshow from the images you upload using the jQuery Cycle plugin. You can upload/delete images via the administration panel, and display the images in your theme by using the <code>wp_cycle();</code> template tag, which will generate all the necessary HTML for outputting the rotating images.
|
6 |
-
Version: 0.1.
|
7 |
Author: Nathan Rice
|
8 |
Author URI: http://www.nathanrice.net/
|
9 |
|
@@ -51,7 +51,15 @@ function wp_cycle_register_settings() {
|
|
51 |
// this function adds the settings page to the Appearance tab
|
52 |
add_action('admin_menu', 'add_wp_cycle_menu');
|
53 |
function add_wp_cycle_menu() {
|
54 |
-
add_submenu_page('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
}
|
56 |
|
57 |
|
3 |
Plugin Name: WP-Cycle
|
4 |
Plugin URI: http://www.nathanrice.net/plugins/wp-cycle/
|
5 |
Description: This plugin creates an image slideshow from the images you upload using the jQuery Cycle plugin. You can upload/delete images via the administration panel, and display the images in your theme by using the <code>wp_cycle();</code> template tag, which will generate all the necessary HTML for outputting the rotating images.
|
6 |
+
Version: 0.1.11
|
7 |
Author: Nathan Rice
|
8 |
Author URI: http://www.nathanrice.net/
|
9 |
|
51 |
// this function adds the settings page to the Appearance tab
|
52 |
add_action('admin_menu', 'add_wp_cycle_menu');
|
53 |
function add_wp_cycle_menu() {
|
54 |
+
add_submenu_page('upload.php', 'WP-Cycle Settings', 'WP-Cycle', 'upload_files', 'wp-cycle', 'wp_cycle_admin_page');
|
55 |
+
}
|
56 |
+
|
57 |
+
// add "Settings" link to plugin page
|
58 |
+
add_filter('plugin_action_links_' . plugin_basename(__FILE__) , 'wp_cycle_plugin_action_links');
|
59 |
+
function wp_cycle_plugin_action_links($links) {
|
60 |
+
$wp_cycle_settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'upload.php?page=wp-cycle' ), __('Settings') );
|
61 |
+
array_unshift($links, $wp_cycle_settings_link);
|
62 |
+
return $links;
|
63 |
}
|
64 |
|
65 |
|