Hi there,
I’m managing a wordpress environment using Newspack, though that part is probably not revelant.
What I’d like to do is be able to reference a bob of html that is user-editable within wordpress, in a template file. Reason is, I want to use some PHP logic around when it shows up rather than any wordpress UI magic.
But I want the content to be editable by users. I’ve been away from wordpress for a while so i’m not sure which of the entities woud work for this.
i.e. user sees three kinds of html blobs, blob1,blob2 and blob3
in the template file, at some point i will do a get\_editable\_blob(“blob3”) within a php if statement of some sort
[ad_2]
You could use the ACF Options page.
ACF is what you’re looking for. Are you wanting to make the “blob” affect the site globally, or just per page? Where on the page do you want to show the output?