_e example


    protected function render_template() {
        ?> <li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }}"> <h3 class="accordion-section-title" tabindex="0"> {{ data.title }} <span class="screen-reader-text"> <?php                     /* translators: Hidden accessibility text. */
                    _e( 'Press return or enter to open this section' );
                    ?> </span> </h3> <ul class="accordion-section-content"> <li class="customize-section-description-container section-meta <# if ( data.description_hidden ) { #>customize-info<# } #>"> <div class="customize-section-title"> <button class="customize-section-back" tabindex="-1"> <span class="screen-reader-text"> <?php                                 /* translators: Hidden accessibility text. */
                                _e( 'Back' );
                                

function wp_nav_menu_item_link_meta_box() {
    global $_nav_menu_placeholder$nav_menu_selected_id;

    $_nav_menu_placeholder = 0 > $_nav_menu_placeholder ? $_nav_menu_placeholder - 1 : -1;

    ?> <div class="customlinkdiv" id="customlinkdiv"> <input type="hidden" value="custom" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-type]" /> <p id="menu-item-url-wrap" class="wp-clearfix"> <label class="howto" for="custom-menu-item-url"><?php _e( 'URL' ); ?></label> <input id="custom-menu-item-url" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-url]" type="text"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="code menu-item-textbox form-required" placeholder="https://" /> </p> <p id="menu-item-name-wrap" class="wp-clearfix"> <label class="howto" for="custom-menu-item-name"><?php _e( 'Link Text' ); ?></label> <input id="custom-menu-item-name" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-title]" type="text"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="regular-text menu-item-textbox" /> </p> <p class="button-controls wp-clearfix"> <span class="add-to-menu"> <input id="submit-customlinkdiv" name="add-custom-menu-item" type="submit"
$option = (int) get_user_meta( get_current_user_id(), 'show_welcome_panel', true );
    // 0 = hide, 1 = toggled to show or single site creator, 2 = multisite site owner.     $hide = ( 0 === $option || ( 2 === $option && wp_get_current_user()->user_email !== get_option( 'admin_email' ) ) );
    if ( $hide ) {
        $classes .= ' hidden';
    }
    ?> <div id="welcome-panel" class="<?php echo esc_attr( $classes ); ?>"> <?php wp_nonce_field( 'welcome-panel-nonce', 'welcomepanelnonce', false ); ?> <a class="welcome-panel-close" href="<?php echo esc_url( admin_url( '?welcome=0' ) ); ?>" aria-label="<?php esc_attr_e( 'Dismiss the welcome panel' ); ?>"><?php _e( 'Dismiss' ); ?></a> <?php         /** * Fires when adding content to the welcome panel on the admin dashboard. * * To remove the default welcome panel, use remove_action(): * * remove_action( 'welcome_panel', 'wp_welcome_panel' ); * * @since 3.5.0 */
        do_action( 'welcome_panel' );
        
// Used in the HTML title tag. $title       = __( 'Add New Site' );
$parent_file = 'sites.php';

wp_enqueue_script( 'user-suggest' );

require_once ABSPATH . 'wp-admin/admin-header.php';

