Site logo

[Support request] How can i display acf value after the body of the content in a blog post

Home Forums Support [Support request] How can i display acf value after the body of the content in a blog post

Home Forums Support How can i display acf value after the body of the content in a blog post

  • This topic has 1 reply, 2 voices, and was last updated 4 years ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1918534
    parantapa sarkar

    I have created a block hook that looks like this https://prnt.sc/1r7ee7p I want to show the table after the body of the content.

    I want to create the table in the single.php.

    <div class="comments-area">								
    		<div class="col-sm-12" id="vee-details">
                    <table class="table table-bordered" width="100%">
                    <tbody>
    					<th colspan="2" class="thead"><span style="font-size: 18pt;color: #ff7a00"><strong>Bio/Wiki</strong></span></th>
                    <tr>
                       <td><b>Real Name</b></td>
                       <td><?php the_field('real_name'); ?></td>
                     </tr>
    					<tr>
                       <td><b>Nick Name</b></td>
                       <td><?php the_field('nick_name'); ?></td>
                     </tr>
    					<tr>
                       <td><b>Profession(s)</b></td>
                       <td><?php the_field('bio_professions'); ?></td>
                     </tr>
    					</tbody>
    					</table>
    		</div>

    I have added this line of code that is working properly with ACF http://prnt.sc/1r7f3mu .
    But in this process, there is a gap between the content and the comment box.
    How can I solve this?

    #1918595
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to a page where i can see the problem?

    One thing else i notice in your HTML is it opens with:

    <div class="comments-area">

    but there is no closing </div>

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.