... | ... |
@@ -46,6 +46,9 @@ class Class_Rucy_Setting { |
46 | 46 |
<div class="wrap"> |
47 | 47 |
<h2><?php _e( 'Rucy Settings', RC_TXT_DOMAIN ); ?></h2> |
48 | 48 |
<p><?php _e( 'Configure content types reservation update.', RC_TXT_DOMAIN ); ?></p> |
49 |
+ <div class="rc-donation"> |
|
50 |
+ <p><?php _e( 'Your contribution will continue to better this plugin.', RC_TXT_DOMAIN ); ?> <a href="http://www.amazon.co.jp/registry/wishlist/27FDI6LJU0X1O" class="button"><?php _e( 'Donate', RC_TXT_DOMAIN ); ?></a></p> |
|
51 |
+ </div> |
|
49 | 52 |
<form method="post" action="#"> |
50 | 53 |
<?php wp_nonce_field('update-options'); ?> |
51 | 54 |
<table class="form-table"> |
... | ... |
@@ -75,7 +75,7 @@ class Rucy_Class { |
75 | 75 |
*/ |
76 | 76 |
public function enqueue_style_script() { |
77 | 77 |
global $hook_suffix; |
78 |
- if ( in_array( $hook_suffix, array( 'post.php', 'post-new.php' ) ) ) { |
|
78 |
+ if ( in_array( $hook_suffix, array( 'post.php', 'post-new.php', 'settings_page_rucy' ) ) ) { |
|
79 | 79 |
wp_register_style('rucy.css', RC_PLUGIN_URL . 'css/rucy.css',array(),'0.1.0'); |
80 | 80 |
wp_register_script('rucy.js', RC_PLUGIN_URL . 'js/rucy.js', array('jquery'), '0.1.1'); |
81 | 81 |
wp_enqueue_style('rucy.css'); |