Site logo

Archived topic

Edit attachment page

5 replies · Started by Oleg on September 23, 2015

Viewing posts 1–6 of 6

Hi! How do I edit attachment page for GP? I necessary there appear custom fields of the plugin Advanced Custom Fields. I did not find where the insert code.

Hi Oleg,

You'll need to ask the ACF devs how to add the fields to the attachment post type - it's a core WordPress thing that GP doesn't have any control over.

They should be able to let you know if it's possible or not :)

That documentation page
it says to insert code in the page template:
<p><?php the_field('field_name', 12); ?></p>

This depend on what page you want to display this custom field. Where exactly you want to display this field?

On the attachment page. I thought, there is no difference to other pages.

This archived topic is closed to new replies.