Replies: 4 comments 9 replies
-
I found a workaround. Create a Post (not a page but a post) with a slider and you can publish it as private. The plugin will load all the css/js. |
Beta Was this translation helpful? Give feedback.
-
Hey @chineseouchie, Could you send us the custom theme that you've made so we could reproduce on it? Thank you! |
Beta Was this translation helpful? Give feedback.
-
@HardeepAsrani I have added you to a temporary repo. If you go into the /dist folder you will see a zip and instructions file |
Beta Was this translation helpful? Give feedback.
-
Hey @chineseouchie, In the index.php file, I used the get_posts function to make a loop like:
And it seems to work properly with the slider. Am I missing something you are doing? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I'm loading a page with get_post() combined with apply_filters() into my frontpage of a custom theme, but when I load Otter's slider block all of the images are underneath eachother.
How to reproduce:
Expected behaviour:
A slider like in the gutenberg
Current behaviour:
All of the images are shown underneath eachother
Reference:
Technical info
I tried adding this to my frontpage (index.php):
Found here: https://wordpress.org/support/topic/otter-block-styles-on-other-page/
but enqueue_styles return NULL
Edit:
It seems like it went inside this part of class-block-frontend.php:
Beta Was this translation helpful? Give feedback.
All reactions