Ejemplo n.º 1
0
"><?php 
                the_post_thumbnail();
                ?>
</a>
				<?php 
            } elseif (get_field('joomla_image_url')) {
                ?>
							<a href="<?php 
                the_permalink();
                if ($_GET["country"]) {
                    echo '?country=' . $_GET["country"];
                }
                ?>
"><img src="<?php 
                echo esc_url(home_url('/wp-content/uploads/'));
                $getTadaFunc->getCountryCode(get_field('joomla_image_url'), $_GET["country"]);
                ?>
" /></a>
				<?php 
            }
            ?>
					</div>

                	<div class="details clearfix">
			<h2><a href="<?php 
            the_permalink();
            if ($_GET["country"]) {
                echo '?country=' . $_GET["country"];
            }
            ?>
"><?php 
Ejemplo n.º 2
0
        <div class="entry-content book-single clearfix">

            	<div class="inner clearfix">
                	<div class="coverimage clearfix">
            	<?php 
    if (has_post_thumbnail()) {
        ?>
							<?php 
        the_post_thumbnail();
        ?>
				<?php 
    } elseif (get_field('joomla_image_url')) {
        ?>
							<img src="<?php 
        echo esc_url(home_url('/wp-content/uploads/'));
        $getTadaFunc->getCountryCode(get_field('joomla_image_url'), $_GET["country"]);
        ?>
" />
				<?php 
    }
    ?>
					</div>

                	<div class="details clearfix">
                        
            <?php 
    $field = get_field_object('series');
    $value = get_field('series');
    $label = $field['choices'][$value];
    if ($value == 'SR0') {
        echo '';