Soporte » Plugins y Hacks » No aparece imagen Advance Custome Field

  • !Hola! Estoy aprendiendo WP por mi cuenta y me ha costado muuuucho, eh creado mis campos con ACF (solo necesito 3 en 2 páginas) los estoy llamando desde mi Template de Home de esta manera (se que no debe ser asi…)

    <div class="container post">
    <?php get_template_part( 'loop_news' ); ?>
    
    <!-- Display PO -->
    	<section class="five columns">
    		<h3><?php the_field("titulo", 1399); ?></h3>
    		<img src="<?php the_field('field_name', 1399); ?>" alt="#" />
    		<p><?php the_field("texto_home", 1399); ?></p>
    	</section>
    
    <!-- Display ME -->
    	<section class="five columns">
    		<h3><?php the_field("titulo", 1345); ?></h3>
                    <img src="<?php the_field('field_name', 1345); ?>" alt="#" />
    		<p><?php the_field("texto_home", 1345); ?></p>
    	</section>
    </div>

    MI DUDA es… no estan apareciendo las imagenes, ni con el numero de POST ni si el, me aparece un error, aparece la «imagen rota» y en mi codigo el SRC aparece asi
    «1533, , reichert, , , http://localhost:8888/sitio/wp-content/uploads/2013/07/reichert.png, 160, 76, Array»

    ¿Como puedo llamar a la imagen?

  • El debate ‘No aparece imagen Advance Custome Field’ está cerrado a nuevas respuestas.