odedharel
Forum Replies Created
-
Hello @haydnhames,
Thanks for your reply, what you say makes sense and I tried to implement but I think i’m a bit lost about the settings you suggested. Could you help me a bit more to understand which settings can cause this?
I updated my website’s homepage to the user profile page.
You wrote:url of your landing page is listed as a page logged out users can view
How can I make sure of that in the settings?
For example, i’m trying to put these in my custom content-learning.php in my child theme:
$user = LP_Global::user(); $course_item = LP_Global::course_item(); $course = LP_Global::course(); $can_view_item = $user->can_view_item( $course_item->get_id(), $course->get_id() ); echo '<pre>';var_dump( $course_item );echo '</pre>';
The function for $course_items returns null but when I switch to the default theme it works, what kind of “dependency” does it need?
Thanks.
Indeed, it had a different code, thank you.
I am a developer, i’m just curious if there is a good solution that you might know before I dive in…
I just found Front End PM with Ultimate Member integration for example.
Thanks
Hello,
So what do you recommend I do? what would be the best solution in your opinion?
Thanks
Oh, it’s in the form builder. SOLVED!
Forum: Themes and Templates
In reply to: [OceanWP] Breadcrumbs home iconSure, thanks!
Forum: Themes and Templates
In reply to: [OceanWP] Breadcrumbs home iconHello @snehalb890 and thank you for your reply.
Before I posted this message I was checking the files to see if I can override a template, however, since this file is in the inc folder it will not override if I place it in the child theme.
I would like to keep this change even when I update my theme, is this really the only way to go besides running a js to change it on page load? if not, then I hope OceanWP developers add this option.Thanks again.
Forum: Plugins
In reply to: [PopBox For Elementor] Popboxes not working on mobileHello @lkfrench11,
I found this popup plugin from Elementor’s trello board, I saw PopBox for Elementor but I missed Popup Maker. :/I also ended up using that one after some research.
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Course Featured VideoUntil this is solved you can install the plugin Advanced Custom Fields, add a custom field Course Video URL and add it to the Course post type edit page.
Then in your code (e.g. functions.php) you can access this field like so:
function course_summary() { global $post; echo '<pre>'; the_field( 'course_video', $post->ID ); echo '</pre>'; } add_action( 'learn-press/single-course-summary', 'course_summary' );
Hope that helps.
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Course Featured VideoBUMP
Forum: Plugins
In reply to: [PopBox For Elementor] Popboxes not working on mobileForum: Plugins
In reply to: [PopBox For Elementor] Popboxes not working on mobileAs you can see on the website, I ditched this plugin.
In my opinion there are two major flaws:
1. The mobile bug.
2. You HAVE to use the plugin’s widget to show a popup.To be honest, I didn’t find the popup plugins good enough, don’t use Ocean Modal Window either because you can’t use JS to open or close a popup :/
I suggest you find a jQuery plugin (external to wordpress) and implement it.
Even WP Post Popup is slow and caused some conflict.
Hope that helps Lisa.
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Remove student from courseHey,
I realize the website is in Hebrew but I think you’ll manage.
https://www.useloom.com/share/b3736ac8faea4fadb2fc366f6d1e690d
Thanks