Title: WP_Theme_Install_List_Table::theme_installer_single
Published: April 25, 2014
Last modified: May 20, 2026

---

# WP_Theme_Install_List_Table::theme_installer_single( stdClass $theme )

## In this article

 * [Description](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/theme_installer_single/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/theme_installer_single/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/theme_installer_single/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/theme_installer_single/?output_format=md#related)

[ Back to top](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/theme_installer_single/?output_format=md#wp--skip-link--target)

Prints the wrapper for the theme installer with a provided theme’s data.

## 󠀁[Description](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/theme_installer_single/?output_format=md#description)󠁿

Used to make the theme installer work for no-js.

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/theme_installer_single/?output_format=md#parameters)󠁿

 `$theme`stdClassrequired

A WordPress.org Theme API object.

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/theme_installer_single/?output_format=md#source)󠁿

    ```php
    public function theme_installer_single( $theme ) {
    	?>
    	<div id="theme-installer" class="wp-full-overlay single-theme">
    		<div class="wp-full-overlay-sidebar">
    			<?php $this->install_theme_info( $theme ); ?>
    		</div>
    		<div class="wp-full-overlay-main">
    			<iframe src="<?php echo esc_url( $theme->preview_url ); ?>"></iframe>
    		</div>
    	</div>
    	<?php
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-theme-install-list-table.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-admin/includes/class-wp-theme-install-list-table.php#L421)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/class-wp-theme-install-list-table.php#L421-L432)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/theme_installer_single/?output_format=md#related)󠁿

| Uses | Description | 
| [WP_Theme_Install_List_Table::install_theme_info()](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/install_theme_info/)`wp-admin/includes/class-wp-theme-install-list-table.php` |

Prints the info for a theme (to be used in the theme installer modal).

  | 
| [esc_url()](https://developer.wordpress.org/reference/functions/esc_url/)`wp-includes/formatting.php` |

Checks and cleans a URL.

  |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_theme_install_list_table%2Ftheme_installer_single%2F)
before being able to contribute a note or feedback.