ACF Gallery Code in single.php

Posted in: Newspaper
Post count: 5

Hello, i want to add acf gallery to posts. i tried to add acf gallery code in single.php file but its not working. gallery not showing any images in posts.

Post count: 5

where can i place acf gallery code to display images in my posts?

Post count: 21065

Hello!

A shortcode can be inserted in our theme only by using the element called “Column text” or “Text with title”. Now, it’s possible to be a plugin conflict there, but you can make a test on a test page.
“Column text” and “text with title” elements have a button called “edit content” and if you click on that button, the WP Editor will open and you can add some text/code/shortcode there. Close the WP Editor from X, save the changes from Composer and view the page to see the changes.

If you mean anything else, then please provide more information about this issue or what you need to achieve, screenshots or a video and your website link, so I can understand better and help you efficiently.

A solution for sending a screenshot/video is this:
Download, capture, send: https://www.techsmith.com/jing-tool.html
After making the screenshot, you will have a link, paste it here.

Thank you!

Post count: 5

I followed instruction on this page.
https://www.advancedcustomfields.com/resources/gallery/

i want to add code written in this documentation in single post template so it can show images in post.

Post count: 5

php code in default single post template. i tried to add in single.php file but it doesnt work.

Post count: 5

i created, added shortcode in column text and saved but its not saving the shortcode i put in wp editor.

Post count: 21065

Hello!

We would like to investigate this issue further.
Please contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– a link to this topic in order to identify you
Our team will take a look and let you know what can be done!

Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.