# catch-breadcrumb/1.1/admin/partials/dashboard-display.php

Catch Breadcrumb, version 1.1. 104 lines.

- Page: https://pluginprobe.com/plugins/catch-breadcrumb/1.1/code/admin/partials/dashboard-display.php
- Raw: https://pluginprobe.com/plugins/catch-breadcrumb/1.1/raw/admin/partials/dashboard-display.php
- Modified: 2018-12-12T11:29:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/catch-breadcrumb/1.1/code/admin/partials/dashboard-display.php#L10-L20`.

```php
<?php

/**
 * Provide a admin area view for the plugin
 *
 * This file is used to markup the admin-facing aspects of the plugin.
 *
 * @link      https://catchplugins.com/plugins
 * @since      1.0.0
 *
 * @package    Catch_Breadcrumb
 * @subpackage Catch_Breadcrumb/admin/partials
 */
?>

<div id="catch-breadcrumb">
	<div class="content-wrapper">
		<div class="header">
			<h2><?php esc_html_e( 'Settings', 'catch-breadcrumb' ); ?></h2>
		</div> <!-- .Header -->
		<div class="content">
			<?php if( isset($_GET['settings-updated']) ) { ?>
			<div id="message" class="notice updated fade">
		  		<p><strong><?php esc_html_e( 'Plugin Options Saved.', 'catch-breadcrumb' ) ?></strong></p>
		  	</div>
			<?php } ?>
			<?php // Use nonce for verification.
				wp_nonce_field( basename( __FILE__ ), 'catch_breadcrumb_nounce' );
			?>
			<div id="breadcrumb_main">
				<form method="post" action="options.php">
					<?php settings_fields( 'catch-breadcrumb-group' ); ?>
					<?php
					$defaults =catch_breadcrumb_default_options();
					$settings = catch_breadcrumb_get_options();
					?>
					<div class="option-container">
			  			<table class="form-table" bgcolor="white">
							<tbody>
				  				
								<tr>
									<th>
										<label><?php esc_html_e( 'Content Selector', 'catch-breadcrumb' ); ?></label>
									</th>
									<td>
										<input type="text" name="catch_breadcrumb_options[content_selector]" id="breadcrumb-selector" class="breadcrumb-selector"  value="<?php echo esc_attr($settings['content_selector']); ?>"/>
										<span class="dashicons dashicons-info" title="<?php esc_html_e( 'Breadcrumb will be displayed just before this selector.', 'catch-breadcrumb' ); ?>"></span>
									</td>
								</tr>
								
								<tr>
									<th>
										<label><?php esc_html_e( 'Breadcrumb Separator', 'catch-breadcrumb' ); ?></label>
									</th>
									<td>
										<input type="text" name="catch_breadcrumb_options[breadcrumb_separator]" id="breadcrumb-separator"   value="<?php echo esc_attr($settings['breadcrumb_separator']); ?>"  />
										<span class="dashicons dashicons-info" title="<?php esc_html_e( 'Anything you want to put as separator inbetween the breadcrumbs.', 'catch-breadcrumb' ); ?>"></span>
									</td>
								</tr>
								<tr>
									<th scope="row" colspan="2">
										<code>[catch-breadcrumb]</code>
										<?php _e( 'shortcode (in the Post/Page content) will enable Breadcrumb into the Page/Post.', 'catch-breadcrumb' ); ?>
										<p><?php _e( 'OR', 'breadcrumb' ); ?></p>
										<code>&lt;?php echo do_shortcode( '[catch-breadcrumb]' );?&gt;</code>
									</th>
								</tr>
								<tr> 
									<th scope="row"><?php _e( 'Enable Home Icon', 'catch-breadcrumb' ); ?></th>
									<td>
										<?php $text   =   ( ! empty ( $settings['breadcrumb_home_icon'] ) && $settings['breadcrumb_home_icon'] ) ? 'checked' : '';
										echo '<input type="checkbox" ' .$text. ' name="catch_breadcrumb_options[breadcrumb_home_icon]" value="1"/>&nbsp;&nbsp;'. __( ' Check to enable', 'catch-breadcrumb' );
										?>
					  					<span class="dashicons dashicons-info" title="<?php esc_html_e( 'Checking this option will enable Home icon in breadcrumb.', 'catch-breadcrumb' ); ?>"></span>
									</td>
								</tr>
								<tr> 
									<th scope="row"><?php _e( 'Enable On Home Page', 'catch-breadcrumb' ); ?></th>
									<td>
										<?php $text   =   ( ! empty ( $settings['breadcrumb_display_home'] ) && $settings['breadcrumb_display_home'] ) ? 'checked' : '';
										echo '<input type="checkbox" ' .$text. ' name="catch_breadcrumb_options[breadcrumb_display_home]" value="1"/>&nbsp;&nbsp;'. __( ' Check to enable', 'catch-breadcrumb' );
										?>
					  					<span class="dashicons dashicons-info" title="<?php esc_html_e( 'Checking this option will display breadcrumb on homepage/frontpage.', 'catch-breadcrumb' ); ?>"></span>
									</td>
								</tr>
								<tr>
                                    <th scope="row"><?php esc_html_e( 'Reset Options', 'catch-breadcrumb' ); ?></th>
                                    <td>
                                        <?php
                                            echo '<input name="catch_breadcrumb_options[reset]" id="catch_breadcrumb_options[reset]" type="checkbox" value="1" class="catch_breadcrumb_options[reset]" />' . esc_html__( 'Check to reset', 'catch-breadcrumb' );
                                        ?>
                                        <span class="dashicons dashicons-info" title="<?php esc_html_e( 'Caution: Reset all settings to default.', 'catch-breadcrumb' ); ?>"></span>
                                    </td>
                                </tr>
							</tbody>
						</table>
						<?php submit_button( esc_html__( 'Save Changes', 'catch-breadcrumb' ) ); ?>
					</div><!-- .option-container -->
				</form>
			</div><!-- #breadcrumb_main -->
		</div><!-- .content -->
	</div><!-- .content-wrapper -->
</div><!---catch-breadcrumb-->

```
