Well, I'll try to explain as best I can, I know this can be simple but at the same time I do not know how I can do this ...
Let's say that in my Header I have a 'bar' that I would like to appear on all the pages that I pull the LESS header in the index for a Slide that I put ...
(incasethisbluebarIwantedittoappearonallpagesexcepttheindex)
Solutionifitisadivitself.
<?phpvar_export($_SERVER['REQUEST_URI']);$array=explode("/", $_SERVER['REQUEST_URI']);
$url = str_replace("/", "", $_SERVER['REQUEST_URI']);
$pagina = end($array);
if ($url != 'apcefsp') {
?>
<div><img src="http://localhost/apcefsp/wp-content/uploads/2017/10/ficha-1.png"alt="" width="100%" height="5"/></div>
<?php
}
?>
Is there any way to pull the different header? or any CSS that makes such a div does not appear except in the index?