' . esc_html__( 'Settings saved.', 'simple-embed-code' ) . "

\n"; } // Fetch options into an array. $options = get_option( 'artiss_code_embed' ); ?>
/>
' . esc_html__( 'Identifier Format', 'simple-embed-code' ) . '

' . esc_html__( 'Specify the format that will be used to define the way the code is embedded in your post. The formats are case insensitive and characters < > [ ] are invalid.', 'simple-embed-code' ) . '

'; ?>

' . esc_html__( 'How To Embed', 'simple-embed-code' ) . "\n"; /* translators: %1$s: example of custom field key value to use based on current settings, %2$s: details of key used in example */ echo '

' . sprintf( esc_html__( 'Based upon your current settings to embed some code simply add a custom field named %1$s, where %2$s is any suffix you wish. The code to embed is then added as the field value.', 'simple-embed-code' ), esc_html( $options['keyword_ident'] ) . 'x', 'x' ) . "\n"; /* translators: %1$s: example of how to embed code in a post based on current settings, %2$s: details of key used in example */ echo ' ' . sprintf( esc_html__( 'Then, to add the code into your post simply add %1$s where you wish it to appear. %2$s is the suffix you used for the custom field name.', 'simple-embed-code' ), esc_html( $options['opening_ident'] ) . esc_html( $options['keyword_ident'] ) . 'x' . esc_html( $options['closing_ident'] ), 'x' ) . "

\n"; /* translators: %1$s: another example of adding a custom field, %2$s: another example of adding embed to a post */ /* translators: %1$s: example embedding for responsive layout , %2$s: details of key used in example */ echo '

' . sprintf( esc_html__( 'To embed the same code but to make it responsive you would use %1$s. To set a maximum width you would use %2$s, where %3$s is the maximum width in pixels.', 'simple-embed-code' ), esc_html( $options['opening_ident'] ) . esc_html( $options['keyword_ident'] ) . 'x_RES' . esc_html( $options['closing_ident'] ), esc_html( $options['opening_ident'] ) . esc_html( $options['keyword_ident'] ) . 'x_RES_y' . esc_html( $options['closing_ident'] ), 'y' ) . "

\n"; /* translators: %1$s: example of embedding a file, %2$s: details of key used in example */ echo '

' . sprintf( esc_html__( 'To embed an external URL you would type %1$s, where %2$s is the URL.', 'simple-embed-code' ), esc_html( $options['opening_ident'] ) . 'url' . esc_html( $options['closing_ident'] ), 'url' ) . "

\n"; ?>