# wpcasa/1.5.4/includes/admin/views/panel-theme.php

WPCasa – Real Estate for WordPress, version 1.5.4. 71 lines.

- Page: https://pluginprobe.com/plugins/wpcasa/1.5.4/code/includes/admin/views/panel-theme.php
- Raw: https://pluginprobe.com/plugins/wpcasa/1.5.4/raw/includes/admin/views/panel-theme.php
- Modified: 2026-08-02T14:18:40+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/wpcasa/1.5.4/code/includes/admin/views/panel-theme.php#L10-L20`.

```php
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>

<h3><?php echo esc_html__( 'Site Information', 'wpcasa' ) ?></h3>

<?php
$theme = wp_get_theme();

if ( $theme->exists() ) {

    $parent_theme = wp_get_theme( $theme->get( 'Template' ) );

?>

<div class="wpsight-admin-ui-panel-theme-content wpsight-admin-ui-grid-col wpsight-admin-ui-grid-1-1">

    <div class="wpsight-admin-ui-grid-col wpsight-admin-ui-grid-1-2">

        <?php

		$image		= 'wp-content/themes/' . $theme->stylesheet. '/screenshot.png';
        $image_url	= site_url() . '/' . $image;
        $image_path	= ABSPATH . $image;

        if( ! file_exists( $image_path ) )
            $image_url = plugins_url( 'wpcasa' ) . '/assets/img/placeholder-theme.jpg';

        echo '<img src="' . esc_url( $image_url ) . '" width="80%" />';
        ?>

    </div>

    <div class="wpsight-admin-ui-grid-col wpsight-admin-ui-grid-1-2">

        <h4><?php echo esc_html( $theme->get( 'Name' ) ); ?></h4><?php if( $parent_theme->get( 'Name' ) != $theme->get( 'Name' ) ) {echo '<small>' . esc_html( $parent_theme->get( 'Name' ) ) . '</small>';} ?>
        <p><?php echo esc_html( $theme->get( 'Description' ) ); ?></p>
        <table class="wpsight-admin-ui-table">
            <tr>
                <td><?php echo esc_html__( 'Author', 'wpcasa' ); ?>:</td>
                <td><?php echo esc_html( $theme->get( 'Author' ) ); ?></td>
            </tr>
            <tr>
                <td><?php echo esc_html__( 'Version', 'wpcasa' ); ?>:</td>
                <td><?php echo esc_html( $theme->get( 'Version' ) ); ?></td>
            </tr>
            <tr>
                <td><?php echo esc_html__( 'WPCasa Support', 'wpcasa' ); ?>:</td>
                <td>

                    <?php
                        if ( $theme->get( 'Author' ) == 'WPSight' || current_theme_supports( 'wpcasa' ) ) {
                            echo '<span class="wpsight-admin-ui-indicator wpsight-admin-ui-indicator-success tips" data-tip="' . esc_attr__( 'This theme has defined support for WPCasa.', 'wpcasa' ) . '"></span>';
                        } else {
                            echo '<span class="wpsight-admin-ui-indicator tips" data-tip="' . esc_attr__( 'Unknown', 'wpcasa' ) . '"></span>';
                        }
                    ?>

                </td>
            </tr>
        </table>
        <p>
        <a href="<?php echo esc_html( $theme->get( 'ThemeURI' ) ); ?>" target="_blank" class="button button-primary button-text-icon"><span class="dashicons dashicons-admin-links"></span> <?php echo esc_html__( 'View Info', 'wpcasa' ) ?></a>
        <a href="<?php echo esc_url( admin_url( 'customize.php' ) ); ?>" class="button button-primary button-text-icon"><span class="dashicons dashicons-admin-appearance"></span> <?php echo esc_html__( 'Customize', 'wpcasa' ) ?></a>
        </p>


    </div>

</div>

<?php } ?>

```
