Replies: 1 comment
-
Add Comment, it correctly work only if i write in one file functions php. So functions.php before - get bug
And variant without bug, i add inital function code in functions.php - it solve problem but code with includes don't work correctly php7.4 (wordpress: latest)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Submited widgets after refresh page, drops in unactive section.
Auto add_theme_support('widgets') don't works in register_sidebar(array)
my docker-compose build:
So problem, when i add register_sidebar with function, widgets don't show in adminbar
but when i add theme support widgets in functions.php
It shows in admin bar, when i go in widgets page see block editor add widgets into Sidebar Primary submit updates. After submit changes i refresh the widgets page (current page) all my components (widgets) drops in unactive section.
I build my functions.php from few php files, i think it helps.
functions.php
|
includes/widgets.php
In php.ini i change only uploads_max_size from 2M to 50M, max_execution_time from 30 to 500, post_max_size from 2M to 50M
Beta Was this translation helpful? Give feedback.
All reactions