Hello,
I would like to add a ACF php code on Generatepress Elements.
This is the codeȘ
<?php if ( have_rows( ‘pareri’ ) ) : ?>
<?php while ( have_rows( ‘pareri’ ) ) : the_row(); ?>
<?php the_sub_field( ‘oaspete’ ); ?>
<?php the_sub_field( ‘data_evaluarii’ ); ?>
<?php the_sub_field( ‘titlu’ ); ?>
<?php the_sub_field( ‘apreciere’ ); ?>
<?php endwhile; ?>
<?php else : ?>
<?php // no rows found ?>
<?php endif; ?>
What should I choose from Elements Type? Header or Hook?
Thank you!