Contact us and talk with our support team, we will glad to help you.', 'basic-shop'), esc_url( 'http://www.iograficathemes.com/premium-support/' )); ?>
Name); ?>
Name); ?>
Name); ?>
Name); ?>
'iografica',
);
// Make request and extract plug-in object
$response = wp_remote_post(
'http://api.wordpress.org/themes/info/1.0/',
array(
'body' => array(
'action' => 'query_themes',
'request' => serialize((object)$args)
)
)
);
if ( !is_wp_error($response) ) {
$returned_object = unserialize(wp_remote_retrieve_body($response));
$theme = $returned_object->themes;
if ( !is_object($theme) && !is_array($theme) ) {
// Response body does not contain an object/array
echo esc_html__('An error has occurred', 'basic-shop');
}
else {
// Display a list of the plug-ins and the number of downloads
if ( $theme ) {
foreach ( $theme as $theme ) { ?>
'iografica',
'fields' => array(
'description' => true,
'downloadlink' => true
)
);
// Make request and extract plug-in object. Action is query_plugins
$response = wp_remote_post(
'http://api.wordpress.org/plugins/info/1.0/',
array(
'body' => array(
'action' => 'query_plugins',
'request' => serialize((object)$args)
)
)
);
if ( !is_wp_error($response) ) {
$returned_object = unserialize(wp_remote_retrieve_body($response));
$plugins = $returned_object->plugins;
if ( !is_array($plugins) ) {
// Response body does not contain an object/array
echo esc_html__('An error has occurred', 'basic-shop');
}
else {
// Display a list of the plug-ins and the number of downloads
if ( $plugins ) {
foreach ( $plugins as $plugin ) { ?>