?> <div class="wrap"> <h1 id="add-new-site"><?php _e( 'Add New Site' ); ?></h1> <?php if ( ! empty( $messages ) ) {
    foreach ( $messages as $msg ) {
        echo '<div id="message" class="notice notice-success is-dismissible"><p>' . $msg . '</p></div>';
    }
}
?> <p><?php echo wp_required_field_message(); ?></p> <form method="post" action="<?php echo esc_url( network_admin_url( 'site-new.php?action=add-site' ) ); ?>" novalidate="novalidate"> <?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ); ?> <table class="form-table" role="presentation"> <tr class="form-field form-required"> <th scope="row"> <label for="site-address">
<?php _ex( 'Menu', 'media modal menu' ); ?> <span class="dashicons dashicons-arrow-down" aria-hidden="true"></span> </button> <div class="media-frame-menu"></div> <div class="media-frame-tab-panel"> <div class="media-frame-router"></div> <div class="media-frame-content"></div> </div> <h2 class="media-frame-actions-heading screen-reader-text"> <?php             /* translators: Hidden accessibility text. */
            _e( 'Selected media actions' );
        ?> </h2> <div class="media-frame-toolbar"></div> <div class="media-frame-uploader"></div> </script> <?php // Template for the media modal. ?> <script type="text/html" id="tmpl-media-modal"> <div tabindex="0" class="<?php echo $class; ?>" role="dialog" aria-labelledby="media-frame-title"> <# if ( data.hasCloseButton ) { #> <button type="button" class="media-modal-close"><span class="media-modal-icon"><span class="screen-reader-text">
                    $file     = get_attached_file( $post->ID );
                    $file_url = wp_get_attachment_url( $post->ID );
                    $title    = $post->post_title ? $post->post_title : wp_basename( $file );
                    ?> <div class="filename new"> <span class="media-list-title"><strong><?php echo esc_html( wp_html_excerpt( $title, 60, '&hellip;' ) ); ?></strong></span> <span class="media-list-subtitle"><?php echo wp_basename( $file ); ?></span> </div> </div> <div class="attachment-tools"> <span class="media-item-copy-container copy-to-clipboard-container edit-attachment"> <button type="button" class="button button-small copy-attachment-url" data-clipboard-text="<?php echo $file_url; ?>"><?php _e( 'Copy URL to clipboard' ); ?></button> <span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span> </span> <?php                     if ( current_user_can( 'edit_post', $id ) ) {
                        echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '">' . _x( 'Edit', 'media item' ) . '</a>';
                    } else {
                        echo '<span class="edit-attachment">' . _x( 'Success', 'media item' ) . '</span>';
                    }
                    ?> </div> </div>
add_filter( 'wp_robots', 'wp_robots_sensitive_page' );

get_header( 'wp-activate' );

