Move the "purge theme caches" tool action
This commit is contained in:
parent
e47ee4b50e
commit
9b4b43e515
@ -56,16 +56,6 @@
|
||||
<a class="button button--secondary" id="button-duplicate-tags-to-genres" href="<?php echo fictioneer_tool_action( 'fictioneer_duplicate_story_tags_to_genres' ); ?>"><?php _e( 'Duplicate Tags → Genres', 'fictioneer' ); ?></a>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="fictioneer-card__row">
|
||||
<p><?php _e( '<strong>Purge theme caches.</strong> In order to accelerate page rendering, certain content is composed once and then cached. These caches get purged whenever you make relevant updates. If you need to purge them manually, you can do so here.', 'fictioneer' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="fictioneer-card__row fictioneer-card__row--buttons">
|
||||
<a class="button button--secondary" id="purge-theme-caches" href="<?php echo fictioneer_tool_action( 'fictioneer_tools_purge_theme_caches' ); ?>"><?php _e( 'Purge Theme Caches', 'fictioneer' ); ?></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -217,6 +207,16 @@
|
||||
<a class="button button--secondary" href="<?php echo fictioneer_tool_action( 'fictioneer_tools_add_chapter_hidden_fields' ); ?>" data-click="warning-dialog" data-dialog="<?php esc_attr_e( 'You are about to append the "fictioneer_chapter_hidden" (0) meta field to every chapter. Are you sure you want that?', 'fictioneer' ); ?>"><?php _e( 'Chapter Hidden', 'fictioneer' ); ?></a>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="fictioneer-card__row">
|
||||
<p><?php _e( '<strong>Purge theme caches.</strong> In order to accelerate page rendering, certain content is composed once and then cached. These caches get purged whenever you make relevant updates. If you need to purge them manually, you can do so here.', 'fictioneer' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="fictioneer-card__row fictioneer-card__row--buttons">
|
||||
<a class="button button--secondary" id="purge-theme-caches" href="<?php echo fictioneer_tool_action( 'fictioneer_tools_purge_theme_caches' ); ?>"><?php _e( 'Purge Theme Caches', 'fictioneer' ); ?></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user