';
echo '
' . esc_html__( 'Layout', 'spindle-faq' ) . ' ' . esc_html__( 'Use site default (Settings)', 'spindle-faq' ) . ' ';
foreach ( array(
'accordion' => 'Accordion',
'category' => 'Category accordion',
'list' => 'List',
'cards' => 'Cards',
'grid' => 'Grid',
'carousel' => 'Carousel',
) as $key => $label ) {
echo '' . esc_html( $label ) . ' ';
}
echo '
' . esc_html__( 'Category (optional)', 'spindle-faq' ) . ' ' . esc_html__( 'All categories', 'spindle-faq' ) . ' ';
if ( ! is_wp_error( $categories ) ) {
foreach ( $categories as $term ) {
echo '' . esc_html( $term->name ) . ' ';
}
}
echo '
' . esc_html__( 'Curated collection (optional)', 'spindle-faq' ) . ' ' . esc_html__( 'No collection', 'spindle-faq' ) . ' ';
foreach ( $collections as $collection ) {
if ( $collection->post_status !== 'publish' ) {
continue;
}
echo '' . esc_html( $collection->post_title ) . ' ';
}
echo '
' . esc_html__( 'Questions to show', 'spindle-faq' ) . '
' . esc_html__( 'Search field', 'spindle-faq' ) . ' ' . esc_html__( 'Use site default', 'spindle-faq' ) . ' ' . esc_html__( 'Show', 'spindle-faq' ) . ' ' . esc_html__( 'Hide', 'spindle-faq' ) . '
';
$opt_allowed = array( 'option' => array( 'value' => true ) );
$opt_default = '
' . esc_html__( 'Use default', 'spindle-faq' ) . ' ';
echo '
' . esc_html__( 'Toggle icon', 'spindle-faq' ) . ' ';
echo wp_kses( $opt_default, $opt_allowed );
foreach ( SPFAQ_Display_Options::icons() as $key => $label ) {
echo '' . esc_html( $label ) . ' ';
}
echo '
' . esc_html__( 'Animation', 'spindle-faq' ) . ' ';
echo wp_kses( $opt_default, $opt_allowed );
foreach ( SPFAQ_Display_Options::animations() as $key => $label ) {
echo '' . esc_html( $label ) . ' ';
}
echo '
';
foreach ( array(
'numbered' => __( 'Numbered questions', 'spindle-faq' ),
'expand_all' => __( 'Expand / Collapse all buttons', 'spindle-faq' ),
'copy_link' => __( 'Copy-link buttons', 'spindle-faq' ),
) as $key => $label ) {
echo wp_kses( '
' . esc_html( $label ) . ' ' . $opt_default . '' . esc_html__( 'Yes', 'spindle-faq' ) . ' ' . esc_html__( 'No', 'spindle-faq' ) . '
', SPFAQ_Kses::admin() );
}
echo '