Remove append and prepend

This commit is contained in:
Brian Miyaji
2015-12-29 15:18:02 +11:00
parent 75afd786b6
commit c8cec6de68
7 changed files with 5 additions and 113 deletions

View File

@@ -295,8 +295,6 @@
<tr>
<th scope="col"><?php _e( 'Label', 'sportspress' ); ?></th>
<th scope="col"><?php _e( 'Variable', 'sportspress' ); ?></th>
<th scope="col"><?php _e( 'Prepend', 'sportspress' ); ?></th>
<th scope="col"><?php _e( 'Append', 'sportspress' ); ?></th>
<th scope="col"><?php _e( 'Description', 'sportspress' ); ?></th>
<th scope="col" class="edit"></th>
</tr>
@@ -305,14 +303,12 @@
<tr<?php if ( $i % 2 == 0 ) echo ' class="alternate"'; ?>>
<td class="row-title"><?php echo $row->post_title; ?></td>
<td><code><?php echo $row->post_name; ?></code></td>
<td><?php echo sp_get_post_prepend( $row->ID ); ?></td>
<td><?php echo sp_get_post_append( $row->ID ); ?></td>
<td><p class="description"><?php echo $row->post_excerpt; ?></p></td>
<td class="edit"><a class="button" href="<?php echo get_edit_post_link( $row->ID ); ?>"><?php _e( 'Edit', 'sportspress' ); ?></s></td>
</tr>
<?php $i++; endforeach; else: ?>
<tr class="alternate">
<td colspan="6"><?php _e( 'No results found.', 'sportspress' ); ?></td>
<td colspan="4"><?php _e( 'No results found.', 'sportspress' ); ?></td>
</tr>
<?php endif; ?>
</table>