How to link a word comprised of a custom field with another?

According to the documentation, you should display a field like: <p><?php the_field(‘field_name’); ?></p> Change your get_field to the_field: <span class=”c_f”><a href=”https://wordpress.stackexchange.com/questions/131004/<?php the_field(“field2_link’); ?>”><?php the_field(‘field1_details’); ?></a></span>

My posts section for logged in user

You don’t need to put your code in your theme functions. This needs to be a custom page template. Learn about page templates here: http://codex.wordpress.org/Page_Templates Your code is custom loop so you need to also learn about loops and then using WP_Query so next stop will be here: http://codex.wordpress.org/The_Loop Then read this page: http://codex.wordpress.org/Class_Reference/WP_Query After … Read more