Yossi Aharon
Forum Replies Created
-
@dipsaha Some users choose to add a prefix to the permalinks, For example as @zokkoz mentioned,
/blog/%postname%/
. But the problem that the prefix also added to the course permalinks.- This reply was modified 4 months ago by Yossi Aharon.
But something in Tutor LMS make it to keep updating the translation files from the server and override the ‘wp-content/languages/plugins/’ folder. I’m sure that your developers can fix that issue in the next update. Thanks.
I save the translation files (mo, po files) in ‘domain.com/wp-content/languages/plugins/’, it’s not the plugin folder but still the plugin override them sometimes by forcing automatic update of the translation files.
It must be something in the code of Tutor LMS that override the translation files of WordPress. I saw that someone else also reported this problem before.
The custom prefix is not set for Tutor LMS but for the posts on the blog. I think it shouldn’t have any conflict between the two because most bloggers who use WordPress will set the prefix ‘domain.com/blog/post-name’.
Then with Tutor LMS the blog categories become ‘domain.com/blog/course-category/’ instead of ‘domain.com/course-category/’. And also it show an error “No Data Available in this Section” instead of display the courses of the category.
It’s not affect the courses and lessons of Tutor LMS, just the slug of categories, I’m sure it’s something that your developers can solve easily.
Hello @largbasket ,
The problem can be found even on a clean installation without any other plugins installed, just when adding a prefix to the posts permalinks setting.Hello @munayam ,
I have tried the code you provided, it fixed the problem with the menu on mobile but it created another problem with the navigation menu of the course on desktop, the links are not clickable.
Hello @largbasket ,
The code you provided fixed the issue but created another one. When using it, it’s not possible to click on any link on the navigation menu of the course on desktop.Forum: Plugins
In reply to: [Interactive Content – H5P] Content not shown, no access to this page errorIt seems that the plugin not added the needed permission for the administrator user.
I’m not able to access
/wp-admin/admin.php?page=h5p
it shows me the error “Sorry, you are not allowed to access this page”.How I can add manually to the database (without a plugin) the needed user roles? Seems that also in a clean WordPress installation nothing added to wp_capabilities field in database.
Forum: Plugins
In reply to: [Interactive Content – H5P] Content not shown, no access to this page errorWith fresh installation of WordPress seems that all is working fine.
What can cause this problem? There is no any special modifications of the admin area. I tried to login from another username with admin capabilities but the same problem appear.
Forum: Developing with WordPress
In reply to: Double slash in url of custom paginationI noticed those questions on Stack Overflow but unfortunately no one provided any working solution to this problem.
Forum: Developing with WordPress
In reply to: Double slash in url of custom paginationI don’t find any solution since it’s exactly the same code that I use. Any ideas?
Forum: Developing with WordPress
In reply to: Double slash in url of custom paginationI tried to remove
add_args
but it doesn’t change any.And yes, I calculated it like that:
$total_pages = $query->max_num_pages; if ($total_pages > 1){ $current_page = max(1, get_query_var('paged'));
Forum: Plugins
In reply to: [Gutenberg] Gutenberg layout not working on custom themeIndeed, I checked and there is a bug in WordPress core that is not belong to the theme you use. I found that WordPress can’t loud the styles files of RTL version because they are not exist in current version, at least not in the path they should be. It must be fixed in the next version as I guess others will report this problem too. In meantime. you can change the path of styles in core manually to the correct path, as I did.
Forum: Reviews
In reply to: [WPtimize] Great pluginThank you @pgazzola!