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

Add gallery id to rel attribe of wp_get_attachment_link

That filter passes more arguments than you are using. return apply_filters( ‘wp_get_attachment_link”https://wordpress.stackexchange.com/questions/134811/,”<a href=”https://wordpress.stackexchange.com/questions/134811/$url”>$link_text</a>”, $id, $size, $permalink, $icon, $text ); The second of those is the one you need. So you need to alter you callback to use the second parameter, and alter your add_filter to ask for it by setting the fourth argument to 2. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)