Forum Replies Created
-
AuthorPosts
-
Awesome! It works perfectly. Thanks!
Screenshot of the debugger: https://prnt.sc/lUjlBcEDryX1
Screenshot of the visible fields: https://prnt.sc/N50PXHYzv2u3
This reply has been marked as private.I thought that the ACF fields were Ashe-specific. The only problem is to recognize which fields to hide and which not, right? When I comment out the hiding of all the fields (in the dev tools) they do show up and I can add the video or audio embed code. Are you saying that there is absolutely no way to detect the current post format to control the hiding properly?
Thanks for the analysis! Is there a chance that Ashe would be updated to solve the problem differently?
I was debugging the UI portion in the browser’s developer tools and it is apparent that the jQuery selector $(‘[id*=”post-format-selector”],.post-format’) in metabox-ui.js doesn’t work.
This reply has been marked as private.I was browsing through the source code and I came across inc/metaboxes/metabox.php which contains a definition of ACF fields for various post formats including audio and video. There is also a UI js code which displays only the ACF field that corresponds to the current format. I don’t see any of the fields when editing a post. Perhaps something is not working correctly?
This reply has been marked as private.When I follow your steps I do see the YouTube video or SoundCloud widget in the post itself, but it is placed as part of the article below the title, and the widget is missing when displaying the post on the main page.
-
This reply was modified 1 month, 2 weeks ago by
Tomas Potrusil.
I found an example post on your own website, this time with a YouTube video at the top: https://ashe-pro.wp-royal-themes.com/demo/summer-scope-ispire/
How can one do that?
-
This reply was modified 1 month, 2 weeks ago by
-
AuthorPosts