Add additional query names
This commit is contained in:
parent
6a0900e56e
commit
9fb5390fca
@ -248,7 +248,7 @@ function fictioneer_ajax_get_finished_checkmarks_list() {
|
||||
$list_items = fictioneer_get_card_list(
|
||||
'story',
|
||||
array(
|
||||
'fictioneer_query_name' => "bookshelf_finished",
|
||||
'fictioneer_query_name' => 'bookshelf_finished',
|
||||
'post__in' => $post_ids,
|
||||
'paged' => $page,
|
||||
'order' => $order
|
||||
|
@ -397,7 +397,7 @@ function fictioneer_ajax_get_follows_list() {
|
||||
$list_items = fictioneer_get_card_list(
|
||||
'story',
|
||||
array(
|
||||
'fictioneer_query_name' => "bookshelf_follows",
|
||||
'fictioneer_query_name' => 'bookshelf_follows',
|
||||
'post__in' => $post_ids,
|
||||
'paged' => $page,
|
||||
'order' => $order
|
||||
|
@ -174,7 +174,7 @@ function fictioneer_ajax_get_reminders_list() {
|
||||
$list_items = fictioneer_get_card_list(
|
||||
'story',
|
||||
array(
|
||||
'fictioneer_query_name' => "bookshelf_reminders",
|
||||
'fictioneer_query_name' => 'bookshelf_reminders',
|
||||
'post__in' => $post_ids,
|
||||
'paged' => $page,
|
||||
'order' => $order
|
||||
|
@ -33,6 +33,7 @@ $card_counter = 0;
|
||||
|
||||
// Prepare query
|
||||
$query_args = array(
|
||||
'fictioneer_query_name' => 'latest_chapters_compact',
|
||||
'post_type' => 'fcn_chapter',
|
||||
'post_status' => 'publish',
|
||||
'post__in' => $args['post_ids'], // May be empty!
|
||||
|
@ -34,6 +34,7 @@ $card_counter = 0;
|
||||
|
||||
// Prepare query
|
||||
$query_args = array(
|
||||
'fictioneer_query_name' => 'latest_chapters',
|
||||
'post_type' => 'fcn_chapter',
|
||||
'post_status' => 'publish',
|
||||
'post__in' => $args['post_ids'], // May be empty!
|
||||
|
@ -26,6 +26,7 @@ defined( 'ABSPATH' ) OR exit;
|
||||
|
||||
// Prepare query
|
||||
$query_args = array(
|
||||
'fictioneer_query_name' => 'latest_posts',
|
||||
'post_type' => 'post',
|
||||
'post_status' => 'publish',
|
||||
'post__in' => $args['post_ids'], // May be empty!
|
||||
|
@ -30,6 +30,7 @@ $show_taxonomies = ! get_option( 'fictioneer_hide_taxonomies_on_recommendation_c
|
||||
|
||||
// Prepare query
|
||||
$query_args = array (
|
||||
'fictioneer_query_name' => 'latest_recommendations_compact',
|
||||
'post_type' => 'fcn_recommendation',
|
||||
'post_status' => 'publish',
|
||||
'post__in' => $args['post_ids'], // May be empty!
|
||||
|
@ -31,6 +31,7 @@ $show_taxonomies = ! get_option( 'fictioneer_hide_taxonomies_on_recommendation_c
|
||||
|
||||
// Prepare query
|
||||
$query_args = array (
|
||||
'fictioneer_query_name' => 'latest_recommendations',
|
||||
'post_type' => 'fcn_recommendation',
|
||||
'post_status' => 'publish',
|
||||
'post__in' => $args['post_ids'], // May be empty!
|
||||
|
@ -31,6 +31,7 @@ $show_taxonomies = ! get_option( 'fictioneer_hide_taxonomies_on_story_cards' );
|
||||
|
||||
// Prepare query
|
||||
$query_args = array(
|
||||
'fictioneer_query_name' => 'latest_stories_compact',
|
||||
'post_type' => 'fcn_story',
|
||||
'post_status' => 'publish',
|
||||
'post__in' => $args['post_ids'], // May be empty!
|
||||
|
@ -28,6 +28,7 @@ defined( 'ABSPATH' ) OR exit;
|
||||
|
||||
// Prepare query
|
||||
$query_args = array(
|
||||
'fictioneer_query_name' => 'latest_stories',
|
||||
'post_type' => 'fcn_story',
|
||||
'post_status' => 'publish',
|
||||
'post__in' => $args['post_ids'], // May be empty!
|
||||
|
@ -34,6 +34,7 @@ $card_counter = 0;
|
||||
|
||||
// Prepare query
|
||||
$query_args = array(
|
||||
'fictioneer_query_name' => 'latest_updates_compact',
|
||||
'post_type' => 'fcn_story',
|
||||
'post_status' => 'publish',
|
||||
'post__in' => $args['post_ids'], // May be empty!
|
||||
|
@ -36,6 +36,7 @@ $card_counter = 0;
|
||||
|
||||
// Prepare query
|
||||
$query_args = array(
|
||||
'fictioneer_query_name' => 'latest_updates',
|
||||
'post_type' => 'fcn_story',
|
||||
'post_status' => 'publish',
|
||||
'post__in' => $args['post_ids'], // May be empty!
|
||||
|
Loading…
x
Reference in New Issue
Block a user