-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin-form-table.php
More file actions
32 lines (32 loc) · 1.09 KB
/
admin-form-table.php
File metadata and controls
32 lines (32 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<table class="form-table">
<tbody>
<tr>
<th scope="row"><?php _e( 'Post Types', 'wp-parser-json' ); ?></th>
<td>
<fieldset>
<legend class="screen-reader-text">
<span><?php _e( 'Post Types', 'wp-parser-json' ); ?></span>
</legend>
<?php echo $checkboxes; ?>
</fieldset>
</td>
</tr>
<tr>
<th scope="row">
<?php _e('Pagination', 'wp-parser-json'); ?>
</th>
<td>
<label for="paginate">
<input name="paginate" type="checkbox" id="paginate" value="on"<?php echo $paginate_checked; ?>>
<?php _e('Enable paginated JSON files', 'wp-parser-json'); ?>
</label>
<label for="posts_per_page">
<?php _e('with ', 'wp-parser-json'); ?>
<input name="posts_per_page" type="number" min="1" step="1" id="posts_per_page" value="<?php echo $posts_per_page; ?>" class="small-text">
<?php _e('posts per page', 'wp-parser-json'); ?>
</label>
<p class="description"><?php _e('Only use this option if you add many post fields with the <code>wp_parser_json_content_item</code> filter', 'wp-parser-json'); ?></p>
</td>
</tr>
</tbody>
</table>