Title: Computing4All's Replies | WordPress.org

---

# Computing4All

  [  ](https://wordpress.org/support/users/computingforall/)

 *   [Profile](https://wordpress.org/support/users/computingforall/)
 *   [Topics Started](https://wordpress.org/support/users/computingforall/topics/)
 *   [Replies Created](https://wordpress.org/support/users/computingforall/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/computingforall/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/computingforall/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/computingforall/engagements/)
 *   [Favorites](https://wordpress.org/support/users/computingforall/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/users/computingforall/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/computingforall/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tutor LMS - eLearning and online course solution] TutorLMS Notes Taking](https://wordpress.org/support/topic/tutorlms-notes-taking/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/tutorlms-notes-taking/#post-18712482)
 * Hi Nafiz,
 * Thank you for your prompt response. I hold a Tutor LMS Pro Lifetime license obtained
   through one of the developers who purchased your bundle subscriptions. While 
   I understand business arrangements can vary, it’s concerning that support is 
   not extended to customers who received licenses through your authorized developer
   sales. Many developers operate only for several years, not for the **lifetime
   of your business**. I had expected Tutor LMS Pro Lifetime license service from
   your side.
 * Nevertheless, I appreciate your quick reply.
 * Best regards.
    -  This reply was modified 6 months, 2 weeks ago by [Computing4All](https://wordpress.org/support/users/computingforall/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LearnPress - WordPress LMS Plugin for Create and Sell Online Courses] Learnpress Version 4.2.2 is breaking the lesson links](https://wordpress.org/support/topic/learnpress-version-4-2-2-is-breaking-the-lesson-links/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/learnpress-version-4-2-2-is-breaking-the-lesson-links/#post-16527791)
 * Hi,
 * I have updated to LP 4.2.2.1 and it is working well. The problem is solved.
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Anti Spam for Contact Forms, Comments & Online Stores - CleanTalk] Error on Plugin Page](https://wordpress.org/support/topic/error-on-plugin-page-3/)
 *  [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [4 years ago](https://wordpress.org/support/topic/error-on-plugin-page-3/#post-15672022)
 * The error is not there anymore. It went away automatically. I guess, it worked
   probably when anti-spam tried to update the databased again.
 * Thanks for the replies.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Anti Spam for Contact Forms, Comments & Online Stores - CleanTalk] Error on Plugin Page](https://wordpress.org/support/topic/error-on-plugin-page-3/)
 *  [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [4 years ago](https://wordpress.org/support/topic/error-on-plugin-page-3/#post-15666896)
 * I have the same error, but why is this error appearing in the first place? It
   seems like anti-spam is trying to access a non-existent external link during 
   an update. Looks spammy. 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Image and video gallery from Google Drive] Changing Advanced Option settings](https://wordpress.org/support/topic/changing-advanced-option-settings/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/changing-advanced-option-settings/#post-15208335)
 * Wow wow and wow 🤩 Thank you so much for suggesting the ctype installation! I
   spoke with the hosting company and they installed ctype for the account. Then
   the advanced settings of the plugin Image and video gallery from Google Drive
   started to work.
 * Again, you have built an excellent plugin!
 * Many many many thanks! ⭐️⭐️⭐️⭐️⭐️
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Image and video gallery from Google Drive] Changing Advanced Option settings](https://wordpress.org/support/topic/changing-advanced-option-settings/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/changing-advanced-option-settings/#post-15205352)
 * I forgot to paste the fields with sgdg prefix in the previous message. Here are
   the fileds sgdg_client_id, sgdg_client_secret, sgdg_access_token, and sgdg_root_path
   in the options table with sgdg prefix.
 * Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Image and video gallery from Google Drive] Changing Advanced Option settings](https://wordpress.org/support/topic/changing-advanced-option-settings/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/changing-advanced-option-settings/#post-15202545)
 * Hello,
    Thank you so much for the help. I enabled the debug mode.
 * The debug errors are mostly the followings. I am not sure what they are.
 * —————————
    PHP Notice: Trying to get property ‘time’ of non-object in wp-content/
   plugins/skaut-google-drive-gallery/frontend/class-api-fields.php on line 109
 * PHP Notice: Undefined index: timestamp in wp-content/plugins/skaut-google-drive-
   gallery/frontend/page.php on line 372
 *     ```
       PHP Fatal error:  Uncaught Error: Call to undefined function Sgdg\Frontend\ctype_digit() in wp-content/plugins/skaut-google-drive-gallery/frontend/class-bounded-integer-option.php:52
       Stack trace:
       #0 wp-includes/class-wp-hook.php(305): Sgdg\Frontend\Bounded_Integer_Option->sanitize('250')
       #1 wp-includes/plugin.php(189): WP_Hook->apply_filters('250', Array)
       #2 wp-includes/formatting.php(4907): apply_filters('sanitize_option...', '250', 'sgdg_grid_heigh...', '250')
       #3 wp-includes/option.php(415): sanitize_option('sgdg_grid_heigh...', '250')
       #4 wp-admin/ in wp-content/plugins/skaut-google-drive-gallery/frontend/class-bounded-integer-option.php on line 52
       ```
   
 * —————————
 * In the options table I found the following fields with sgdg_ as prefix. I am 
   not sure which one is related to the settings. Or, should there be more fields
   with the sgdg prefix?
 * Thank you very much for the help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LearnPress - WordPress LMS Plugin for Create and Sell Online Courses] Comments are not within lessons](https://wordpress.org/support/topic/comments-are-not-within-lessons/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [5 years ago](https://wordpress.org/support/topic/comments-are-not-within-lessons/#post-14432844)
 * Hi,
    Thank you very much for making the comments in the lessons visible with 
   the lesson content.
 * I just found that the main course page is not showing the comments at the bottom
   anymore even though WordPress’s “Allow comments” checkbox is selected. I had 
   a number of comments on the following course page. The comments are not showing
   anymore.
    [https://computing4all.com/courses/introductory-data-science/](https://computing4all.com/courses/introductory-data-science/)
 * I am not sure if this is a LearnPress issue or a theme issue. Should I contact
   the Eduma service?
 * Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LearnPress - WordPress LMS Plugin for Create and Sell Online Courses] Comments are not within lessons](https://wordpress.org/support/topic/comments-are-not-within-lessons/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [5 years ago](https://wordpress.org/support/topic/comments-are-not-within-lessons/#post-14418037)
 * Thanks a lot!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Embed Code - Headers & Footers by DesignBombs] Can I make it work on unconventional post type?](https://wordpress.org/support/topic/can-i-make-it-work-on-unconventional-post-type/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/can-i-make-it-work-on-unconventional-post-type/page/2/#post-14266734)
 * [@wpkube](https://wordpress.org/support/users/wpkube/)
    Wow! After incorporating
   the codes you provided, both the header and footer codes are embedded in lessons.
 * Embed code will be handy in embedding structured data to enhance SEO of my site.
 * I contacted LearnPress, which you noticed. I also sought help from my theme developers(
   a paid theme for LearnPress), which resulted in no useful response.
 * I did not receive any such support that I received from you. The code segment
   you provided, which helps embed-code work properly with learnpress, also gives
   me an idea about how to retrieve the lesson id when required.
 * I cannot thank you enough for all the research you did, the codes you wrote, 
   and the time you spent helping a user of your free but tremendously helpful plugin.
 * Many many many thanks! I wish you all the best.`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LearnPress - WordPress LMS Plugin for Create and Sell Online Courses] Get lesson id in the single lesson template](https://wordpress.org/support/topic/get-lesson-id-in-the-single-lesson-template/)
 *  [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/get-lesson-id-in-the-single-lesson-template/#post-14262154)
 * I am facing the same problem. I am trying to get the post ID of the current lesson.
   get_the_ID() from a lesson is returning the ID of the course. Some plug-ins rely
   on the ID of the loaded post. Those plugins are not working for lessons.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Embed Code - Headers & Footers by DesignBombs] Can I make it work on unconventional post type?](https://wordpress.org/support/topic/can-i-make-it-work-on-unconventional-post-type/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/can-i-make-it-work-on-unconventional-post-type/#post-14262047)
 * Hi [@wpkube](https://wordpress.org/support/users/wpkube/)
    Your guess is correct.
   That is, get_the_ID() is returning an incorrect ID.
 * Here is what is happening — the lesson posts are returning the course page’s 
   ID under which the lessons are created.
 * If I embed anything on the course page, then all lesson posts under that course
   contain the course page’s embedded code.
 * If I try to embed any code to a lesson, it is not going anywhere (not even to
   the course page.)
 * In the editor URLs (such as, wp-admin/post.php?post=5216&action=edit ) , the 
   lessons have their own post IDs, which are different from the course post ID.
 * When the lesson is loaded in the browser, the post ID printed on the html source(
   due to the echo command) shows the course page’s ID.
 * If you kindly decide to proceed with further tests, is it alright to send you
   the function that fixes the urls for the sitemap, written on my functions.php
   file? I think the function has some hints on the ID-related issue we currently
   have. My email address is computeadmin (the at the rate of symbol) computing4all(
   the dot) com. I am not asking for your email address for privacy reasons. If 
   you kindly send me an email, I will reply with the sitemap-related function. 
   I am just taking caution because I do not know how serious the code is.
 * It seems the issue was never with embed code plug-in. I completely understand
   if you would like to close the thread because the problem has been detected.
 * I highly appreciate all the communications and systematic tests you came up with.
 * Thank you.`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Embed Code - Headers & Footers by DesignBombs] Can I make it work on unconventional post type?](https://wordpress.org/support/topic/can-i-make-it-work-on-unconventional-post-type/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/can-i-make-it-work-on-unconventional-post-type/#post-14256695)
 * Hi [@wpkube](https://wordpress.org/support/users/wpkube/)
    By the way, a sample
   lesson-post where I am trying to add head code is: [https://computing4all.com/courses/introductory-data-science/lessons/what-is-a-vector/](https://computing4all.com/courses/introductory-data-science/lessons/what-is-a-vector/)
 * Could it be the case that the backend tries to add the code to another url, such
   as [https://computing4all.com/lessons/what-is-a-vector/](https://computing4all.com/lessons/what-is-a-vector/)
   (
   where the part “courses/introductory-data-science” is missing)
 * Previously, the Eduma theme support added a function to correct the URLS of the
   sitemap generated by Yoast. The function was added to the functions.php file 
   of the Child theme of Eduma. Before the addition of the function, Yoast wast 
   generating sitemaps containing urls without the “courses/introductory-data-science”
   part.
 * That is why I am saying, may be embed-code is adding to [https://computing4all.com/lessons/what-is-a-vector/](https://computing4all.com/lessons/what-is-a-vector/),
   instead of [https://computing4all.com/courses/introductory-data-science/lessons/what-is-a-vector/](https://computing4all.com/courses/introductory-data-science/lessons/what-is-a-vector/)
 * Is it possible to check, from the embed-code, in which url it is trying to add
   the head code?
 * Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Embed Code - Headers & Footers by DesignBombs] Can I make it work on unconventional post type?](https://wordpress.org/support/topic/can-i-make-it-work-on-unconventional-post-type/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/can-i-make-it-work-on-unconventional-post-type/#post-14256644)
 * Hi [@wpkube](https://wordpress.org/support/users/wpkube/)
    I have done the test.
   There was no impact. Lesson posts still do not have the head code. Other posts
   contain the intended head code when added. That is, there is no impact with the
   change.
 * I have put back the original code in the function output_head_code function.
 * Please let me know what to do next.
 * Thanks once again for agreeing to run the tests.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Embed Code - Headers & Footers by DesignBombs] Can I make it work on unconventional post type?](https://wordpress.org/support/topic/can-i-make-it-work-on-unconventional-post-type/)
 *  Thread Starter [Computing4All](https://wordpress.org/support/users/computingforall/)
 * (@computingforall)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/can-i-make-it-work-on-unconventional-post-type/#post-14249385)
 * Hi [@wpkube](https://wordpress.org/support/users/wpkube/)
    I did not think about
   another plugin being in conflict. That is a good point.
 * I do not have much experience with PHP, but I have worked with basic PHP codes
   from time to time. I am up for the test. Please let me know how to proceed.
 * Thank you.

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/users/computingforall/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/computingforall/replies/page/2/?output_format=md)