<?php the_field( "zagalovok_comand" ); ?>
вот так работает <div class=ImgField>
<img class="image first" src="images/one.png"/>
<img class="image second" src="images/two_hover.png"/>
</div>
</div>
</a>
.image.first,.image.second {
border:2px solid transparent;
margin:0;
padding:0;
margin-left: 11px;
}
.image.first {
opacity:1px;
display:block;
position:absolute;
z-index:100;
transition-duration:0.96s;
-webkit-transition-duration:0.96s;
-moz-transition-duration:0.96s;
-o-transition-duration:0.96s;
-ms-transition-duration:0.96s;
}
.image.first:hover {
opacity:0.00;
}
div.ImgField {
display:inline-block;
background-position:center center;
background-repeat:no-repeat;
margin:0;
padding:0;
}