$blog_details = get_site();
?> <div id="signup-content" class="widecolumn"> <div class="wp-activate-container"> <?php if ( ! $key ) { ?> <h2><?php _e( 'Activation Key Required' ); ?></h2> <form name="activateform" id="activateform" method="post" action="<?php echo network_site_url( $blog_details->path . 'wp-activate.php' ); ?>"> <p> <label for="key"><?php _e( 'Activation Key:' ); ?></label> <br /><input type="text" name="key" id="key" value="" size="50" autofocus="autofocus" /> </p> <p class="submit"> <input id="submit" type="submit" name="Submit" class="submit" value="<?php esc_attr_e( 'Activate' ); ?>" /> </p> </form> <?php

    $tabs = apply_filters( 'install_themes_tabs', array( 'upload' => __( 'Upload Theme' ) ) );
    if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_themes' ) ) {
        echo ' <button type="button" class="upload-view-toggle page-title-action hide-if-no-js" aria-expanded="false">' . __( 'Upload Theme' ) . '</button>';
    }
    ?> <hr class="wp-header-end"> <div class="error hide-if-js"> <p><?php _e( 'The Theme Installer screen requires JavaScript.' ); ?></p> </div> <div class="upload-theme"> <?php install_themes_upload(); ?> </div> <h2 class="screen-reader-text hide-if-no-js"> <?php         /* translators: Hidden accessibility text. */
        _e( 'Filter themes list' );
        ?>


    /** * Renders the control's content. * * @since 3.9.0 */
    public function render_content() {
        $id = 'reorder-widgets-desc-' . str_replace( array( '[', ']' ), array( '-', '' )$this->id );
        ?> <button type="button" class="button add-new-widget" aria-expanded="false" aria-controls="available-widgets"> <?php _e( 'Add a Widget' ); ?> </button> <button type="button" class="button-link reorder-toggle" aria-label="<?php esc_attr_e( 'Reorder widgets' ); ?>" aria-describedby="<?php echo esc_attr( $id ); ?>"> <span class="reorder"><?php _e( 'Reorder' ); ?></span> <span class="reorder-done"><?php _e( 'Done' ); ?></span> </button> <p class="screen-reader-text" id="<?php echo esc_attr( $id ); ?>"> <?php             /* translators: Hidden accessibility text. */
            _e( 'When in reorder mode, additional controls to reorder widgets will be available in the widgets list above.' );
            ?> </p>
if ( $post_id ) {
    printf(
        /* translators: %s: Link to post. */
        __( 'Comments on &#8220;%s&#8221;' ),
        sprintf(
            '<a href="%1$s">%2$s</a>',
            get_edit_post_link( $post_id ),
            wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '&hellip;' )
        )
    );
} else {
    _e( 'Comments' );
}
?> </h1> <?php if ( $post_id ) {
    $post_type_object = get_post_type_object( get_post_type( $post_id ) );

    if ( $post_type_object ) {
        printf(
            '<a href="%1$s" class="comments-view-item-link">%2$s</a>',
            

    public function form( $instance ) {
        $title = ! empty( $instance['title'] ) ? $instance['title'] : '';
        $count = isset( $instance['count'] ) ? (bool) $instance['count'] : false;
        ?> <p> <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label> <input type="text" class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo esc_attr( $title ); ?>" /> </p> <?php         $taxonomies       = get_taxonomies( array( 'show_tagcloud' => true ), 'object' );
        $current_taxonomy = $this->_get_current_taxonomy( $instance );

        switch ( count( $taxonomies ) ) {

            // No tag cloud supporting taxonomies found, display error message.             case 0:
                ?>
printf( __( 'Remove Menu Item: %1$s (%2$s)' ), '{{ data.title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}' );
                    ?> </span></button> </span> </div> </div> <div class="menu-item-settings" id="menu-item-settings-{{ data.menu_item_id }}"> <# if ( 'custom' === data.item_type ) { #> <p class="field-url description description-thin"> <label for="edit-menu-item-url-{{ data.menu_item_id }}"> <?php _e( 'URL' ); ?><br /> <input class="widefat code edit-menu-item-url" type="text" id="edit-menu-item-url-{{ data.menu_item_id }}" name="menu-item-url" /> </label> </p> <# } #> <p class="description description-thin"> <label for="edit-menu-item-title-{{ data.menu_item_id }}"> <?php _e( 'Navigation Label' ); ?><br /> <input type="text" id="edit-menu-item-title-{{ data.menu_item_id }}" placeholder="{{ data.original_title }}" class="widefat edit-menu-item-title" name="menu-item-title" /> </label> </p> <p class="field-link-target description description-thin"> <label for="edit-menu-item-target-{{ data.menu_item_id }}"> <input type="checkbox" id="edit-menu-item-target-{{ data.menu_item_id }}" class="edit-menu-item-target" value="_blank" name="menu-item-target" />

        ?> <form method="get"> <table style="display: none"><tbody id="inlineedit"> <tr id="inline-edit" class="inline-edit-row" style="display: none"> <td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange"> <div class="inline-edit-wrapper"> <fieldset> <legend class="inline-edit-legend"><?php _e( 'Quick Edit' ); ?></legend> <div class="inline-edit-col"> <label> <span class="title"><?php _ex( 'Name', 'term name' ); ?></span> <span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span> </label> <label> <span class="title"><?php _e( 'Slug' ); ?></span> <span class="input-text-wrap"><input type="text" name="slug" class="ptitle" value="" /></span> </label> </div> </fieldset>
<?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?> <a href="<?php echo esc_url( admin_url( 'theme-install.php' ) ); ?>" class="hide-if-no-js page-title-action"><?php echo esc_html_x( 'Add New', 'theme' ); ?></a> <?php endif; ?> <form class="search-form"></form> <hr class="wp-header-end"> <?php if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) {
    ?> <div id="message1" class="updated notice is-dismissible"><p><?php _e( 'The active theme is broken. Reverting to the default theme.' ); ?></p></div> <?php } elseif ( isset( $_GET['activated'] ) ) {
    if ( isset( $_GET['previewed'] ) ) {
        ?> <div id="message2" class="updated notice is-dismissible"><p><?php _e( 'Settings saved and theme activated.' ); ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php _e( 'Visit site' ); ?></a></p></div> <?php     } else {
        ?> <div id="message2" class="updated notice is-dismissible"><p><?php _e( 'New theme activated.' ); ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php _e( 'Visit site' ); ?></a></p></div> <?php     }
}

    public function form( $instance ) {
        $instance = wp_parse_args( (array) $instance, array( 'title' => '' ) );
        $title    = $instance['title'];
        ?> <p> <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label> <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /> </p> <?php     }

    /** * Handles updating settings for the current Search widget instance. * * @since 2.8.0 * * @param array $new_instance New settings for this instance as input by the user via * WP_Widget::form(). * @param array $old_instance Old settings for this instance. * @return array Updated settings. */
Home | Imprint | This part of the site doesn't use cookies.