Full-width shortcodes in admin

This commit is contained in:
Brian Miyaji
2014-10-13 17:02:18 +11:00
parent 17fff74795
commit 33ecd1e3a4
5 changed files with 8 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ class SP_Meta_Box_Calendar_Shortcode {
<p class="howto">
<?php _e( 'Copy this code and paste it into your post, page or text widget content.', 'sportspress' ); ?>
</p>
<p><input type="text" value="[event_<?php echo $the_format; ?> <?php echo $post->ID; ?>]" readonly="readonly" class="code"></p>
<p><input type="text" value="[event_<?php echo $the_format; ?> <?php echo $post->ID; ?>]" readonly="readonly" class="code widefat"></p>
<?php
}
}

View File

@@ -26,15 +26,15 @@ class SP_Meta_Box_Event_Shortcode {
<p>
<strong><?php _e( 'Team Results', 'sportspress' ); ?></strong>
</p>
<p><input type="text" value="[event_results <?php echo $post->ID; ?>]" readonly="readonly" class="code"></p>
<p><input type="text" value="[event_results <?php echo $post->ID; ?>]" readonly="readonly" class="code widefat"></p>
<p>
<strong><?php _e( 'Details', 'sportspress' ); ?></strong>
</p>
<p><input type="text" value="[event_details <?php echo $post->ID; ?>]" readonly="readonly" class="code"></p>
<p><input type="text" value="[event_details <?php echo $post->ID; ?>]" readonly="readonly" class="code widefat"></p>
<p>
<strong><?php _e( 'Player Performance', 'sportspress' ); ?></strong>
</p>
<p><input type="text" value="[event_performance <?php echo $post->ID; ?>]" readonly="readonly" class="code"></p>
<p><input type="text" value="[event_performance <?php echo $post->ID; ?>]" readonly="readonly" class="code widefat"></p>
<?php
}
}

View File

@@ -25,7 +25,7 @@ class SP_Meta_Box_List_Shortcode {
<p class="howto">
<?php _e( 'Copy this code and paste it into your post, page or text widget content.', 'sportspress' ); ?>
</p>
<p><input type="text" value="[player_<?php echo $the_format; ?> <?php echo $post->ID; ?>]" readonly="readonly" class="code"></p>
<p><input type="text" value="[player_<?php echo $the_format; ?> <?php echo $post->ID; ?>]" readonly="readonly" class="code widefat"></p>
<?php
}
}

View File

@@ -26,11 +26,11 @@ class SP_Meta_Box_Player_Shortcode {
<p>
<strong><?php _e( 'Details', 'sportspress' ); ?></strong>
</p>
<p><input type="text" value="[player_details <?php echo $post->ID; ?>]" readonly="readonly" class="code"></p>
<p><input type="text" value="[player_details <?php echo $post->ID; ?>]" readonly="readonly" class="code widefat"></p>
<p>
<strong><?php _e( 'Statistics', 'sportspress' ); ?></strong>
</p>
<p><input type="text" value="[player_statistics <?php echo $post->ID; ?>]" readonly="readonly" class="code"></p>
<p><input type="text" value="[player_statistics <?php echo $post->ID; ?>]" readonly="readonly" class="code widefat"></p>
<?php
}
}

View File

@@ -23,7 +23,7 @@ class SP_Meta_Box_Table_Shortcode {
<p class="howto">
<?php _e( 'Copy this code and paste it into your post, page or text widget content.', 'sportspress' ); ?>
</p>
<p><input type="text" value="[league_table <?php echo $post->ID; ?>]" readonly="readonly" class="code"></p>
<p><input type="text" value="[league_table <?php echo $post->ID; ?>]" readonly="readonly" class="code widefat"></p>
<?php
}
}