admin管理员组文章数量:1290934
I Need Help, I add ACF code in single post download button showing but in link of download button same of link post, I add other website and link in button download always same, what's wrong in my code or is there something missing so that ACF doesn't work
<?php get_header(); ?>
< div class="site-wrapper <?php if(!has_post_thumbnail()) : ?>f-width<?php endif; ?>">
< div class="container site-content">
< div class="wp-block-button is-style-outline"><a class="wp-block-button__link" href="<?php the_field('linkid'); ?>">Download Now</a></div>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php get_template_part('content'); ?>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>
本文标签: How to add Advenced Custom Fields In Single Post
版权声明:本文标题:How to add Advenced Custom Fields In Single Post 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741523566a2383332.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论