google-drive-gallery in a field ??
-
Google Drive Gallery works fine with block in the post content.
For design convenience of a custom post I had like to make it work from a native custom field or ACF custom field.
Just for a test I added the following in content.php
print'<!-- wp:skaut-google-drive-gallery/gallery {"path":["My directory"]} /-->';
Of course it doesn’t display anything!Is there a way to do this?
The dream would be that I could include some code in template file
content-mycustompost.php.
For example something like this:function somefunction('gdrivedirectory'){ some code to display the images located in the directory }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘google-drive-gallery in a field ??’ is closed to new replies.