makissm21
Forum Replies Created
-
For example something like this
function grant_role_access_to_all_courses() { $desired_role = 'read_all_courses'; add_role($desired_role, __('Read All Courses'), array( 'read' => true, )); $args = array( 'post_type' => 'stm-courses', 'posts_per_page' => -1, ); $courses = get_posts($args); foreach ($courses as $course) { $course_id = $course->ID; $role = get_role($desired_role); $role->add_cap('read'); $role->add_cap('read', get_post($course_id)); } } add_action('init', 'grant_role_access_to_all_courses');In the documentation you have indicated that you need to do this separated by commas, so why else do I find information that you need to do this through | forward slash.
Why do you need this documentation of yours at all ???also found that the width on mobile and tablet does not change
http://joxi.ru/D2P6oqJSqPKKGr
http://joxi.ru/xAe8WkbSRGjjW2
changes in the admin panel, but not on the siteThe problem will not be solved, so I will no longer write here!
If there are such jambs, then I will not buy it at all. If you offer a free version then it should work well and bugs should be fixed to make the user interested in buying the pro version.
what?)))) you are really a bad developer, since you cannot modify your product !!! Then remove the default center alignment! and remove the table width it is useless !!!
- This reply was modified 4 years, 11 months ago by makissm21.
I also need the table to be on the left and not in the middle of the page
http://joxi.ru/Vm6k1MLT4lM8o2
http://joxi.ru/L213O8QtR9Kj0r
it did not help the lower block runs into the table
All latest versions, admin plugin and theme
Disabled all plugins, it didn’t help
Theme Twenty Twenty-Onehttp://joxi.ru/L213O8QtR9Kx0r
I was wrong the problem is visible only on 768 and 1024 on tablets
I am making a website on the local computer
All latest versions, admin plugin and theme
Disabled all plugins, it didn’t help
Theme Twenty Twenty-Oneand how to be? other blocks do not have such a problem, but yours does.
In block settings Inner Column Height 100% http://joxi.ru/82QWlg0IwooDKr
Thanks it’s works!
Found another bug, https://prnt.sc/vdd4w5 first image does not open in lightbox if Carousel Center Mode is on
I found a bug, the slider does not work, if you select the number of columns here https://prnt.sc/vbsdk6 then everything works, and if you select one column and set the number of columns with the slider here https://prnt.sc/vbsfy7 then it will always be show like this https://prnt.sc/vbsh2w
Version 1.8 works fine, I checked it.
https://prnt.sc/vb3zei the left block should be 64% but both blocks are 50%
Disabled plugins but it didn’t help.Updated WP to 5.5.2 and it didn’t help.