Hi
Maybe someone can help, I try to implement Advanced Customs Types to my wordpress page and I run in so many problems as I am completely new to PHP.
I try to implement this code,which apparently gives me a button with a link on my page. But the page turns blank, does anyone know why?
Thanks <3
echo ‘
’;’;
print_r(get_field(‘button’));
echo ‘
die(); <?php $button = get_field('button'); ?>
<a
role="button" class="download large button sites-button hide-for-small-only"
href="<?php echo $button['url']; ?>"
target="<?php echo $button['target']; ?>">
<?php echo $button['title']; ?>
</a>