'cyberchimps',
);
// Set the $request array.
$request = array(
'body' => array(
'action' => 'query_themes',
'request' => serialize( (object)$args )
)
);
$themes = cyberchimps_get_themes( $request );
$active_theme = wp_get_theme()->get( 'Name' );
$counter = 1;
// For currently active theme.
foreach ( $themes->themes as $theme ) {
if( $active_theme == $theme->name ) {?>
themes as $theme ) {
if( $active_theme != $theme->name ) {
// Set the argument array with author name.
$args = array(
'slug' => $theme->slug,
);
// Set the $request array.
$request = array(
'body' => array(
'action' => 'theme_information',
'request' => serialize( (object)$args )
)
);
$theme_details = cyberchimps_get_themes( $request );
?>