Added Demo posts inserter
This commit is contained in:
@ -247,6 +247,7 @@ function render_lcp_theme_settings_page() {
|
||||
<li class="tab-link active" data-tab="custom-meta">Custom Meta</li>
|
||||
<li class="tab-link" data-tab="icons">Icons</li>
|
||||
<li class="tab-link" data-tab="custom-code">Custom Code</li>
|
||||
<li class="tab-link" data-tab="misc">Miscellaneous</li>
|
||||
</ul>
|
||||
|
||||
<!-- Tab Panes -->
|
||||
@ -258,7 +259,7 @@ function render_lcp_theme_settings_page() {
|
||||
<?php
|
||||
// Output necessary settings fields for the 'Icons' tab
|
||||
// This outputs all the fields defined by add_settings_field
|
||||
mytheme_display_icon_sets();
|
||||
lcp_display_icon_sets();
|
||||
?>
|
||||
|
||||
|
||||
@ -300,6 +301,14 @@ function render_lcp_theme_settings_page() {
|
||||
<?php submit_button(); ?>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="misc" class="tab-pane">
|
||||
<!-- Misc Settings -->
|
||||
<h2>Miscellaneous Settings</h2>
|
||||
|
||||
<!-- Button to trigger the AJAX import demo posts -->
|
||||
<button id="import-demo-posts" class="button button-primary">Import Demo Posts</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user