Support » Theme: MesoColumn » Using ACF Custom Fields in MesoColum

  • First off, this is a wonderful theme, love it to death.

    The only thing left on my checklist before I make my blog redesign live is to get a single ACF custom field to show up on every post.

    I read up on creating a hook into bp_after_post_content (this is my first foray into the wacky world of php) but I couldn’t see it being called anywhere.

    I even tried this directly in single.php but got nowhere (yes, I know I should be using a child form but right now I’m just trying to even get the basics to work!)

    <?php
    
    add_action('bp_after_post_content', 'show_acf', 10);
    
    function show_acf()
    {
    ?>
    <H1>Hello</H1>
    <?php
    }
    ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Richie KS

    (@rkcorp)

    should be working.
    try create a new php file name it meso-custom-functions.php and put it in wp-content/ so correct path would be

    /wp-content/meso-custom-functions.php

    and insert the code above.

    I’ll give it a try later this afternoon and report back then.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using ACF Custom Fields in MesoColum’ is closed to new replies.