Conversation
supportHi! I’m a very inexperienced user creating a site for a professor of mine. We are trying to use the ACF recent posts widget to display custom fields built with ACH after the post title on the front page. Basically a little extra information about the post like what course it came from. I have two setup now, Author and Course. I see that I can use ACF keys in the html section of the ACF recent posts widget, but it doesn’t seem to be displaying correctly when I use get-field or the-field. What would enter in that field to display the Author and Course custom fields? Thanks so much. I’ve been trying different code bits for hours and I can’t seem to get them to display. https://wordpress.org/plugins/acf-recent-posts-widget/
Hello zenemi, As per the documentation notes under the Meta Key Name / ACF Usage section of the main plugin page here on wordpress.org. You’ll have to specify the [acf key_name] to print the corresponding ACF keys. Say you’ve had a field named Author, with acf_author key you’d need to paste [acf acf_author] inside the HTML textarea. Let me know if that helps! Regards, Rafal
Hello zenemi, As per the documentation notes under the Meta Key Name / ACF Usage section of the main plugin page here on wordpress.org. You’ll have to specify the [acf key_name] to print the corresponding ACF keys. Say you’ve had a field named Author, with acf_author key you’d need to paste [acf acf_author] inside the HTML textarea. Let me know if that helps! Regards, Rafal