Site logo

[Resolved] Edit attachment page

Home Forums Support [Resolved] Edit attachment page

Home Forums Support Edit attachment page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #138981
    Oleg

    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.

    #139058
    Tom
    Lead Developer
    Lead Developer

    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 🙂

    #139081
    Oleg

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

    #139109
    Jean Paiva
    Developer

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

    #139113
    Oleg

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

    #139116
    Jean Paiva
    Developer
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.