| 'disabled-toc', 'desc' => esc_html__( 'Disable the automatic insertion of the table of contents.', 'easy-table-of-contents' ), 'default' => $suppress, ), $suppress ); elseif( in_array( get_post_type( $post ), ezTOC_Option::get( 'enabled_post_types', array() ) ) ): ezTOC_Option::checkbox( array( 'id' => 'insert-toc', 'desc' => esc_html__( 'Insert table of contents.', 'easy-table-of-contents' ), 'default' => $insert, ), $insert ); endif; ?> | |
| 'header-label',
								'desc' => ' '.__( 'Eg: Contents, Table of Contents, Page Contents', 'easy-table-of-contents' ), 'default' => $header_label, ), $header_label ); ?> | |
| 'appearance-desc',
								'desc' => ' ' . esc_html__( 'NOTE:', 'easy-table-of-contents' ) . '' . ' 
 | |
| 'toc-alignment', 'options' => array( 'none' => __( 'None (Default)', 'easy-table-of-contents' ), 'left' => __( 'Left', 'easy-table-of-contents' ), 'right' => __( 'Right', 'easy-table-of-contents' ), 'center' => __( 'Center', 'easy-table-of-contents' ), ), 'default' => $alignment, ), $alignment ); ?> | |
| 'exclude-desc',
								'name' => '',
								'desc' => ' ' . esc_html__( 'NOTE:', 'easy-table-of-contents' ) . '' . ' 
 | |
| 'heading-levels', 'desc' => esc_html__( 'Select the heading to consider when generating the table of contents. Deselecting a heading will exclude it.', 'easy-table-of-contents' ), 'options' => array( '1' => __( 'Heading 1 (h1)', 'easy-table-of-contents' ), '2' => __( 'Heading 2 (h2)', 'easy-table-of-contents' ), '3' => __( 'Heading 3 (h3)', 'easy-table-of-contents' ), '4' => __( 'Heading 4 (h4)', 'easy-table-of-contents' ), '5' => __( 'Heading 5 (h5)', 'easy-table-of-contents' ), '6' => __( 'Heading 6 (h6)', 'easy-table-of-contents' ), ), 'default' => array(), ), array_map( 'absint', $headings ) ); ?> | |
| 'visibility_hide_by_default', 'name' => __( 'Initial View', 'easy-table-of-contents' ), 'desc' => __( 'Initially hide the table of contents.', 'easy-table-of-contents' ), 'default' => false, ), $initial_view ); ?> | |
| 'hide_counter', 'name' => __( 'Hide Counter', 'easy-table-of-contents' ), 'desc' => __( 'Do not show counters for the table of contents.', 'easy-table-of-contents' ), 'default' => false, ), $hide_counter ); ?> | |
| 'alttext',
								'desc' => __( 'Specify alternate table of contents header string. Add the header to be replaced and the alternate header on a single line separated with a pipe |. Put each additional original and alternate header on its own line.', 'easy-table-of-contents' ),
								'size' => 'large',
								'default' => '',
							),
							$altText
						);
						?> | |
| 'alttext-desc',
								'name' => '',
								'desc' => ' ' . esc_html__( 'Examples:', 'easy-table-of-contents' ) . '' . ' 
 ' . __( 'Note: This is case sensitive.', 'easy-table-of-contents' ) . '', ) ); ?> | |
| 'exclude',
								'desc' => __( 'Specify headings to be excluded from appearing in the table of contents. Separate multiple headings with a pipe |. Use an asterisk*as a wildcard to match other text.', 'easy-table-of-contents' ),
								'size' => 'large',
								'default' => '',
							),
							$exclude
						);
						?> | |
| 'exclude-desc',
								'name' => '',
								'desc' => ' ' . esc_html__( 'Examples:', 'easy-table-of-contents' ) . '' . ' 
 ' . __( 'Note: This is not case sensitive.', 'easy-table-of-contents' ) . '', ) ); ?> | 
'.$message.'