• I’m using the ListingPro Theme from ThemeForest. I’ve added a Custom Field using Advanced Custom Fields as a Textarea. I have it showing at the bottom of Listing Categories.

    What I can’t figure out is that it’s only showing when there are no listings on a Listing Category page.

    So it looks like this:

    Listing Category with no Listings but showing custom text

    https://i.imgur.com/Frc8GYr.png

    Listing Category with Listing but no Text

    https://i.imgur.com/PvPmWxE.png

    This is the code I’m using:

    <?php if( $bottom_content = get_field('bottom_content') ) { ?>
        <?php echo $bottom_content ; ?>
    <?php } ?>

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Looks like you might have added this code in the wrong spot in the template file – the part for “no results”, instead of inside “the loop”.

Viewing 1 replies (of 1 total)
  • The topic ‘Advanced Custom Field Textarea not Showing (ListingPro Theme)’ is closed to new replies.