• Dear all,
    I’m doing a job and have a doubt that I would like to share with you looking for some help.
    I used the Advanced Custom Fields plugin to create Custom Fields for the WordPress Post. I created 3 fields (autor (text), capa (image) and pdf (archive)) as shown in the image below
    IMAGE 01
    To display the contents of the posts, the following code was added to the PHP file “blog-post-layout.php”

    <?php
    $id_post = get_the_ID();
    $nome_autor = get_field(‘autor’, $id_post);
    $capa_livro = get_field(‘capa’, $id_post);
    ?>

    <?php echo $nome_autor; ?>
    <hr>
    ” >

    The publications appear with the information ( ‘autor’ and ‘capa’) properly, as the following image
    IMAGE 02
    The problem occurs in the use of the Elementor’s Theme Builder
    I add the “Archive” template and then I select the “Archive Posts”. However, the ‘autor’ and ‘capa’ field is not displayed as shown in the image below
    IMAGE 03
    I need to display the value ‘autor’ just below the post title.
    I have tried several solutions and so far cannot resolve this issue. I wonder if anyone has any information to help me.

    Thanks!

    • This topic was modified 6 years, 3 months ago by noa16.
    • This topic was modified 6 years, 3 months ago by t-p.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Problems with Elementor | Archive Posts | Advanced Custom Fields’ is closed to new replies.