armaclans
Member
I have a some curious questions here,
Is it possible to have HTML activated when a custom field is active?
For example:
If there is a custom field, and the user puts something in that field and submits changes,
when that field goes to show on the website on details page, could I have a <div> wrapping it? but when the user decides to put nothing in that custom field both the <div> and the field disappear (not visible on details page)
Also is there a way I can make a plugin that shows certain content on certain pages, for example show "paragraph" in sidebar on details page but hide "paragraph" on homepage, etc..
Thank you for your time!
Is it possible to have HTML activated when a custom field is active?
For example:
If there is a custom field, and the user puts something in that field and submits changes,
when that field goes to show on the website on details page, could I have a <div> wrapping it? but when the user decides to put nothing in that custom field both the <div> and the field disappear (not visible on details page)
Also is there a way I can make a plugin that shows certain content on certain pages, for example show "paragraph" in sidebar on details page but hide "paragraph" on homepage, etc..
Thank you for your time!