WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #43826, comment 38


Ignore:
Timestamp:
08/15/2019 12:08:32 PM (3 months ago)
Author:
russhylov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43826, comment 38

    v2 v3  
    77All of we need its IDs of attachment posts.
    88
    9 If we add to custom meta of post ids block (only numbers in []) whis caption "gallery". Then we can get custom metadata of the post and get IDs of attachments post which needed.
     9If we add to custom meta of post ids block (only numbers in []) with caption "gallery", then we can get custom metadata of the post and get IDs of attachments post which needed.
    1010So, in our script we can get ids of attachments type post and show needed images
    1111{{{#!php