John
Forum Replies Created
-
And more code to keep the dummy record from taking up space in the flex grid:
ul.learn-press-courses li:has(.course-item[data-id=”9753″]){
visibility: collapse!important;
}Love the creative title…
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Dashboard: WishlistHi,
So yes Astra theme is causing issues. I was able to get rid of the error by coding around in templates/dashboard/elements/pagination.php, making sure that the variables were trapped before doing the division by zero on line 16 but it seems even though the $data[‘total_items’] is showing the proper number of courses in the Wishlist, it always returns “No Data Available in this Section” even if non-zero.
This is unfortunate b/c the team is not going to agree to replacing the Astra theme, but I can’t make a strong argument for getting the Pro version of Tutor if this isn’t fixed…
Thanks much in advance for your consideration,
JohnForum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Editing course pageThanks for the reply. I hope you will consider adding this as the more customization available, the better we can address our clients’ needs.
Best,
JohnForum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Dashboard: WishlistTutor: 2.7.6
WP: 6.6.2
PHP: 8.2.25Thanks
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Non-video based lessonHello, I re-did the installation on another instance and it works correctly logged out of admin and course marked as private. Thanks – issue solved as the new instance is the production version.
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Non-video based lessonHello,
I was viewing the page as admin. I had to unset the maintenance mode to see it without being logged in, but this didn’t add a “Mark as Completed” button anywhere, nor did it enable the radio button next to the lesson name. I’m not sure about the course being set to public or not. I see under Course Settings there is a course visibility, which doesn’t affect it toggled on or off. As you can see, there is no button in the content area, the bottom cuts off the prev-next buttons but that is all that shows up.

Am I missing a setting? Thanks again,
John
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Non-video based lessonHello Sunjida and thank you for the reply. The problem is that the radio buttons (corresponding to the lessons) are disabled and cant be checked off, and I don’t see any other “Mark as Completed” button in the page content?
Update: I found this code snippet (https://senseilms.com/documentation/enabling-theme-support/):
add_action( ‘after_setup_theme’, ‘declare_sensei_support’ ); function declare_sensei_support() { add_theme_support( ‘sensei’ ); }
which has solved it. Thanks
Hi thanks for the reply. Yes, I abandoned this approach and restructured my CPTs. Now it works, but I’m inside a carousel loop displaying one to many videos in several tabs. The problem I have now is that the videos wont stop automatically if the tab is abandoned or a new video is swiped to. It can get pretty annoying pretty quickly. I found a solution on Stack Exchange using ?html5=1&enablejsapi=1 appended to the URL. Upon inspecting the video box, it shows it to be an embed with these parameters: https://www.youtube-nocookie.com/embed/{videoID}?feature=oembed&rel=0&mute=0&loop=1&controls=1&end=40. IS there a way to tack on this extra param so I can use the JS code that is supposed to trigger a pause on iframe exit?
Many thanks!
John
- This reply was modified 2 years ago by John.
Re: 404 – Looks like it works today from https://leap13.com/premium-addons-pro-for-elementor/ – Support | Contact support menu takes me here: https://leap13.com/premium-addons-pro-for-elementor/
Re: Clips – that explains it. Thanks
Forum: Plugins
In reply to: [Dynamic Visibility for Elementor] Containers not hiddenI’ll throw my hat in as well. No issues with Sections, but containers and inner sections aren’t working as advertised.
I got containers to actually hide using this CSS:
.dce-visibility-element-hidden {
display: none!important;
}But the “Hide other Elements” selectors are being ignored.
Thanks for any insights,
John
Forum: Plugins
In reply to: [WP-PostViews] shortcode options?Now I see that this (shortcode) is for including directly on a post. The widget works fine for selecting categories for posts, but I need to filter pages, and now I see that I can use a plugin to categorize them: https://wordpress.org/plugins/easy-post-types-fields/
So, problem solved.
Hi, I found an article about adding categories that makes use of the “forminator_post_data_field_post_saved”
action.Here is the code I wrote to create tags from a custom field:
add_action( ‘forminator_post_data_field_post_saved’, function( $post_id, $field, $data ) {
if($field[“options”][1][“label”] === ‘custom_tags’) {
$tags_val = $data[“post-custom”][1][“value”];
wp_set_post_terms( $post_id, $terms = $tags_val, $taxonomy = ‘post_tag’, $append = false );
}
}, 99, 3);I am fairly new to WP PHP, and haven’t done any error trapping yet; so it probably isn’t super robust, but gives others a starting point if they are in need of this capability.
BTW-I couldn’t find a list of actions like this in the docs. Can you point me to a resource if it exists?
Thanks for your time and the excellent plugin!
Ah, thank you. I had forgotten that setting. Resolved!