|
1
|
|
|
<?php defined( 'WPINC' ) || die; ?> |
|
2
|
|
|
|
|
3
|
|
|
<div class="wrap"> |
|
4
|
|
|
<h1><?= $heading; ?></h1> |
|
5
|
|
|
<?php settings_errors(); ?> |
|
6
|
|
|
<form method="post" action="options.php" enctype="multipart/form-data" id="<?= $id; ?>"> |
|
7
|
|
|
<?php settings_fields( $id ); ?> |
|
8
|
|
|
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> |
|
9
|
|
|
<?php wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?> |
|
10
|
|
|
<input type="hidden" id="archive-type" name="archive-type" value="<?= $post_type; ?>"> |
|
11
|
|
|
<div id="poststuff"> |
|
12
|
|
|
<div id="post-body" class="metabox-holder columns-<?= $columns; ?>"> |
|
13
|
|
|
<div id="post-body-content"> |
|
14
|
|
|
<div id="titlediv"> |
|
15
|
|
|
<input type="text" id="title" name="<?= $id; ?>[<?= $post_type; ?>][title]" value="<?= $title; ?>" placeholder="<?= __( 'Enter title here', 'pollux' ); ?>" size="30" spellcheck="true" autocomplete="off"> |
|
16
|
|
|
<div id="edit-slug-box"> |
|
17
|
|
|
<strong>Permalink:</strong> |
|
18
|
|
|
<span id="sample-permalink"><a href="<?= get_post_type_archive_link( $post_type ); ?>"><?= get_post_type_archive_link( $post_type ); ?></a></span> |
|
|
|
|
|
|
19
|
|
|
</div> |
|
20
|
|
|
</div> |
|
21
|
|
|
<div id="postdivrich" class="postarea wp-editor-expand"> |
|
22
|
|
|
<?php do_action( 'pollux/archives/editor', $content, $post_type ); ?> |
|
23
|
|
|
<table id="post-status-info"> |
|
24
|
|
|
<tbody> |
|
25
|
|
|
<tr> |
|
26
|
|
|
<td id="wp-word-count" class="hide-if-no-js"> |
|
27
|
|
|
<?= sprintf( __( 'Word count: %s', 'pollux' ), '<span class="word-count">0</span>' ); ?> |
|
28
|
|
|
</td> |
|
29
|
|
|
<td id="content-resize-handle" class="hide-if-no-js"> |
|
30
|
|
|
<br> |
|
31
|
|
|
</td> |
|
32
|
|
|
</tr> |
|
33
|
|
|
</tbody> |
|
34
|
|
|
</table> |
|
35
|
|
|
</div> |
|
36
|
|
|
</div> |
|
37
|
|
|
<div id="postbox-container-1" class="postbox-container"> |
|
38
|
|
|
<?php do_meta_boxes( null, 'side', null ); ?> |
|
39
|
|
|
</div> |
|
40
|
|
|
<div id="postbox-container-2" class="postbox-container"> |
|
41
|
|
|
<?php do_meta_boxes( null, 'normal', null ); ?> |
|
42
|
|
|
<?php do_meta_boxes( null, 'advanced', null ); ?> |
|
43
|
|
|
</div> |
|
44
|
|
|
</div> |
|
45
|
|
|
<br class="clear"> |
|
46
|
|
|
</div> |
|
47
|
|
|
</form> |
|
48
|
|
|
</div> |
|
49
|
|
|
|