• This plugin was what I was looking for.
    Can it work with custom fields?

    For example, how woould it combine with this code?

    <?php
    
    $colunabanner1 = get_post_meta( $post->ID, 'colunabanner1', true );
    foreach( $colunabanner1 as $colunabanner1){
    echo '<div class="next-banner">';
    $attachment_image = wp_get_attachment_image_src($colunabanner1['imagem'], 'banner');
    echo '<div class="image01"><img src="'. $attachment_image[0].'"/></div>';
    echo '<div class="tagline01"><span>' . $colunabanner1['texto'] . '</span></div>';
    echo '</div><!--next-banner-->';
    }
    
    ?>

    https://wordpress.org/plugins/smart-archives-reloaded/

  • The topic ‘Custom fields’ is closed to new replies.