Inao
Forum Replies Created
-
Thanks Georgian, not yet, Ok I will follow in your website!
I’m sorry it is only retrieving me the number :(.
here the complete peace of code:`<?php
$args = array(
‘post_type’ => ‘correspondencia’,
‘meta_key’ => ‘codigo’,
‘meta_value’ => $resulthwe_meta[0]->meta_value,
‘order’ => ‘ASC’
);
$custom_query = new WP_Query( $args);if ( $custom_query->have_posts() ) : while ( $custom_query->have_posts() ) : $custom_query->the_post();
?>
<?php $i = 0;?>
<?php if($i == 0){ echo “<div>”; }?>
<div class=”fullrowdiv”>
<div class=”rc_excol”><?php the_cfc_field(‘cartas’, ‘fecha’); ?></div>
<?php $i++;?>
<div class=”rc_excol2″><a href=”<?php the_cfc_field(‘cartas’, ‘archivo’);?>” target=”_blank”><?php the_title(); ?></a></div>
<?php $i++;?>
<div class=”rc_excol3″><?php the_cfc_field(‘cartas’, ‘remitente’); ?></div>
<?php $i++;?>
<div class=”rc_excol4″><?php foreach(get_cfc_meta(‘adjuntos’) as $key => $value ){
?><?php echo wp_get_attachment_url(the_cfc_field(‘adjuntos’, ‘attached’)); ?><?php
}
?>
</div>
</div>
<?php $i++;?>
<?php if($i == 4){ echo “</div>”; $i=0;}?>
<?php endwhile; ?>
<?php if($i < 4) echo ‘</div>’; ?>
<?php endif; wp_reset_query(); ?></div>`
This is an example page: https://forecos.cl/plataforma-servidumbre-de-conservacion-reserva-costera-valdiviana/show-all-project/formulario-de-antecedentes/historial-de-solicitudes/?entry=329
I’m so sorry my php knowledge is poor. I tried the following but it did not work.
<?php foreach(get_cfc_meta(‘adjuntos’) as $key => $value ){
?><?php wp_get_attachment_url(the_cfc_field(‘adjuntos’, ‘attached’)) ?><?php
}
?>Thanks!
Forum: Plugins
In reply to: [Flexi Quote Rotator] [Plugin: Flexi Quote Rotator] Add field to Flexi QuoteUnfortunely i couldn’t figure out how do it, and I just make a dummy solution. In the author field, after name, I put a </br> tag, then I write the location between a different style tag(<h3> for example).
good luckForum: Plugins
In reply to: [Advanced Code Editor] [Plugin: Advanced Code Editor] Invalid callback?yes 2.1.3 without the problem
great plugin, thanks @bainternetForum: Plugins
In reply to: [Advanced Code Editor] [Plugin: Advanced Code Editor] Invalid callback?thanks ??
Forum: Plugins
In reply to: [Advanced Code Editor] [Plugin: Advanced Code Editor] Invalid callback?same problem here
??
where you found plugin older version ?