Full-width shortcodes in admin
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user