Remaining ") ?>" to "); ?>"
This commit is contained in:
parent
9a0f7992b0
commit
cdd2f00cef
@ -44,7 +44,7 @@
|
|||||||
?>
|
?>
|
||||||
</h1>
|
</h1>
|
||||||
<?php if ( ! empty( $current_description ) ) : ?>
|
<?php if ( ! empty( $current_description ) ) : ?>
|
||||||
<p class="tax-cloud__tax-description"><strong><?php _e( 'Definition:', 'fictioneer' ) ?></strong> <?php echo $current_description; ?></p>
|
<p class="tax-cloud__tax-description"><strong><?php _e( 'Definition:', 'fictioneer' ); ?></strong> <?php echo $current_description; ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ if ( ! function_exists( 'fcn_keyword_search_taxonomies_input' ) ) {
|
|||||||
class="keyword-input__operator"
|
class="keyword-input__operator"
|
||||||
role="checkbox"
|
role="checkbox"
|
||||||
aria-checked="<?php if ( $and == 1 ) echo 'true'; ?>"
|
aria-checked="<?php if ( $and == 1 ) echo 'true'; ?>"
|
||||||
title="<?php esc_attr_e( 'Operator. Either must match (OR) or all must match (AND).', 'fictioneer' ) ?>"
|
title="<?php esc_attr_e( 'Operator. Either must match (OR) or all must match (AND).', 'fictioneer' ); ?>"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<input type="checkbox" name="<?php echo $and_var; ?>" value="1" hidden <?php if ( $and == 1 ) echo 'checked'; ?> autocomplete="off">
|
<input type="checkbox" name="<?php echo $and_var; ?>" value="1" hidden <?php if ( $and == 1 ) echo 'checked'; ?> autocomplete="off">
|
||||||
|
@ -125,17 +125,17 @@ if ( ! function_exists( 'fictioneer_seo_fields' ) ) {
|
|||||||
|
|
||||||
<input type="hidden" id="fictioneer-seo-og-image" name="fictioneer_seo_og_image" value="<?php echo $seo_og_image; ?>">
|
<input type="hidden" id="fictioneer-seo-og-image" name="fictioneer_seo_og_image" value="<?php echo $seo_og_image; ?>">
|
||||||
|
|
||||||
<a href="#" id="fictioneer-button-seo-og-image-remove" class="og-remove <?php echo $seo_og_image ? '' : 'hidden'; ?>"><?php _e( 'Remove', 'fictioneer' ) ?></a>
|
<a href="#" id="fictioneer-button-seo-og-image-remove" class="og-remove <?php echo $seo_og_image ? '' : 'hidden'; ?>"><?php _e( 'Remove', 'fictioneer' ); ?></a>
|
||||||
|
|
||||||
<div class="og-source <?php echo $image_source; ?>">
|
<div class="og-source <?php echo $image_source; ?>">
|
||||||
<div class="thumbnail"><?php _e( 'Source: Thumbnail', 'fictioneer' ) ?></div>
|
<div class="thumbnail"><?php _e( 'Source: Thumbnail', 'fictioneer' ); ?></div>
|
||||||
<div class="parent-thumbnail"><?php _e( 'Source: Parent', 'fictioneer' ) ?></div>
|
<div class="parent-thumbnail"><?php _e( 'Source: Parent', 'fictioneer' ); ?></div>
|
||||||
<div class="default"><?php _e( 'Source: Site Default', 'fictioneer' ) ?></div>
|
<div class="default"><?php _e( 'Source: Site Default', 'fictioneer' ); ?></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a href="#" id="fictioneer-button-og-upload">
|
<a href="#" id="fictioneer-button-og-upload">
|
||||||
<img id="fictioneer-seo-og-display" src="<?php echo esc_url( $seo_og_image_display ); ?>" data-placeholder="<?php echo esc_url( get_template_directory_uri() . '/img/no_image_placeholder.svg' ); ?>">
|
<img id="fictioneer-seo-og-display" src="<?php echo esc_url( $seo_og_image_display ); ?>" data-placeholder="<?php echo esc_url( get_template_directory_uri() . '/img/no_image_placeholder.svg' ); ?>">
|
||||||
<div class="og-upload-label"><?php _e( 'Open Graph Image', 'fictioneer' ) ?></div>
|
<div class="og-upload-label"><?php _e( 'Open Graph Image', 'fictioneer' ); ?></div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -141,7 +141,7 @@ function fictioneer_comment_meta_box ( $comment ) {
|
|||||||
<div style="margin-top: 6px;">
|
<div style="margin-top: 6px;">
|
||||||
<label for="fictioneer_thread_closed">
|
<label for="fictioneer_thread_closed">
|
||||||
<input name="fictioneer_thread_closed" type="checkbox" id="fictioneer_thread_closed" <?php echo checked( 1, $is_closed, false ); ?> value="1">
|
<input name="fictioneer_thread_closed" type="checkbox" id="fictioneer_thread_closed" <?php echo checked( 1, $is_closed, false ); ?> value="1">
|
||||||
<span><?php _e( 'Closed', 'fictioneer' ) ?></span>
|
<span><?php _e( 'Closed', 'fictioneer' ); ?></span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-top: 6px;">
|
<div style="margin-top: 6px;">
|
||||||
@ -153,11 +153,11 @@ function fictioneer_comment_meta_box ( $comment ) {
|
|||||||
<div style="margin-top: 6px;">
|
<div style="margin-top: 6px;">
|
||||||
<label for="fictioneer_ignore_reports">
|
<label for="fictioneer_ignore_reports">
|
||||||
<input name="fictioneer_ignore_reports" type="checkbox" id="fictioneer_ignore_reports" <?php echo checked( 1, $ignores_reports, false ); ?> value="1">
|
<input name="fictioneer_ignore_reports" type="checkbox" id="fictioneer_ignore_reports" <?php echo checked( 1, $ignores_reports, false ); ?> value="1">
|
||||||
<span><?php _e( 'Ignores reports', 'fictioneer' ) ?></span>
|
<span><?php _e( 'Ignores reports', 'fictioneer' ); ?></span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<?php if ( user_can( $comment->user_id, 'moderate_comments' ) ) : ?>
|
<?php if ( user_can( $comment->user_id, 'moderate_comments' ) ) : ?>
|
||||||
<div style="margin-top: 12px;"><strong><?php _e( 'User Flags:', 'fictioneer' ) ?></strong></div>
|
<div style="margin-top: 12px;"><strong><?php _e( 'User Flags:', 'fictioneer' ); ?></strong></div>
|
||||||
<div style="margin-top: 6px;">
|
<div style="margin-top: 6px;">
|
||||||
<label for="fictioneer_admin_disable_avatar" class="checkbox-group">
|
<label for="fictioneer_admin_disable_avatar" class="checkbox-group">
|
||||||
<input name="fictioneer_admin_disable_avatar" type="checkbox" id="fictioneer_admin_disable_avatar" <?php echo checked( 1, get_the_author_meta( 'fictioneer_admin_disable_avatar', $comment->user_id ), false ); ?> value="1">
|
<input name="fictioneer_admin_disable_avatar" type="checkbox" id="fictioneer_admin_disable_avatar" <?php echo checked( 1, get_the_author_meta( 'fictioneer_admin_disable_avatar', $comment->user_id ), false ); ?> value="1">
|
||||||
|
@ -525,7 +525,7 @@ if ( ! function_exists( 'fictioneer_theme_comment' ) ) {
|
|||||||
if ( $comment->comment_type === 'private' && $is_hidden && ! $commentcode && ! $is_child_of_private && ! $is_new ) {
|
if ( $comment->comment_type === 'private' && $is_hidden && ! $commentcode && ! $is_child_of_private && ! $is_new ) {
|
||||||
// Start HTML ---> ?>
|
// Start HTML ---> ?>
|
||||||
<?php echo $open; ?>
|
<?php echo $open; ?>
|
||||||
<div class="fictioneer-comment__hidden-notice"><?php _e( 'Comment has been marked as private.', 'fictioneer' ) ?></div>
|
<div class="fictioneer-comment__hidden-notice"><?php _e( 'Comment has been marked as private.', 'fictioneer' ); ?></div>
|
||||||
</div>
|
</div>
|
||||||
<?php // <--- End HTML
|
<?php // <--- End HTML
|
||||||
return;
|
return;
|
||||||
@ -535,7 +535,7 @@ if ( ! function_exists( 'fictioneer_theme_comment' ) ) {
|
|||||||
if ( $is_child_of_private && $is_hidden && ! $is_new ) {
|
if ( $is_child_of_private && $is_hidden && ! $is_new ) {
|
||||||
// Start HTML ---> ?>
|
// Start HTML ---> ?>
|
||||||
<?php echo $open; ?>
|
<?php echo $open; ?>
|
||||||
<div class="fictioneer-comment__hidden-notice"><?php _e( 'Reply has been marked as private.', 'fictioneer' ) ?></div>
|
<div class="fictioneer-comment__hidden-notice"><?php _e( 'Reply has been marked as private.', 'fictioneer' ); ?></div>
|
||||||
</div>
|
</div>
|
||||||
<?php // <--- End HTML
|
<?php // <--- End HTML
|
||||||
return;
|
return;
|
||||||
@ -545,7 +545,7 @@ if ( ! function_exists( 'fictioneer_theme_comment' ) ) {
|
|||||||
if ( $is_offensive && $is_hidden ) {
|
if ( $is_offensive && $is_hidden ) {
|
||||||
// Start HTML ---> ?>
|
// Start HTML ---> ?>
|
||||||
<?php echo $open; ?>
|
<?php echo $open; ?>
|
||||||
<div class="fictioneer-comment__hidden-notice"><?php _e( 'Comment has been marked as offensive.', 'fictioneer' ) ?></div>
|
<div class="fictioneer-comment__hidden-notice"><?php _e( 'Comment has been marked as offensive.', 'fictioneer' ); ?></div>
|
||||||
</div>
|
</div>
|
||||||
<?php // <--- End HTML
|
<?php // <--- End HTML
|
||||||
return;
|
return;
|
||||||
@ -555,7 +555,7 @@ if ( ! function_exists( 'fictioneer_theme_comment' ) ) {
|
|||||||
if ( $is_report_hidden && ! $is_ignoring_reports && $is_hidden ) {
|
if ( $is_report_hidden && ! $is_ignoring_reports && $is_hidden ) {
|
||||||
// Start HTML ---> ?>
|
// Start HTML ---> ?>
|
||||||
<?php echo $open; ?>
|
<?php echo $open; ?>
|
||||||
<div class="fictioneer-comment__hidden-notice"><?php _e( 'Comment is hidden due to negative reports.', 'fictioneer' ) ?></div>
|
<div class="fictioneer-comment__hidden-notice"><?php _e( 'Comment is hidden due to negative reports.', 'fictioneer' ); ?></div>
|
||||||
</div>
|
</div>
|
||||||
<?php // <--- End HTML
|
<?php // <--- End HTML
|
||||||
return;
|
return;
|
||||||
@ -567,7 +567,7 @@ if ( ! function_exists( 'fictioneer_theme_comment' ) ) {
|
|||||||
<?php echo $open; ?>
|
<?php echo $open; ?>
|
||||||
<div class="fictioneer-comment__footer">
|
<div class="fictioneer-comment__footer">
|
||||||
<div class="fictioneer-comment__footer-left fictioneer-comment__hidden-notice">
|
<div class="fictioneer-comment__footer-left fictioneer-comment__hidden-notice">
|
||||||
<?php _e( 'Comment has been deleted by user.', 'fictioneer' ) ?>
|
<?php _e( 'Comment has been deleted by user.', 'fictioneer' ); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="fictioneer-comment__footer-right hide-unless-hover-on-desktop">
|
<div class="fictioneer-comment__footer-right hide-unless-hover-on-desktop">
|
||||||
<?php fictioneer_comment_mod_menu( $comment ); ?>
|
<?php fictioneer_comment_mod_menu( $comment ); ?>
|
||||||
@ -591,7 +591,7 @@ if ( ! function_exists( 'fictioneer_theme_comment' ) ) {
|
|||||||
<div class="fictioneer-comment__meta">
|
<div class="fictioneer-comment__meta">
|
||||||
<div class="fictioneer-comment__author truncate _1-1"><?php
|
<div class="fictioneer-comment__author truncate _1-1"><?php
|
||||||
if ( fictioneer_is_author( $comment->user_id ) ) {
|
if ( fictioneer_is_author( $comment->user_id ) ) {
|
||||||
?><a href="<?php echo get_author_posts_url( $comment->user_id ) ?>"><?php echo $comment->comment_author; ?></a><?php
|
?><a href="<?php echo get_author_posts_url( $comment->user_id ); ?>"><?php echo $comment->comment_author; ?></a><?php
|
||||||
} else {
|
} else {
|
||||||
?><span><?php echo $comment_author; ?></span><?php
|
?><span><?php echo $comment_author; ?></span><?php
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ function fictioneer_chapters_list( $args ) {
|
|||||||
<?php do_action( 'fictioneer_chapters_no_results', $args ); ?>
|
<?php do_action( 'fictioneer_chapters_no_results', $args ); ?>
|
||||||
|
|
||||||
<li class="no-results">
|
<li class="no-results">
|
||||||
<span><?php _e( 'No chapters found.', 'fictioneer' ) ?></span>
|
<span><?php _e( 'No chapters found.', 'fictioneer' ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php endif; wp_reset_postdata(); ?>
|
<?php endif; wp_reset_postdata(); ?>
|
||||||
@ -210,7 +210,7 @@ function fictioneer_chapter_nav_buttons( $args, $location ) {
|
|||||||
|
|
||||||
// Start HTML ---> ?>
|
// Start HTML ---> ?>
|
||||||
<?php if ( $args['prev_index'] !== false ) : ?>
|
<?php if ( $args['prev_index'] !== false ) : ?>
|
||||||
<a href="<?php echo get_permalink( $args['chapter_ids'][ $args['prev_index'] ] ); ?>" title="<?php echo get_the_title( $args['chapter_ids'][ $args['prev_index'] ] ); ?>" class="button _secondary _navigation _prev"><?php echo fcntr( 'previous' ) ?></a>
|
<a href="<?php echo get_permalink( $args['chapter_ids'][ $args['prev_index'] ] ); ?>" title="<?php echo get_the_title( $args['chapter_ids'][ $args['prev_index'] ] ); ?>" class="button _secondary _navigation _prev"><?php echo fcntr( 'previous' ); ?></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ( $location === 'top' ) : ?>
|
<?php if ( $location === 'top' ) : ?>
|
||||||
<a href="#bottom" data-block="center" aria-label="<?php _e( 'Scroll to bottom of the chapter', 'fictioneer' ); ?>" name="top" class="anchor button _secondary tooltipped" data-tooltip="<?php esc_attr_e( 'Scroll to bottom', 'fictioneer' ); ?>"><i class="fa-solid fa-caret-down"></i></a>
|
<a href="#bottom" data-block="center" aria-label="<?php _e( 'Scroll to bottom of the chapter', 'fictioneer' ); ?>" name="top" class="anchor button _secondary tooltipped" data-tooltip="<?php esc_attr_e( 'Scroll to bottom', 'fictioneer' ); ?>"><i class="fa-solid fa-caret-down"></i></a>
|
||||||
@ -330,7 +330,7 @@ function fictioneer_chapter_index_popup_menu( $args ) {
|
|||||||
<div id="chapter-list-popup-toggle" class="toggle-last-clicked button _secondary popup-menu-toggle tooltipped" tabindex="0" role="button" data-tooltip="<?php esc_attr_e( 'Index', 'fictioneer' ); ?>" aria-label="<?php esc_attr_e( 'Index', 'fictioneer' ); ?>">
|
<div id="chapter-list-popup-toggle" class="toggle-last-clicked button _secondary popup-menu-toggle tooltipped" tabindex="0" role="button" data-tooltip="<?php esc_attr_e( 'Index', 'fictioneer' ); ?>" aria-label="<?php esc_attr_e( 'Index', 'fictioneer' ); ?>">
|
||||||
<i class="fa-solid fa-list"></i>
|
<i class="fa-solid fa-list"></i>
|
||||||
<div class="popup-menu _top _center _align-items-right _v-scrolling">
|
<div class="popup-menu _top _center _align-items-right _v-scrolling">
|
||||||
<a href="<?php echo get_permalink( $args['story_post'] ) ?>" class="">
|
<a href="<?php echo get_permalink( $args['story_post'] ); ?>" class="">
|
||||||
<i class="fa-solid fa-caret-left"></i>
|
<i class="fa-solid fa-caret-left"></i>
|
||||||
<span><?php _e( 'Back to Story', 'fictioneer' ); ?></span>
|
<span><?php _e( 'Back to Story', 'fictioneer' ); ?></span>
|
||||||
</a>
|
</a>
|
||||||
@ -567,7 +567,7 @@ function fictioneer_chapter_paragraph_tools() {
|
|||||||
<?php if ( get_option( 'fictioneer_enable_bookmarks' ) ) : ?>
|
<?php if ( get_option( 'fictioneer_enable_bookmarks' ) ) : ?>
|
||||||
<button id="button-set-bookmark" type="button" class="button">
|
<button id="button-set-bookmark" type="button" class="button">
|
||||||
<i class="fa-solid fa-bookmark"></i>
|
<i class="fa-solid fa-bookmark"></i>
|
||||||
<span><?php _ex( 'Bookmark', 'Paragraph tools bookmark button', 'fictioneer' ) ?></span>
|
<span><?php _ex( 'Bookmark', 'Paragraph tools bookmark button', 'fictioneer' ); ?></span>
|
||||||
<div class="paragraph-tools__bookmark-colors">
|
<div class="paragraph-tools__bookmark-colors">
|
||||||
<div data-color="default" class="paragraph-tools__bookmark-colors-field"></div>
|
<div data-color="default" class="paragraph-tools__bookmark-colors-field"></div>
|
||||||
<div data-color="beta" class="paragraph-tools__bookmark-colors-field"></div>
|
<div data-color="beta" class="paragraph-tools__bookmark-colors-field"></div>
|
||||||
@ -579,24 +579,24 @@ function fictioneer_chapter_paragraph_tools() {
|
|||||||
<?php if ( $can_comment ) : ?>
|
<?php if ( $can_comment ) : ?>
|
||||||
<button id="button-comment-stack" type="button" class="button">
|
<button id="button-comment-stack" type="button" class="button">
|
||||||
<i class="fa-solid fa-quote-right"></i>
|
<i class="fa-solid fa-quote-right"></i>
|
||||||
<span><?php _ex( 'Quote', 'Paragraph tools quote button', 'fictioneer' ) ?></span>
|
<span><?php _ex( 'Quote', 'Paragraph tools quote button', 'fictioneer' ); ?></span>
|
||||||
</button>
|
</button>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ( $can_comment && get_option( 'fictioneer_enable_suggestions' ) ) : ?>
|
<?php if ( $can_comment && get_option( 'fictioneer_enable_suggestions' ) ) : ?>
|
||||||
<button id="button-tools-add-suggestion" type="button" class="button">
|
<button id="button-tools-add-suggestion" type="button" class="button">
|
||||||
<i class="fa-solid fa-highlighter"></i>
|
<i class="fa-solid fa-highlighter"></i>
|
||||||
<span class="hide-below-480"><?php _ex( 'Suggestion', 'Paragraph tools suggestion button', 'fictioneer' ) ?></span>
|
<span class="hide-below-480"><?php _ex( 'Suggestion', 'Paragraph tools suggestion button', 'fictioneer' ); ?></span>
|
||||||
</button>
|
</button>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ( get_option( 'fictioneer_enable_tts' ) ) : ?>
|
<?php if ( get_option( 'fictioneer_enable_tts' ) ) : ?>
|
||||||
<button id="button-tts-set" type="button" class="button">
|
<button id="button-tts-set" type="button" class="button">
|
||||||
<i class="fa-solid fa-volume-up"></i>
|
<i class="fa-solid fa-volume-up"></i>
|
||||||
<span class="hide-below-480"><?php _ex( 'TTS', 'Paragraph tools text-to-speech button', 'fictioneer' ) ?></span>
|
<span class="hide-below-480"><?php _ex( 'TTS', 'Paragraph tools text-to-speech button', 'fictioneer' ); ?></span>
|
||||||
</button>
|
</button>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<button id="button-get-link" type="button" class="button">
|
<button id="button-get-link" type="button" class="button">
|
||||||
<i class="fa-solid fa-link"></i>
|
<i class="fa-solid fa-link"></i>
|
||||||
<span class="hide-below-480"><?php _ex( 'Link', 'Paragraph tools copy link button', 'fictioneer' ) ?></span>
|
<span class="hide-below-480"><?php _ex( 'Link', 'Paragraph tools copy link button', 'fictioneer' ); ?></span>
|
||||||
</button>
|
</button>
|
||||||
<button id="button-close-paragraph-tools" type="button" class="button">
|
<button id="button-close-paragraph-tools" type="button" class="button">
|
||||||
<i class="fa-solid fa-times"></i>
|
<i class="fa-solid fa-times"></i>
|
||||||
@ -627,7 +627,7 @@ function fictioneer_chapter_suggestion_tools() {
|
|||||||
<div id="selection-tools" class="invisible suggestion-tools">
|
<div id="selection-tools" class="invisible suggestion-tools">
|
||||||
<button id="button-add-suggestion" type="button" class="button button--suggestion">
|
<button id="button-add-suggestion" type="button" class="button button--suggestion">
|
||||||
<i class="fa-solid fa-highlighter"></i>
|
<i class="fa-solid fa-highlighter"></i>
|
||||||
<span><?php _e( 'Add Suggestion', 'fictioneer' ) ?></span>
|
<span><?php _e( 'Add Suggestion', 'fictioneer' ); ?></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<?php // <--- End HTML
|
<?php // <--- End HTML
|
||||||
|
@ -53,7 +53,7 @@ function fictioneer_collections_list( $args ) {
|
|||||||
<?php do_action( 'fictioneer_collections_no_results', $args ); ?>
|
<?php do_action( 'fictioneer_collections_no_results', $args ); ?>
|
||||||
|
|
||||||
<li class="no-results">
|
<li class="no-results">
|
||||||
<span><?php _e( 'No collections found.', 'fictioneer' ) ?></span>
|
<span><?php _e( 'No collections found.', 'fictioneer' ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php endif; wp_reset_postdata(); ?>
|
<?php endif; wp_reset_postdata(); ?>
|
||||||
|
@ -387,7 +387,7 @@ function fictioneer_mobile_user_menu() {
|
|||||||
// Start HTML ---> ?>
|
// Start HTML ---> ?>
|
||||||
<a href="<?php echo esc_url( $discord_link ); ?>" rel="noopener noreferrer nofollow">
|
<a href="<?php echo esc_url( $discord_link ); ?>" rel="noopener noreferrer nofollow">
|
||||||
<i class="fa-brands fa-discord mobile-menu__item-icon"></i>
|
<i class="fa-brands fa-discord mobile-menu__item-icon"></i>
|
||||||
<?php _e( 'Discord', 'fictioneer' ) ?>
|
<?php _e( 'Discord', 'fictioneer' ); ?>
|
||||||
</a>
|
</a>
|
||||||
<?php // <--- End HTML
|
<?php // <--- End HTML
|
||||||
$output['discord'] = ob_get_clean();
|
$output['discord'] = ob_get_clean();
|
||||||
|
@ -53,7 +53,7 @@ function fictioneer_recommendations_list( $args ) {
|
|||||||
<?php do_action( 'fictioneer_recommendations_no_results', $args ); ?>
|
<?php do_action( 'fictioneer_recommendations_no_results', $args ); ?>
|
||||||
|
|
||||||
<li class="no-results">
|
<li class="no-results">
|
||||||
<span><?php _e( 'No recommendations found.', 'fictioneer' ) ?></span>
|
<span><?php _e( 'No recommendations found.', 'fictioneer' ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php endif; wp_reset_postdata(); ?>
|
<?php endif; wp_reset_postdata(); ?>
|
||||||
@ -162,7 +162,7 @@ function fictioneer_recommendation_links( $args ) {
|
|||||||
|
|
||||||
// Start HTML ---> ?>
|
// Start HTML ---> ?>
|
||||||
<div class="recommendation__read-on">
|
<div class="recommendation__read-on">
|
||||||
<h5><?php _e( 'Read on', 'fictioneer' ) ?></h5>
|
<h5><?php _e( 'Read on', 'fictioneer' ); ?></h5>
|
||||||
<ul class="recommendation__list"><?php echo implode( '', $tuples ); ?></ul>
|
<ul class="recommendation__list"><?php echo implode( '', $tuples ); ?></ul>
|
||||||
</div>
|
</div>
|
||||||
<?php // <--- End HTML
|
<?php // <--- End HTML
|
||||||
|
@ -125,7 +125,7 @@ function fictioneer_stories_list( $args ) {
|
|||||||
<?php do_action( 'fictioneer_stories_no_results', $args ); ?>
|
<?php do_action( 'fictioneer_stories_no_results', $args ); ?>
|
||||||
|
|
||||||
<li class="no-results">
|
<li class="no-results">
|
||||||
<span><?php _e( 'No stories found.', 'fictioneer' ) ?></span>
|
<span><?php _e( 'No stories found.', 'fictioneer' ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php endif; wp_reset_postdata(); ?>
|
<?php endif; wp_reset_postdata(); ?>
|
||||||
|
@ -229,7 +229,7 @@ if ( ! function_exists( 'fictioneer_admin_pagination' ) ) {
|
|||||||
// Start HTML ---> ?>
|
// Start HTML ---> ?>
|
||||||
<div class='fictioneer-pagination'>
|
<div class='fictioneer-pagination'>
|
||||||
<?php if ( $max_items ) : ?>
|
<?php if ( $max_items ) : ?>
|
||||||
<span class="number-of-items"><?php printf( _n( '%s item', '%s items', $max_items, 'fictioneer' ), $max_items ) ?></span>
|
<span class="number-of-items"><?php printf( _n( '%s item', '%s items', $max_items, 'fictioneer' ), $max_items ); ?></span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<span class="pages"><?php echo implode( ' ', $page_links ); ?></span>
|
<span class="pages"><?php echo implode( ' ', $page_links ); ?></span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<div class="fictioneer-card">
|
<div class="fictioneer-card">
|
||||||
<div class="fictioneer-card__wrapper">
|
<div class="fictioneer-card__wrapper">
|
||||||
<h3 class="fictioneer-card__header"><?php _e( 'Fictioneer Log', 'fictioneer' ) ?></h3>
|
<h3 class="fictioneer-card__header"><?php _e( 'Fictioneer Log', 'fictioneer' ); ?></h3>
|
||||||
<div class="fictioneer-card__content">
|
<div class="fictioneer-card__content">
|
||||||
<div class="fictioneer-card__row">
|
<div class="fictioneer-card__row">
|
||||||
<?php echo fictioneer_get_log(); ?>
|
<?php echo fictioneer_get_log(); ?>
|
||||||
|
@ -83,19 +83,19 @@ if ( ! empty( $args['featured_list'] ) ) {
|
|||||||
<section class="collection__statistics spacing-top">
|
<section class="collection__statistics spacing-top">
|
||||||
<div class="statistics">
|
<div class="statistics">
|
||||||
<div class="statistics__inline-stat">
|
<div class="statistics__inline-stat">
|
||||||
<strong><?php _e( 'Stories', 'fictioneer' ) ?></strong>
|
<strong><?php _e( 'Stories', 'fictioneer' ); ?></strong>
|
||||||
<span><?php echo number_format_i18n( $story_count ); ?></span>
|
<span><?php echo number_format_i18n( $story_count ); ?></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="statistics__inline-stat">
|
<div class="statistics__inline-stat">
|
||||||
<strong><?php _e( 'Chapters', 'fictioneer' ) ?></strong>
|
<strong><?php _e( 'Chapters', 'fictioneer' ); ?></strong>
|
||||||
<span><?php echo number_format_i18n( $chapters->found_posts ); ?></span>
|
<span><?php echo number_format_i18n( $chapters->found_posts ); ?></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="statistics__inline-stat">
|
<div class="statistics__inline-stat">
|
||||||
<strong><?php _e( 'Words', 'fictioneer' ) ?></strong>
|
<strong><?php _e( 'Words', 'fictioneer' ); ?></strong>
|
||||||
<span><?php echo fictioneer_shorten_number( $word_count ); ?></span>
|
<span><?php echo fictioneer_shorten_number( $word_count ); ?></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="statistics__inline-stat">
|
<div class="statistics__inline-stat">
|
||||||
<strong><?php _e( 'Comments', 'fictioneer' ) ?></strong>
|
<strong><?php _e( 'Comments', 'fictioneer' ); ?></strong>
|
||||||
<span><?php
|
<span><?php
|
||||||
echo number_format_i18n(
|
echo number_format_i18n(
|
||||||
get_comments(
|
get_comments(
|
||||||
@ -111,7 +111,7 @@ if ( ! empty( $args['featured_list'] ) ) {
|
|||||||
?></span>
|
?></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="statistics__inline-stat">
|
<div class="statistics__inline-stat">
|
||||||
<strong><?php _e( 'Reading', 'fictioneer' ) ?></strong>
|
<strong><?php _e( 'Reading', 'fictioneer' ); ?></strong>
|
||||||
<span><?php echo fictioneer_get_reading_time_nodes( $word_count ); ?></span>
|
<span><?php echo fictioneer_get_reading_time_nodes( $word_count ); ?></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,8 +28,8 @@ defined( 'ABSPATH' ) OR exit;
|
|||||||
?>
|
?>
|
||||||
<p class="consent-banner__notice"><?php echo $info; ?></p>
|
<p class="consent-banner__notice"><?php echo $info; ?></p>
|
||||||
<div class="consent-banner__actions">
|
<div class="consent-banner__actions">
|
||||||
<button type="button" id="consent-accept-button" class="button button--cookie-banner" tabindex="2"><?php _e( 'Accept', 'fictioneer' ) ?></button>
|
<button type="button" id="consent-accept-button" class="button button--cookie-banner" tabindex="2"><?php _e( 'Accept', 'fictioneer' ); ?></button>
|
||||||
<button type="button" id="consent-reject-button" class="button button--cookie-banner" tabindex="3"><?php _e( 'Reject Non-Essential', 'fictioneer' ) ?></button>
|
<button type="button" id="consent-reject-button" class="button button--cookie-banner" tabindex="3"><?php _e( 'Reject Non-Essential', 'fictioneer' ); ?></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -34,10 +34,10 @@ if ( ! empty( $profile_page_id ) && $profile_page_id > 0 ) {
|
|||||||
<?php if ( get_option( 'fictioneer_enable_oauth' ) && ! is_user_logged_in() ) : ?>
|
<?php if ( get_option( 'fictioneer_enable_oauth' ) && ! is_user_logged_in() ) : ?>
|
||||||
<label
|
<label
|
||||||
for="modal-login-toggle"
|
for="modal-login-toggle"
|
||||||
title="<?php esc_attr_e( 'Login', 'fictioneer' ) ?>"
|
title="<?php esc_attr_e( 'Login', 'fictioneer' ); ?>"
|
||||||
class="subscriber-login icon-menu__item hide-if-logged-in"
|
class="subscriber-login icon-menu__item hide-if-logged-in"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
aria-label="<?php esc_attr_e( 'Open login modal', 'fictioneer' ) ?>"
|
aria-label="<?php esc_attr_e( 'Open login modal', 'fictioneer' ); ?>"
|
||||||
><?php fictioneer_icon( 'fa-login' ); ?></label>
|
><?php fictioneer_icon( 'fa-login' ); ?></label>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
@ -45,10 +45,10 @@ if ( ! empty( $profile_page_id ) && $profile_page_id > 0 ) {
|
|||||||
<div class="icon-menu__menu hide-if-logged-out">
|
<div class="icon-menu__menu hide-if-logged-out">
|
||||||
<a
|
<a
|
||||||
href="<?php echo esc_url( $profile_link ); ?>"
|
href="<?php echo esc_url( $profile_link ); ?>"
|
||||||
title="<?php esc_attr_e( 'User Profile', 'fictioneer' ) ?>"
|
title="<?php esc_attr_e( 'User Profile', 'fictioneer' ); ?>"
|
||||||
class="subscriber-profile icon-menu__item _with-submenu"
|
class="subscriber-profile icon-menu__item _with-submenu"
|
||||||
rel="noopener noreferrer nofollow"
|
rel="noopener noreferrer nofollow"
|
||||||
aria-label="<?php esc_attr_e( 'Link to user profile', 'fictioneer' ) ?>"
|
aria-label="<?php esc_attr_e( 'Link to user profile', 'fictioneer' ); ?>"
|
||||||
><i class="fa-solid fa-circle-user user-icon"></i></a>
|
><i class="fa-solid fa-circle-user user-icon"></i></a>
|
||||||
<ul class="sub-menu"><?php echo fictioneer_user_menu_items(); ?></ul>
|
<ul class="sub-menu"><?php echo fictioneer_user_menu_items(); ?></ul>
|
||||||
</div>
|
</div>
|
||||||
@ -57,8 +57,8 @@ if ( ! empty( $profile_page_id ) && $profile_page_id > 0 ) {
|
|||||||
<?php if ( ! empty( $bookmarks_link ) ) : ?>
|
<?php if ( ! empty( $bookmarks_link ) ) : ?>
|
||||||
<a
|
<a
|
||||||
href="<?php echo esc_url( $bookmarks_link ); ?>"
|
href="<?php echo esc_url( $bookmarks_link ); ?>"
|
||||||
title="<?php esc_attr_e( 'Bookmarks Page', 'fictioneer' ) ?>"
|
title="<?php esc_attr_e( 'Bookmarks Page', 'fictioneer' ); ?>"
|
||||||
aria-label="<?php esc_attr_e( 'Link to bookmarks page', 'fictioneer' ) ?>"
|
aria-label="<?php esc_attr_e( 'Link to bookmarks page', 'fictioneer' ); ?>"
|
||||||
class="icon-menu__item hide-if-logged-in hidden icon-menu-bookmarks"
|
class="icon-menu__item hide-if-logged-in hidden icon-menu-bookmarks"
|
||||||
rel="noopener noreferrer nofollow"
|
rel="noopener noreferrer nofollow"
|
||||||
><i class="fa-solid fa-bookmark"></i></a>
|
><i class="fa-solid fa-bookmark"></i></a>
|
||||||
@ -67,8 +67,8 @@ if ( ! empty( $profile_page_id ) && $profile_page_id > 0 ) {
|
|||||||
<?php if ( ! empty( $discord_invite_link ) ) : ?>
|
<?php if ( ! empty( $discord_invite_link ) ) : ?>
|
||||||
<a
|
<a
|
||||||
href="<?php echo esc_url( $discord_invite_link ); ?>"
|
href="<?php echo esc_url( $discord_invite_link ); ?>"
|
||||||
title="<?php esc_attr_e( 'Join Discord', 'fictioneer' ) ?>"
|
title="<?php esc_attr_e( 'Join Discord', 'fictioneer' ); ?>"
|
||||||
aria-label="<?php esc_attr_e( 'Discord invite link', 'fictioneer' ) ?>"
|
aria-label="<?php esc_attr_e( 'Discord invite link', 'fictioneer' ); ?>"
|
||||||
class="icon-menu__item icon-menu__item--discord hide-if-logged-in"
|
class="icon-menu__item icon-menu__item--discord hide-if-logged-in"
|
||||||
rel="noopener noreferrer nofollow"
|
rel="noopener noreferrer nofollow"
|
||||||
><i class="fa-brands fa-discord"></i></a>
|
><i class="fa-brands fa-discord"></i></a>
|
||||||
@ -80,17 +80,17 @@ if ( ! empty( $profile_page_id ) && $profile_page_id > 0 ) {
|
|||||||
<button
|
<button
|
||||||
id="follow-menu-button"
|
id="follow-menu-button"
|
||||||
class="icon-menu__item _with-submenu follow-menu-item follows-alert-number mark-follows-read"
|
class="icon-menu__item _with-submenu follow-menu-item follows-alert-number mark-follows-read"
|
||||||
aria-label="<?php esc_attr_e( 'Mark follows as read', 'fictioneer' ) ?>"
|
aria-label="<?php esc_attr_e( 'Mark follows as read', 'fictioneer' ); ?>"
|
||||||
><?php fictioneer_icon( 'fa-bell' ); ?>
|
><?php fictioneer_icon( 'fa-bell' ); ?>
|
||||||
<i class="fa-solid fa-spinner fa-spin" style="--fa-animation-duration: .8s;"></i>
|
<i class="fa-solid fa-spinner fa-spin" style="--fa-animation-duration: .8s;"></i>
|
||||||
<span class="follow-menu-item__read"><?php _ex( 'Read', 'Mark as read button.', 'fictioneer' ) ?></span>
|
<span class="follow-menu-item__read"><?php _ex( 'Read', 'Mark as read button.', 'fictioneer' ); ?></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div class="follow-notifications sub-menu">
|
<div class="follow-notifications sub-menu">
|
||||||
<div id="follow-menu-scroll" class="follow-notifications__scroll">
|
<div id="follow-menu-scroll" class="follow-notifications__scroll">
|
||||||
<div class="follow-item">
|
<div class="follow-item">
|
||||||
<div class="follow-wrapper">
|
<div class="follow-wrapper">
|
||||||
<div class="follow-placeholder truncate _1-1"><?php _e( 'Looking for updates...', 'fictioneer' ) ?></div>
|
<div class="follow-placeholder truncate _1-1"><?php _e( 'Looking for updates...', 'fictioneer' ); ?></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -102,46 +102,46 @@ if ( ! empty( $profile_page_id ) && $profile_page_id > 0 ) {
|
|||||||
<?php if ( FICTIONEER_SHOW_SEARCH_IN_MENUS ) : ?>
|
<?php if ( FICTIONEER_SHOW_SEARCH_IN_MENUS ) : ?>
|
||||||
<a
|
<a
|
||||||
href="<?php echo esc_url( home_url( '/?s=' ) ); ?>"
|
href="<?php echo esc_url( home_url( '/?s=' ) ); ?>"
|
||||||
title="<?php esc_attr_e( 'Search Page', 'fictioneer' ) ?>"
|
title="<?php esc_attr_e( 'Search Page', 'fictioneer' ); ?>"
|
||||||
class="icon-menu__item hide-in-mobile-menu"
|
class="icon-menu__item hide-in-mobile-menu"
|
||||||
rel="noopener noreferrer nofollow"
|
rel="noopener noreferrer nofollow"
|
||||||
aria-label="<?php esc_attr_e( 'Link to search page', 'fictioneer' ) ?>"
|
aria-label="<?php esc_attr_e( 'Link to search page', 'fictioneer' ); ?>"
|
||||||
><i class="fa-solid fa-magnifying-glass"></i></a>
|
><i class="fa-solid fa-magnifying-glass"></i></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
class="icon-menu__item toggle-light-mode"
|
class="icon-menu__item toggle-light-mode"
|
||||||
title="<?php esc_attr_e( 'Toggle Dark/Light Mode', 'fictioneer' ) ?>"
|
title="<?php esc_attr_e( 'Toggle Dark/Light Mode', 'fictioneer' ); ?>"
|
||||||
role="checkbox"
|
role="checkbox"
|
||||||
aria-checked="false"
|
aria-checked="false"
|
||||||
aria-label="<?php esc_attr_e( 'Toggle between dark mode and light mode', 'fictioneer' ) ?>"
|
aria-label="<?php esc_attr_e( 'Toggle between dark mode and light mode', 'fictioneer' ); ?>"
|
||||||
><?php fictioneer_icon( 'fa-sun', 'only-darkmode' ); fictioneer_icon( 'fa-moon', 'only-lightmode' ); ?></button>
|
><?php fictioneer_icon( 'fa-sun', 'only-darkmode' ); fictioneer_icon( 'fa-moon', 'only-lightmode' ); ?></button>
|
||||||
|
|
||||||
<label
|
<label
|
||||||
for="modal-site-settings-toggle"
|
for="modal-site-settings-toggle"
|
||||||
title="<?php esc_attr_e( 'Site Settings', 'fictioneer' ) ?>"
|
title="<?php esc_attr_e( 'Site Settings', 'fictioneer' ); ?>"
|
||||||
class="site-settings icon-menu__item"
|
class="site-settings icon-menu__item"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
aria-label="<?php esc_attr_e( 'Open site settings modal', 'fictioneer' ) ?>"
|
aria-label="<?php esc_attr_e( 'Open site settings modal', 'fictioneer' ); ?>"
|
||||||
><?php fictioneer_icon( 'fa-tools' ); ?></label>
|
><?php fictioneer_icon( 'fa-tools' ); ?></label>
|
||||||
|
|
||||||
<?php if ( get_option( 'fictioneer_enable_theme_rss' ) ) : ?>
|
<?php if ( get_option( 'fictioneer_enable_theme_rss' ) ) : ?>
|
||||||
<a
|
<a
|
||||||
href="<?php echo esc_url( home_url( 'feed' ) ); ?>"
|
href="<?php echo esc_url( home_url( 'feed' ) ); ?>"
|
||||||
title="<?php esc_attr_e( 'Site RSS', 'fictioneer' ) ?>"
|
title="<?php esc_attr_e( 'Site RSS', 'fictioneer' ); ?>"
|
||||||
class="rss-main-link icon-menu__item"
|
class="rss-main-link icon-menu__item"
|
||||||
aria-label="<?php esc_attr_e( 'Link to site RSS feed', 'fictioneer' ) ?>"
|
aria-label="<?php esc_attr_e( 'Link to site RSS feed', 'fictioneer' ); ?>"
|
||||||
><?php fictioneer_icon( 'fa-rss' ); ?></a>
|
><?php fictioneer_icon( 'fa-rss' ); ?></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( fictioneer_show_auth_content() ) : ?>
|
<?php if ( fictioneer_show_auth_content() ) : ?>
|
||||||
<a
|
<a
|
||||||
href="<?php echo fictioneer_get_logout_url(); ?>"
|
href="<?php echo fictioneer_get_logout_url(); ?>"
|
||||||
title="<?php esc_attr_e( 'Logout', 'fictioneer' ) ?>"
|
title="<?php esc_attr_e( 'Logout', 'fictioneer' ); ?>"
|
||||||
data-click="logout"
|
data-click="logout"
|
||||||
class="icon-menu__item button--logout hide-if-logged-out"
|
class="icon-menu__item button--logout hide-if-logged-out"
|
||||||
rel="noopener noreferrer nofollow"
|
rel="noopener noreferrer nofollow"
|
||||||
aria-label="<?php esc_attr_e( 'Click to log out', 'fictioneer' ) ?>"
|
aria-label="<?php esc_attr_e( 'Click to log out', 'fictioneer' ); ?>"
|
||||||
><?php fictioneer_icon( 'fa-logout' ); ?></a>
|
><?php fictioneer_icon( 'fa-logout' ); ?></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -123,7 +123,7 @@ remove_filter( 'posts_where', 'fictioneer_exclude_protected_posts' );
|
|||||||
<?php if ( $thumbnail_full ) : ?>
|
<?php if ( $thumbnail_full ) : ?>
|
||||||
<a href="<?php echo $thumbnail_full; ?>" title="<?php echo esc_attr( sprintf( __( '%s Thumbnail', 'fictioneer' ), $title ) ); ?>" class="card__image cell-img" <?php echo fictioneer_get_lightbox_attribute(); ?>><?php echo $thumbnail_snippet ?></a>
|
<a href="<?php echo $thumbnail_full; ?>" title="<?php echo esc_attr( sprintf( __( '%s Thumbnail', 'fictioneer' ), $title ) ); ?>" class="card__image cell-img" <?php echo fictioneer_get_lightbox_attribute(); ?>><?php echo $thumbnail_snippet ?></a>
|
||||||
<?php elseif ( ! empty( $text_icon ) ) : ?>
|
<?php elseif ( ! empty( $text_icon ) ) : ?>
|
||||||
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $title ) ?>" class="card__text-icon _small cell-img"><span class="text-icon"><?php echo $text_icon; ?></span></a>
|
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $title ); ?>" class="card__text-icon _small cell-img"><span class="text-icon"><?php echo $text_icon; ?></span></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<h3 class="card__title _small cell-title"><a href="<?php the_permalink(); ?>" class="truncate _1-1"><?php
|
<h3 class="card__title _small cell-title"><a href="<?php the_permalink(); ?>" class="truncate _1-1"><?php
|
||||||
|
@ -127,7 +127,7 @@ remove_filter( 'posts_where', 'fictioneer_exclude_protected_posts' );
|
|||||||
<?php if ( $thumbnail_full ) : ?>
|
<?php if ( $thumbnail_full ) : ?>
|
||||||
<a href="<?php echo $thumbnail_full; ?>" title="<?php echo esc_attr( sprintf( __( '%s Thumbnail', 'fictioneer' ), $title ) ); ?>" class="card__image cell-img" <?php echo fictioneer_get_lightbox_attribute(); ?>><?php echo $thumbnail_snippet ?></a>
|
<a href="<?php echo $thumbnail_full; ?>" title="<?php echo esc_attr( sprintf( __( '%s Thumbnail', 'fictioneer' ), $title ) ); ?>" class="card__image cell-img" <?php echo fictioneer_get_lightbox_attribute(); ?>><?php echo $thumbnail_snippet ?></a>
|
||||||
<?php elseif ( ! empty( $text_icon ) ) : ?>
|
<?php elseif ( ! empty( $text_icon ) ) : ?>
|
||||||
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $title ) ?>" class="card__text-icon _small cell-img"><span class="text-icon"><?php echo $text_icon; ?></span></a>
|
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $title ); ?>" class="card__text-icon _small cell-img"><span class="text-icon"><?php echo $text_icon; ?></span></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<h3 class="card__title _small cell-title"><a href="<?php the_permalink(); ?>" class="truncate _1-1"><?php
|
<h3 class="card__title _small cell-title"><a href="<?php the_permalink(); ?>" class="truncate _1-1"><?php
|
||||||
@ -215,7 +215,7 @@ remove_filter( 'posts_where', 'fictioneer_exclude_protected_posts' );
|
|||||||
?></div>
|
?></div>
|
||||||
|
|
||||||
<?php if ( ! empty( $chapter_rating ) ) : ?>
|
<?php if ( ! empty( $chapter_rating ) ) : ?>
|
||||||
<div class="card__footer-box _right rating-letter-label tooltipped" data-tooltip="<?php echo fcntr( $chapter_rating, true ) ?>">
|
<div class="card__footer-box _right rating-letter-label tooltipped" data-tooltip="<?php echo fcntr( $chapter_rating, true ); ?>">
|
||||||
<?php echo fcntr( $chapter_rating[0] ); ?>
|
<?php echo fcntr( $chapter_rating[0] ); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -123,7 +123,7 @@ remove_filter( 'posts_where', 'fictioneer_exclude_protected_posts' );
|
|||||||
|
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
||||||
<div class="no-results"><?php _e( 'Nothing to show.', 'fictioneer' ) ?></div>
|
<div class="no-results"><?php _e( 'Nothing to show.', 'fictioneer' ); ?></div>
|
||||||
|
|
||||||
<?php endif; wp_reset_postdata(); ?>
|
<?php endif; wp_reset_postdata(); ?>
|
||||||
</section>
|
</section>
|
||||||
|
@ -176,7 +176,7 @@ remove_filter( 'posts_where', 'fictioneer_exclude_protected_posts' );
|
|||||||
|
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
||||||
<div class="no-results"><?php _e( 'Nothing to show.', 'fictioneer' ) ?></div>
|
<div class="no-results"><?php _e( 'Nothing to show.', 'fictioneer' ); ?></div>
|
||||||
|
|
||||||
<?php endif; wp_reset_postdata(); ?>
|
<?php endif; wp_reset_postdata(); ?>
|
||||||
</section>
|
</section>
|
||||||
|
@ -203,7 +203,7 @@ remove_filter( 'posts_where', 'fictioneer_exclude_protected_posts' );
|
|||||||
|
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
||||||
<div class="no-results"><?php _e( 'Nothing to show.', 'fictioneer' ) ?></div>
|
<div class="no-results"><?php _e( 'Nothing to show.', 'fictioneer' ); ?></div>
|
||||||
|
|
||||||
<?php endif; wp_reset_postdata(); ?>
|
<?php endif; wp_reset_postdata(); ?>
|
||||||
|
|
||||||
|
@ -238,7 +238,7 @@ remove_filter( 'posts_where', 'fictioneer_exclude_protected_posts' );
|
|||||||
|
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
||||||
<div class="no-results"><?php _e( 'Nothing to show.', 'fictioneer' ) ?></div>
|
<div class="no-results"><?php _e( 'Nothing to show.', 'fictioneer' ); ?></div>
|
||||||
|
|
||||||
<?php endif; wp_reset_postdata(); ?>
|
<?php endif; wp_reset_postdata(); ?>
|
||||||
</section>
|
</section>
|
||||||
|
@ -39,7 +39,7 @@ defined( 'ABSPATH' ) OR exit;
|
|||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
||||||
<article class="post _empty padding-top padding-bottom padding-left padding-right">
|
<article class="post _empty padding-top padding-bottom padding-left padding-right">
|
||||||
<span><?php _e( 'No (more) posts found.', 'fictioneer' ) ?></span>
|
<span><?php _e( 'No (more) posts found.', 'fictioneer' ); ?></span>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -111,9 +111,9 @@ defined( 'ABSPATH' ) OR exit;
|
|||||||
<i class="fa-solid fa-weight-hanging reset font-weight-reset"></i>
|
<i class="fa-solid fa-weight-hanging reset font-weight-reset"></i>
|
||||||
<div class="select-wrapper">
|
<div class="select-wrapper">
|
||||||
<select name="font-weight" class="site-setting-font-weight">
|
<select name="font-weight" class="site-setting-font-weight">
|
||||||
<option value="default" selected="selected"><?php _ex( 'Default Font Weight', 'Formatting modal font weight selection.', 'fictioneer' ) ?></option>
|
<option value="default" selected="selected"><?php _ex( 'Default Font Weight', 'Formatting modal font weight selection.', 'fictioneer' ); ?></option>
|
||||||
<option value="thinner"><?php _ex( 'Thinner Font Weight', 'Formatting modal font weight selection.', 'fictioneer' ) ?></option>
|
<option value="thinner"><?php _ex( 'Thinner Font Weight', 'Formatting modal font weight selection.', 'fictioneer' ); ?></option>
|
||||||
<option value="normal"><?php _ex( 'Normal Font Weight', 'Formatting modal font weight selection.', 'fictioneer' ) ?></option>
|
<option value="normal"><?php _ex( 'Normal Font Weight', 'Formatting modal font weight selection.', 'fictioneer' ); ?></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -23,37 +23,37 @@ defined( 'ABSPATH' ) OR exit;
|
|||||||
</label>
|
</label>
|
||||||
<h4 class="modal__header drag-anchor"><?php echo fcntr( 'site_settings' ); ?></h4>
|
<h4 class="modal__header drag-anchor"><?php echo fcntr( 'site_settings' ); ?></h4>
|
||||||
<div class="modal__description modal__row site-settings__description site-settings__row">
|
<div class="modal__description modal__row site-settings__description site-settings__row">
|
||||||
<p><?php _e( 'You can toggle selected features and styles per device/browser to boost performance. Some options may not be available.', 'fictioneer' ) ?></p>
|
<p><?php _e( 'You can toggle selected features and styles per device/browser to boost performance. Some options may not be available.', 'fictioneer' ); ?></p>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="modal__row site-settings__row">
|
<div class="modal__row site-settings__row">
|
||||||
<div class="site-settings__sticky-navigation modal__horizontal-input-group _with-checkbox">
|
<div class="site-settings__sticky-navigation modal__horizontal-input-group _with-checkbox">
|
||||||
<input type="checkbox" id="site-setting-nav-sticky" checked>
|
<input type="checkbox" id="site-setting-nav-sticky" checked>
|
||||||
<label for="site-setting-nav-sticky" class="modal__setting-toggle"><?php _e( 'Scrolling (sticky) navigation bar', 'fictioneer' ) ?></label>
|
<label for="site-setting-nav-sticky" class="modal__setting-toggle"><?php _e( 'Scrolling (sticky) navigation bar', 'fictioneer' ); ?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="site-settings__background-textures modal__horizontal-input-group _with-checkbox">
|
<div class="site-settings__background-textures modal__horizontal-input-group _with-checkbox">
|
||||||
<input type="checkbox" id="site-setting-background-textures" checked>
|
<input type="checkbox" id="site-setting-background-textures" checked>
|
||||||
<label for="site-setting-background-textures" class="modal__setting-toggle"><?php _e( 'Background textures', 'fictioneer' ) ?></label>
|
<label for="site-setting-background-textures" class="modal__setting-toggle"><?php _e( 'Background textures', 'fictioneer' ); ?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="site-settings__polygons modal__horizontal-input-group _with-checkbox">
|
<div class="site-settings__polygons modal__horizontal-input-group _with-checkbox">
|
||||||
<input type="checkbox" id="site-setting-polygons" checked>
|
<input type="checkbox" id="site-setting-polygons" checked>
|
||||||
<label for="site-setting-polygons" class="modal__setting-toggle"><?php _e( 'Polygons (irregular borders)', 'fictioneer' ) ?></label>
|
<label for="site-setting-polygons" class="modal__setting-toggle"><?php _e( 'Polygons (irregular borders)', 'fictioneer' ); ?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="site-settings__progress-bar modal__horizontal-input-group _with-checkbox">
|
<div class="site-settings__progress-bar modal__horizontal-input-group _with-checkbox">
|
||||||
<input type="checkbox" id="site-setting-chapter-progress-bar" checked>
|
<input type="checkbox" id="site-setting-chapter-progress-bar" checked>
|
||||||
<label for="site-setting-chapter-progress-bar" class="modal__setting-toggle"><?php _e( 'Chapter progress bar', 'fictioneer' ) ?></label>
|
<label for="site-setting-chapter-progress-bar" class="modal__setting-toggle"><?php _e( 'Chapter progress bar', 'fictioneer' ); ?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="site-settings__covers modal__horizontal-input-group _with-checkbox">
|
<div class="site-settings__covers modal__horizontal-input-group _with-checkbox">
|
||||||
<input type="checkbox" id="site-setting-covers" checked>
|
<input type="checkbox" id="site-setting-covers" checked>
|
||||||
<label for="site-setting-covers" class="modal__setting-toggle"><?php _e( 'Cover images (chapters and stories)', 'fictioneer' ) ?></label>
|
<label for="site-setting-covers" class="modal__setting-toggle"><?php _e( 'Cover images (chapters and stories)', 'fictioneer' ); ?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="site-settings__text-shadows modal__horizontal-input-group _with-checkbox">
|
<div class="site-settings__text-shadows modal__horizontal-input-group _with-checkbox">
|
||||||
<input type="checkbox" id="site-setting-text-shadows">
|
<input type="checkbox" id="site-setting-text-shadows">
|
||||||
<label for="site-setting-text-shadows" class="modal__setting-toggle"><?php _e( 'Text shadows', 'fictioneer' ) ?></label>
|
<label for="site-setting-text-shadows" class="modal__setting-toggle"><?php _e( 'Text shadows', 'fictioneer' ); ?></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="site-settings__minimal modal__horizontal-input-group _with-checkbox">
|
<div class="site-settings__minimal modal__horizontal-input-group _with-checkbox">
|
||||||
<input type="checkbox" id="site-setting-minimal">
|
<input type="checkbox" id="site-setting-minimal">
|
||||||
<label for="site-setting-minimal" class="modal__setting-toggle"><?php _e( 'Minimalist mode', 'fictioneer' ) ?></label>
|
<label for="site-setting-minimal" class="modal__setting-toggle"><?php _e( 'Minimalist mode', 'fictioneer' ); ?></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
@ -62,9 +62,9 @@ defined( 'ABSPATH' ) OR exit;
|
|||||||
<i class="fa-solid fa-weight-hanging reset font-weight-reset"></i>
|
<i class="fa-solid fa-weight-hanging reset font-weight-reset"></i>
|
||||||
<div class="select-wrapper">
|
<div class="select-wrapper">
|
||||||
<select name="font-weight" class="site-setting-font-weight">
|
<select name="font-weight" class="site-setting-font-weight">
|
||||||
<option value="default" selected="selected"><?php _ex( 'Font Weight: Default', 'Site settings modal font weight selection.', 'fictioneer' ) ?></option>
|
<option value="default" selected="selected"><?php _ex( 'Font Weight: Default', 'Site settings modal font weight selection.', 'fictioneer' ); ?></option>
|
||||||
<option value="thinner"><?php _ex( 'Font Weight: Thinner', 'Site settings modal font weight selection.', 'fictioneer' ) ?></option>
|
<option value="thinner"><?php _ex( 'Font Weight: Thinner', 'Site settings modal font weight selection.', 'fictioneer' ); ?></option>
|
||||||
<option value="normal"><?php _ex( 'Font Weight: Normal', 'Site settings modal font weight selection.', 'fictioneer' ) ?></option>
|
<option value="normal"><?php _ex( 'Font Weight: Normal', 'Site settings modal font weight selection.', 'fictioneer' ); ?></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -73,8 +73,8 @@ defined( 'ABSPATH' ) OR exit;
|
|||||||
<i class="fa-solid fa-masks-theater reset" id="site-setting-theme-reset"></i>
|
<i class="fa-solid fa-masks-theater reset" id="site-setting-theme-reset"></i>
|
||||||
<div class="select-wrapper">
|
<div class="select-wrapper">
|
||||||
<select name="site-theme" class="site-setting-site-theme">
|
<select name="site-theme" class="site-setting-site-theme">
|
||||||
<option value="default" selected="selected"><?php _ex( 'Theme:', 'Site settings modal theme selection: Current Theme.', 'fictioneer' ) ?> <?php echo FICTIONEER_SITE_NAME; ?></option>
|
<option value="default" selected="selected"><?php _ex( 'Theme:', 'Site settings modal theme selection: Current Theme.', 'fictioneer' ); ?> <?php echo FICTIONEER_SITE_NAME; ?></option>
|
||||||
<option value="base"><?php _ex( 'Theme: Fictioneer Base', 'Site settings modal theme selection: Base Theme.', 'fictioneer' ) ?></option>
|
<option value="base"><?php _ex( 'Theme: Fictioneer Base', 'Site settings modal theme selection: Base Theme.', 'fictioneer' ); ?></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,7 +25,7 @@ defined( 'ABSPATH' ) OR exit;
|
|||||||
<?php fictioneer_icon( 'fa-xmark' ); ?>
|
<?php fictioneer_icon( 'fa-xmark' ); ?>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<h4 class="modal__header drag-anchor"><?php _ex( 'Suggestion', 'Suggestion modal heading.', 'fictioneer' ) ?></h4>
|
<h4 class="modal__header drag-anchor"><?php _ex( 'Suggestion', 'Suggestion modal heading.', 'fictioneer' ); ?></h4>
|
||||||
|
|
||||||
<div class="modal__row suggestions__display">
|
<div class="modal__row suggestions__display">
|
||||||
<div class="suggestions__original">
|
<div class="suggestions__original">
|
||||||
@ -46,8 +46,8 @@ defined( 'ABSPATH' ) OR exit;
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal__actions suggestions__actions">
|
<div class="modal__actions suggestions__actions">
|
||||||
<button type="reset" id="button-suggestion-reset" class="button"><?php _e( 'Reset', 'fictioneer' ) ?></button>
|
<button type="reset" id="button-suggestion-reset" class="button"><?php _e( 'Reset', 'fictioneer' ); ?></button>
|
||||||
<button type="submit" id="button-suggestion-submit" class="button"><?php _e( 'Append to Comment', 'fictioneer' ) ?></button>
|
<button type="submit" id="button-suggestion-submit" class="button"><?php _e( 'Append to Comment', 'fictioneer' ); ?></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -322,7 +322,7 @@ $disable_folding = fictioneer_get_field( 'fictioneer_story_disable_collapse' );
|
|||||||
<div class="chapter-group<?php echo $hide_icons ? ' _no-icons' : ''; ?>">
|
<div class="chapter-group<?php echo $hide_icons ? ' _no-icons' : ''; ?>">
|
||||||
<ol class="chapter-group__list">
|
<ol class="chapter-group__list">
|
||||||
<li class="chapter-group__list-item _empty">
|
<li class="chapter-group__list-item _empty">
|
||||||
<span><?php _e( 'No chapters published yet.', 'fictioneer' ) ?></span>
|
<span><?php _e( 'No chapters published yet.', 'fictioneer' ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
@ -41,16 +41,16 @@ $story = $args['story_data'];
|
|||||||
<i class="<?php echo $story['icon']; ?>"></i>
|
<i class="<?php echo $story['icon']; ?>"></i>
|
||||||
<?php echo $story['status']; ?>
|
<?php echo $story['status']; ?>
|
||||||
</span>
|
</span>
|
||||||
<span class="story__meta-item story__date _published" title="<?php esc_attr_e( 'Published', 'fictioneer' ) ?>">
|
<span class="story__meta-item story__date _published" title="<?php esc_attr_e( 'Published', 'fictioneer' ); ?>">
|
||||||
<i class="fa-solid fa-clock"></i>
|
<i class="fa-solid fa-clock"></i>
|
||||||
<span class="hide-below-480"><?php the_time( get_option( 'date_format' ) ); ?></span>
|
<span class="hide-below-480"><?php the_time( get_option( 'date_format' ) ); ?></span>
|
||||||
<span class="show-below-480"><?php the_time( FICTIONEER_STORY_FOOTER_B480_DATE ); ?></span>
|
<span class="show-below-480"><?php the_time( FICTIONEER_STORY_FOOTER_B480_DATE ); ?></span>
|
||||||
</span>
|
</span>
|
||||||
<span class="story__meta-item story__words" title="<?php esc_attr_e( 'Total Words', 'fictioneer' ) ?>">
|
<span class="story__meta-item story__words" title="<?php esc_attr_e( 'Total Words', 'fictioneer' ); ?>">
|
||||||
<i class="fa-solid fa-font"></i>
|
<i class="fa-solid fa-font"></i>
|
||||||
<?php echo $story['word_count_short']; ?>
|
<?php echo $story['word_count_short']; ?>
|
||||||
</span>
|
</span>
|
||||||
<span class="story__meta-item story__rating" title="<?php esc_attr_e( 'Rating', 'fictioneer' ) ?>">
|
<span class="story__meta-item story__rating" title="<?php esc_attr_e( 'Rating', 'fictioneer' ); ?>">
|
||||||
<i class="fa-solid fa-exclamation-circle"></i>
|
<i class="fa-solid fa-exclamation-circle"></i>
|
||||||
<?php echo $story['rating']; ?>
|
<?php echo $story['rating']; ?>
|
||||||
</span>
|
</span>
|
||||||
|
@ -20,27 +20,27 @@ defined( 'ABSPATH' ) OR exit;
|
|||||||
<div class="tts-interface__controls">
|
<div class="tts-interface__controls">
|
||||||
<button id="button-tts-play" type="button" class="button play">
|
<button id="button-tts-play" type="button" class="button play">
|
||||||
<i class="fa-solid fa-play"></i>
|
<i class="fa-solid fa-play"></i>
|
||||||
<?php _e( 'Play', 'fictioneer' ) ?>
|
<?php _e( 'Play', 'fictioneer' ); ?>
|
||||||
</button>
|
</button>
|
||||||
<button id="button-tts-pause" type="button" class="button pause">
|
<button id="button-tts-pause" type="button" class="button pause">
|
||||||
<i class="fa-solid fa-pause"></i>
|
<i class="fa-solid fa-pause"></i>
|
||||||
<?php _e( 'Pause', 'fictioneer' ) ?>
|
<?php _e( 'Pause', 'fictioneer' ); ?>
|
||||||
</button>
|
</button>
|
||||||
<button id="button-tts-stop" type="button" class="button stop">
|
<button id="button-tts-stop" type="button" class="button stop">
|
||||||
<i class="fa-solid fa-stop"></i>
|
<i class="fa-solid fa-stop"></i>
|
||||||
<?php _e( 'Stop', 'fictioneer' ) ?>
|
<?php _e( 'Stop', 'fictioneer' ); ?>
|
||||||
</button>
|
</button>
|
||||||
<button id="button-tts-skip" type="button" class="button skip">
|
<button id="button-tts-skip" type="button" class="button skip">
|
||||||
<i class="fa-solid fa-forward"></i>
|
<i class="fa-solid fa-forward"></i>
|
||||||
<span class="hide-below-375"><?php _e( 'Skip', 'fictioneer' ) ?></span>
|
<span class="hide-below-375"><?php _e( 'Skip', 'fictioneer' ); ?></span>
|
||||||
</button>
|
</button>
|
||||||
<button id="button-tts-scroll" type="button" class="button skip">
|
<button id="button-tts-scroll" type="button" class="button skip">
|
||||||
<i class="fa-solid fa-arrows-alt-v"></i>
|
<i class="fa-solid fa-arrows-alt-v"></i>
|
||||||
<span class="hide-below-375"><?php _e( 'Scroll', 'fictioneer' ) ?></span>
|
<span class="hide-below-375"><?php _e( 'Scroll', 'fictioneer' ); ?></span>
|
||||||
</button>
|
</button>
|
||||||
<label for="modal-tts-settings-toggle" class="button settings" role="button" tabindex="0">
|
<label for="modal-tts-settings-toggle" class="button settings" role="button" tabindex="0">
|
||||||
<i class="fa-solid fa-cog"></i>
|
<i class="fa-solid fa-cog"></i>
|
||||||
<span class="hide-below-480"><?php _e( 'Settings', 'fictioneer' ) ?></span>
|
<span class="hide-below-480"><?php _e( 'Settings', 'fictioneer' ); ?></span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -75,7 +75,7 @@ if ( $can_checkmarks ) {
|
|||||||
|
|
||||||
<div id="profile-data-translations" data-cleared-success="<?php esc_attr_e( 'Data has been cleared.', 'fictioneer' ); ?>" data-cleared-error="<?php esc_attr_e( 'Error. Data could not be cleared.', 'fictioneer' ); ?>" hidden></div>
|
<div id="profile-data-translations" data-cleared-success="<?php esc_attr_e( 'Data has been cleared.', 'fictioneer' ); ?>" data-cleared-error="<?php esc_attr_e( 'Error. Data could not be cleared.', 'fictioneer' ); ?>" hidden></div>
|
||||||
|
|
||||||
<h3 class="profile__actions-headline" id="profile-actions"><?php _e( 'Data', 'fictioneer' ) ?></h3>
|
<h3 class="profile__actions-headline" id="profile-actions"><?php _e( 'Data', 'fictioneer' ); ?></h3>
|
||||||
|
|
||||||
<p class="profile__description"><?php
|
<p class="profile__description"><?php
|
||||||
printf(
|
printf(
|
||||||
|
@ -26,9 +26,9 @@ $badge = fictioneer_get_comment_badge( $current_user, null );
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h3 class="profile__discussions-headline"><?php _e( 'Discussions', 'fictioneer' ) ?></h3>
|
<h3 class="profile__discussions-headline"><?php _e( 'Discussions', 'fictioneer' ); ?></h3>
|
||||||
|
|
||||||
<p class="profile__description"><?php _e( 'This is how your comments will look. You <b>avatar is pulled from the last account you logged in with</b> — which can fail if something is wrong with the avatar. This happens, for example, if you have changed your Discord avatar since you last logged in. Logging out and in again should resolve this issue.', 'fictioneer' ) ?></p>
|
<p class="profile__description"><?php _e( 'This is how your comments will look. You <b>avatar is pulled from the last account you logged in with</b> — which can fail if something is wrong with the avatar. This happens, for example, if you have changed your Discord avatar since you last logged in. Logging out and in again should resolve this issue.', 'fictioneer' ); ?></p>
|
||||||
|
|
||||||
<p class="profile__description">
|
<p class="profile__description">
|
||||||
<?php
|
<?php
|
||||||
@ -58,35 +58,35 @@ $badge = fictioneer_get_comment_badge( $current_user, null );
|
|||||||
<?php if ( $current_user->fictioneer_admin_disable_avatar ) : ?>
|
<?php if ( $current_user->fictioneer_admin_disable_avatar ) : ?>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa-solid fa-bolt"></i>
|
<i class="fa-solid fa-bolt"></i>
|
||||||
<span><?php _e( 'Avatar capability disabled.', 'fictioneer' ) ?></span>
|
<span><?php _e( 'Avatar capability disabled.', 'fictioneer' ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( $current_user->fictioneer_admin_disable_reporting ) : ?>
|
<?php if ( $current_user->fictioneer_admin_disable_reporting ) : ?>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa-solid fa-bolt"></i>
|
<i class="fa-solid fa-bolt"></i>
|
||||||
<span><?php _e( 'Reporting capability disabled.', 'fictioneer' ) ?></span>
|
<span><?php _e( 'Reporting capability disabled.', 'fictioneer' ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( $current_user->fictioneer_admin_disable_commenting ) : ?>
|
<?php if ( $current_user->fictioneer_admin_disable_commenting ) : ?>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa-solid fa-bolt"></i>
|
<i class="fa-solid fa-bolt"></i>
|
||||||
<span><?php _e( 'Commenting capability disabled.', 'fictioneer' ) ?></span>
|
<span><?php _e( 'Commenting capability disabled.', 'fictioneer' ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( $current_user->fictioneer_admin_disable_editing ) : ?>
|
<?php if ( $current_user->fictioneer_admin_disable_editing ) : ?>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa-solid fa-bolt"></i>
|
<i class="fa-solid fa-bolt"></i>
|
||||||
<span><?php _e( 'Comment editing capability disabled.', 'fictioneer' ) ?></span>
|
<span><?php _e( 'Comment editing capability disabled.', 'fictioneer' ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( $current_user->fictioneer_admin_always_moderate_comments ) : ?>
|
<?php if ( $current_user->fictioneer_admin_always_moderate_comments ) : ?>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa-solid fa-bolt"></i>
|
<i class="fa-solid fa-bolt"></i>
|
||||||
<span><?php _e( 'Comments are moderated.', 'fictioneer' ) ?></span>
|
<span><?php _e( 'Comments are moderated.', 'fictioneer' ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ $badge = fictioneer_get_comment_badge( $current_user, null );
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="comment__body clearfix">
|
<div class="comment__body clearfix">
|
||||||
<p><?php _e( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin mollis eu lectus eu pellentesque. Fusce ornare erat tellus, nec aliquet lacus sodales ut. Duis auctor vulputate dolor nec bibendum. Maecenas dapibus nibh at quam dictum porta at eu felis. Interdum et malesuada fames ac ante ipsum primis in faucibus. Phasellus consequat, justo vulputate rutrum aliquam, magna sem malesuada turpis, et convallis est metus eget.', 'fictioneer' ) ?></p>
|
<p><?php _e( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin mollis eu lectus eu pellentesque. Fusce ornare erat tellus, nec aliquet lacus sodales ut. Duis auctor vulputate dolor nec bibendum. Maecenas dapibus nibh at quam dictum porta at eu felis. Interdum et malesuada fames ac ante ipsum primis in faucibus. Phasellus consequat, justo vulputate rutrum aliquam, magna sem malesuada turpis, et convallis est metus eget.', 'fictioneer' ); ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -39,9 +39,9 @@ $unset_notification = __( '%s connection successfully unset.', 'fictioneer' )
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h3 class="profile__oauth-headline" id="oauth-connections"><?php _e( 'Account Bindings', 'fictioneer' ) ?></h3>
|
<h3 class="profile__oauth-headline" id="oauth-connections"><?php _e( 'Account Bindings', 'fictioneer' ); ?></h3>
|
||||||
|
|
||||||
<p class="profile__description"><?php _e( 'Your profile can be linked to one or more external accounts, such as Discord or Google. You may add or remove these accounts at your own volition, but be aware that removing all accounts will lock you out with no means of access.', 'fictioneer' ) ?></p>
|
<p class="profile__description"><?php _e( 'Your profile can be linked to one or more external accounts, such as Discord or Google. You may add or remove these accounts at your own volition, but be aware that removing all accounts will lock you out with no means of access.', 'fictioneer' ); ?></p>
|
||||||
|
|
||||||
<?php if ( is_array( $patreon_tiers ) && ! empty( $patreon_tiers ) ) : ?>
|
<?php if ( is_array( $patreon_tiers ) && ! empty( $patreon_tiers ) ) : ?>
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ $unset_notification = __( '%s connection successfully unset.', 'fictioneer' )
|
|||||||
<ul class="profile__admin-notes">
|
<ul class="profile__admin-notes">
|
||||||
<li>
|
<li>
|
||||||
<i class="fa-solid fa-hourglass-end"></i>
|
<i class="fa-solid fa-hourglass-end"></i>
|
||||||
<span><?php _e( '<b>Patreon:</b> Data expires after two weeks. Log in with Patreon again to refresh.', 'fictioneer' ) ?></span>
|
<span><?php _e( '<b>Patreon:</b> Data expires after two weeks. Log in with Patreon again to refresh.', 'fictioneer' ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -35,7 +35,7 @@ $renaming_disabled = $current_user->fictioneer_admin_disable_renaming;
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h3 id="profile" class="profile__account-headline"><?php _e( 'Profile', 'fictioneer' ) ?></h3>
|
<h3 id="profile" class="profile__account-headline"><?php _e( 'Profile', 'fictioneer' ); ?></h3>
|
||||||
|
|
||||||
<form method="post" action="<?php echo esc_url( $submit_url ); ?>" class="profile__account profile__segment">
|
<form method="post" action="<?php echo esc_url( $submit_url ); ?>" class="profile__account profile__segment">
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ $renaming_disabled = $current_user->fictioneer_admin_disable_renaming;
|
|||||||
<input name="user_id" type="hidden" value="<?php echo $current_user->ID; ?>">
|
<input name="user_id" type="hidden" value="<?php echo $current_user->ID; ?>">
|
||||||
|
|
||||||
<div class="profile__actions">
|
<div class="profile__actions">
|
||||||
<input name="submit" type="submit" value="<?php esc_attr_e( 'Update Profile', 'fictioneer' ) ?>" class="button">
|
<input name="submit" type="submit" value="<?php esc_attr_e( 'Update Profile', 'fictioneer' ); ?>" class="button">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
@ -30,10 +30,10 @@ function fictioneer_admin_profile_patreon_tiers( $profile_user ) {
|
|||||||
|
|
||||||
// Start HTML ---> ?>
|
// Start HTML ---> ?>
|
||||||
<tr class="user-patreon-tiers-wrap">
|
<tr class="user-patreon-tiers-wrap">
|
||||||
<th><label for="fictioneer_patreon_tiers"><?php _e( 'Patreon Tiers', 'fictioneer' ) ?></label></th>
|
<th><label for="fictioneer_patreon_tiers"><?php _e( 'Patreon Tiers', 'fictioneer' ); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input name="fictioneer_patreon_tiers" type="text" id="fictioneer_patreon_tiers" value="<?php echo esc_attr( json_encode( get_the_author_meta( 'fictioneer_patreon_tiers', $profile_user->ID ) ) ); ?>" class="regular-text" readonly>
|
<input name="fictioneer_patreon_tiers" type="text" id="fictioneer_patreon_tiers" value="<?php echo esc_attr( json_encode( get_the_author_meta( 'fictioneer_patreon_tiers', $profile_user->ID ) ) ); ?>" class="regular-text" readonly>
|
||||||
<p class="description"><?php _e( 'Patreon tiers for the linked Patreon client. Valid for two weeks after last login.', 'fictioneer' ) ?></p>
|
<p class="description"><?php _e( 'Patreon tiers for the linked Patreon client. Valid for two weeks after last login.', 'fictioneer' ); ?></p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php // <--- End HTML
|
<?php // <--- End HTML
|
||||||
@ -64,7 +64,7 @@ function fictioneer_admin_profile_bookmarks( $profile_user ) {
|
|||||||
|
|
||||||
// Start HTML ---> ?>
|
// Start HTML ---> ?>
|
||||||
<tr class="user-bookmarks-wrap">
|
<tr class="user-bookmarks-wrap">
|
||||||
<th><label for="user_bookmarks"><?php _e( 'Bookmarks JSON', 'fictioneer' ) ?></label></th>
|
<th><label for="user_bookmarks"><?php _e( 'Bookmarks JSON', 'fictioneer' ); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="user_bookmarks" id="user_bookmarks" rows="12" cols="30" style="font-family: monospace; font-size: 12px; word-break: break-all;" disabled><?php echo esc_attr( get_the_author_meta( 'fictioneer_bookmarks', $profile_user->ID ) ); ?></textarea>
|
<textarea name="user_bookmarks" id="user_bookmarks" rows="12" cols="30" style="font-family: monospace; font-size: 12px; word-break: break-all;" disabled><?php echo esc_attr( get_the_author_meta( 'fictioneer_bookmarks', $profile_user->ID ) ); ?></textarea>
|
||||||
</td>
|
</td>
|
||||||
|
@ -92,7 +92,7 @@ do_action( 'rss_tag_pre', 'rss2' );
|
|||||||
<description><?php echo $description; ?></description>
|
<description><?php echo $description; ?></description>
|
||||||
<language><?php echo bloginfo_rss( 'language' ); ?></language>
|
<language><?php echo bloginfo_rss( 'language' ); ?></language>
|
||||||
<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
|
<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
|
||||||
<link><?php bloginfo_rss( 'url' ) ?></link>
|
<link><?php bloginfo_rss( 'url' ); ?></link>
|
||||||
<lastBuildDate><?php echo $date; ?></lastBuildDate>
|
<lastBuildDate><?php echo $date; ?></lastBuildDate>
|
||||||
<sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
|
<sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
|
||||||
<sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
|
<sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
|
||||||
@ -132,7 +132,7 @@ do_action( 'rss_tag_pre', 'rss2' );
|
|||||||
<pubDate><?php echo $pub_date; ?></pubDate>
|
<pubDate><?php echo $pub_date; ?></pubDate>
|
||||||
<dc:creator><?php the_author(); ?></dc:creator>
|
<dc:creator><?php the_author(); ?></dc:creator>
|
||||||
<guid isPermaLink="false"><?php the_guid(); ?></guid>
|
<guid isPermaLink="false"><?php the_guid(); ?></guid>
|
||||||
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
|
<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
|
||||||
|
|
||||||
<?php if ( $og_image ) : ?>
|
<?php if ( $og_image ) : ?>
|
||||||
<webfeeds:featuredImage
|
<webfeeds:featuredImage
|
||||||
|
@ -171,7 +171,7 @@ do_action( 'rss_tag_pre', 'rss2' );
|
|||||||
<pubDate><?php echo $pub_date; ?></pubDate>
|
<pubDate><?php echo $pub_date; ?></pubDate>
|
||||||
<dc:creator><?php the_author(); ?></dc:creator>
|
<dc:creator><?php the_author(); ?></dc:creator>
|
||||||
<guid isPermaLink="false"><?php the_guid(); ?></guid>
|
<guid isPermaLink="false"><?php the_guid(); ?></guid>
|
||||||
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
|
<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
|
||||||
|
|
||||||
<?php if ( $og_image ) : ?>
|
<?php if ( $og_image ) : ?>
|
||||||
<webfeeds:featuredImage
|
<webfeeds:featuredImage
|
||||||
|
@ -121,7 +121,7 @@ if ( $show_advanced ) {
|
|||||||
tabindex="0"
|
tabindex="0"
|
||||||
><?php _ex( 'Advanced', 'Advanced search toggle.', 'fictioneer' ); ?></button>
|
><?php _ex( 'Advanced', 'Advanced search toggle.', 'fictioneer' ); ?></button>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<button type="submit" class="search-form__submit" aria-label="<?php echo esc_attr__( 'Submit search request', 'fictioneer' ) ?>"><i class="fa-solid fa-magnifying-glass"></i></button>
|
<button type="submit" class="search-form__submit" aria-label="<?php echo esc_attr__( 'Submit search request', 'fictioneer' ); ?>"><i class="fa-solid fa-magnifying-glass"></i></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -134,7 +134,7 @@ if ( $show_advanced ) {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="reset"
|
class="reset"
|
||||||
data-reset="<?php echo esc_attr_x( 'Search form reset.', 'Advanced search reset message.', 'fictioneer' ) ?>"
|
data-reset="<?php echo esc_attr_x( 'Search form reset.', 'Advanced search reset message.', 'fictioneer' ); ?>"
|
||||||
><?php _ex( 'Reset', 'Advanced search reset button.', 'fictioneer' ); ?></button>
|
><?php _ex( 'Reset', 'Advanced search reset button.', 'fictioneer' ); ?></button>
|
||||||
|
|
||||||
<span class="search-form__current-type"><?php
|
<span class="search-form__current-type"><?php
|
||||||
@ -377,7 +377,7 @@ if ( $show_advanced ) {
|
|||||||
|
|
||||||
<div class="search-form__advanced-actions">
|
<div class="search-form__advanced-actions">
|
||||||
<div class="search-form__advanced-actions-left">
|
<div class="search-form__advanced-actions-left">
|
||||||
<button type="button" class="search-form__advanced-reset reset button _secondary" data-reset="<?php echo esc_attr_x( 'Search form reset.', 'Advanced search reset message.', 'fictioneer' ) ?>"><?php _ex( 'Reset', 'Advanced search reset button.', 'fictioneer' ); ?></button>
|
<button type="button" class="search-form__advanced-reset reset button _secondary" data-reset="<?php echo esc_attr_x( 'Search form reset.', 'Advanced search reset message.', 'fictioneer' ); ?>"><?php _ex( 'Reset', 'Advanced search reset button.', 'fictioneer' ); ?></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-form__advanced-actions-right">
|
<div class="search-form__advanced-actions-right">
|
||||||
<button type="submit" class="search-form__advanced-submit submit button"><?php _ex( 'Search', 'Advanced search submit.', 'fictioneer' ); ?></button>
|
<button type="submit" class="search-form__advanced-submit submit button"><?php _ex( 'Search', 'Advanced search submit.', 'fictioneer' ); ?></button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user