remove blank space where sidebar was

You may add this code to your custom CSS : .page-template-pageWithOutSidebar .entry-header, .page-template-pageWithOutSidebar .entry-content { padding-right: 0; }

WP HTTP API call response

This my solution: $url=”##MYURL##?api_token=##APIKEY##”; $args = array( ‘headers’ => array( ”,’cache-control’ => ‘no-cache’, ‘content-type’ => ‘application/json’ ), ‘body’ => ‘{“pass”:{“serial_number”:”123456″,”Name”:”Michele”,”Date”:”2017/11/11″,”Type”:”Abb.Annuale”,”Issued”:”Genn.2016″,”Al”:”Dic.2018″,”Number”:”0123456789412″}}’, ); $response = wp_remote_post( $url, $args ); $body = wp_remote_retrieve_body( $response ); var_dump($body);

How to include different html tags in the header for different pages?

Just assign something to a variable and output that if(is_page(14) or is_page(16)) { $class_name=”bannerExp”; } if(is_page(18) or is_page(52) or is_page(22) or is_page(20)) { $class_name=”bannerD”; $somevariable=”test”; } if(is_page(27)) {$class_name=”bannerJ”;} if(is_page(25)) {$class_name=”bannerS”;} if(is_page(2)) {$class_name=”bannerH”;} <div class=”<?php echo($class_name);?>”> <?php (if $somevariable != ”) { echo $somevariable;} ?> That being said, this is a horrible way of doing things … Read more

style.min.css code issue

You can tell by the ID on the <link href=”https://wordpress.stackexchange.com/questions/287569/… tag that the stylesheet”s ID is mesmerize-style, so you should be able to dequeue with this function in your child theme. wp_dequeue_style( ‘mesmerize-style’ ); Make sure it’s hooked into wp_enqueue_scripts with a higher priority than the parent theme’s hook (probably 10). That’s the general answer … Read more