Title: Robbert89's Replies | WordPress.org

---

# Robbert89

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LearnPress - WordPress LMS Plugin for Create and Sell Online Courses] @tungnx IMPORTANT!](https://wordpress.org/support/topic/tungnx-important/)
 *  Thread Starter [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/tungnx-important/#post-15156180)
 * LearnPress version 4.1.4
    LearnPress assignments 4.0.0
 * Also in assignments, when a user submitted an assignment. When you use {{user_name}}
   in the WYSIWYG editor under LearnPress -> Settings -> Emails -> Submitted assignment,
   the username of the instructor is printed, not the username from user who submitted
   assignments. Same email to admin is correct and does show the username.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LearnPress - WordPress LMS Plugin for Create and Sell Online Courses] Template file override issue](https://wordpress.org/support/topic/template-file-override-issue/)
 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/template-file-override-issue/#post-14657999)
 * Setting the above works, using my own theme:
 *     ```
       add_filter( 'learn-press/override-templates', function(){ 
         return true; 
       } );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LearnPress - WordPress LMS Plugin for Create and Sell Online Courses] Login / registration form does not load](https://wordpress.org/support/topic/login-registration-form-does-not-load/)
 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/login-registration-form-does-not-load/#post-14469448)
 * *following
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Food Store - Online Food Delivery & Pickup] Setting delivery cost](https://wordpress.org/support/topic/setting-delivery-cost/)
 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/setting-delivery-cost/#post-13935754)
 * As a temp solution you could add this to your functions.php. It uses the wc cart
   filter and returns the shipping costs only when service type is set to ‘delivery’.
   It remove’s the costs when ‘pickup’ is chosen. Will look into the popup cart 
   later.
 *     ```
       function wfs_shipping_service_type( $delivery_costs ) {
           $service_type = isset( $_COOKIE['service_type'] ) ? $_COOKIE['service_type'] : $this->default_type;
           if ( $service_type != 'delivery' ) {
             return false;
           } else {
             return $delivery_costs;
           }
       }
       add_filter( 'woocommerce_cart_ready_to_calc_shipping', 'wfs_shipping_service_type', 99 );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Food Store - Online Food Delivery & Pickup] Urgent Help Needed For Shipping Issue](https://wordpress.org/support/topic/urgent-help-needed-for-shipping-issue/)
 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/urgent-help-needed-for-shipping-issue/#post-13935745)
 * You could use a workaround… add shipping costs based on delivery type. Add below
   code to your functions.php and check the checkout page when switching delivery
   type. If i got some more time a will also check for the popup cart. See it as
   temp solution until the extension is available.
 *     ```
       function wfs_shipping_service_type( $delivery_costs ) {
           $service_type = isset( $_COOKIE['service_type'] ) ? $_COOKIE['service_type'] : $this->default_type;
           if ( $service_type != 'delivery' ) {
             return false;
           } else {
             return $delivery_costs;
           }
       }
       add_filter( 'woocommerce_cart_ready_to_calc_shipping', 'wfs_shipping_service_type', 99 );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Food Store - Online Food Delivery & Pickup] Setting delivery cost](https://wordpress.org/support/topic/setting-delivery-cost/)
 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/setting-delivery-cost/#post-13917150)
 * Any news on this ? Since there a two endpoints available (?type=pickup, ?type
   =delivery) I see some ways to do this as a workaround.. embedding into the template(
   so delivery costs not only show on checkout) costs some more time but is doable.
 * If it’s a matter of days before this “feature” is available, i’ll just wait..
   if it’s a matter of weeks/months i consider a simple workaround.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Food Store - Online Food Delivery & Pickup] Great start!](https://wordpress.org/support/topic/great-start-48/)
 *  Thread Starter [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/great-start-48/#post-13889669)
 * Nice update!
 * Can’t wait to see the docs 🙂 Keep up the good work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Food Store - Online Food Delivery & Pickup] Search form bug?](https://wordpress.org/support/topic/search-form-bug/)
 *  Thread Starter [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/search-form-bug/#post-13841832)
 * [@jaywhy](https://wordpress.org/support/users/jaywhy/) thanks, i’ll leave it 
   for now as this is just a dev version. Got some ideas on how to approach this,
   will let you know if i’ll get to it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Food Store - Online Food Delivery & Pickup] Search form bug?](https://wordpress.org/support/topic/search-form-bug/)
 *  Thread Starter [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/search-form-bug/#post-13819802)
 * Hi there,
 * You’re welcome, thanks for getting back at this! Can be closed now 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Learndash with Polylang](https://wordpress.org/support/topic/learndash-with-polylang/)
 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/learndash-with-polylang/#post-13768037)
 * Same issue here. Seems like Polylang is able to save permalink structure up to:
   courses/lessons…
 * Those (when nested is activated) work.
 * Then… courses/lessons/topic/ becomes /topic. This is a bug in Polylang!
    If you
   need more clarification, let me know. This has to fixed in a future release because
   the whole course structure breaks…
 * workaround is to change permalink structure like pointed out above. But this 
   is far from the ideal situation.
 * Kindly Robbert
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Woocommerce + Woocommerce Subscriptions error in 4.7.0 update](https://wordpress.org/support/topic/woocommerce-woocommerce-subscriptions-error-in-4-7-0-update/)
 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/woocommerce-woocommerce-subscriptions-error-in-4-7-0-update/#post-13678880)
 * Same problem. [@quangthien27](https://wordpress.org/support/users/quangthien27/)
   works, thank you!
 * [@mperezssmd](https://wordpress.org/support/users/mperezssmd/) just a small fix
   until it’s overwritten by WooCommerce on the next update 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Job Postings] Google for Jobs](https://wordpress.org/support/topic/google-for-jobs-2/)
 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/google-for-jobs-2/#post-12074056)
 * Hi there,
 * First you need JSON-LD formatted data so Google can read the job postings. Make
   sure the data is outputted by the plugin (see script in head via inspect element)
   or use Schema Pro (WPSchema)… Or any other way to output the script on your job-
   posting.
 * The next thing you need, is a sitemap, so Google can crawl through the jobs. 
   Even better, you can use the Indexing API for ‘instant’ crawling. See Google 
   indexing API for more details. Make sure you follow the guidelines: [https://developers.google.com/search/docs/data-types/job-posting](https://developers.google.com/search/docs/data-types/job-posting)
 * And you should be good to go
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Job Postings] Settings>Settings configuration is being ignored](https://wordpress.org/support/topic/settingssettings-configuration-is-being-ignored/)
 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/settingssettings-configuration-is-being-ignored/#post-11780556)
 * Are you using a specific theme?
    In that case, create a map “jobs” inside your
   active theme’s folder. `wp-content/themes/YourThemeFolder/jobs` In the folder
   jobs, copy the single-jobs.php file from the plugin.
 * Let me know if this helped 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Job Postings] Changing single-job template](https://wordpress.org/support/topic/changing-single-job-template/)
 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/changing-single-job-template/#post-11776205)
 * Ahh, in _class-job-single.php_ there is this comment (line 856):
 *     ```
       // This must be at the end, 
       as we combine it with 2 functions above
       echo JobSingleView::printSchema();
       ```
   
 * So if i combine those three functions in my templates _single-jobs.php_ like 
   this:
 *     ```
       JobSingleView::get_job_fields( 'sort-left', $post->ID );
       JobSingleView::get_job_fields( 'sort-right', $post->ID );
       echo JobSingleView::printSchema();
       ```
   
 * I can print the schema and all json is printed in the script tag.
    -  This reply was modified 6 years, 11 months ago by [Robbert89](https://wordpress.org/support/users/robbert89/).
    -  This reply was modified 6 years, 11 months ago by [Robbert89](https://wordpress.org/support/users/robbert89/).
    -  This reply was modified 6 years, 11 months ago by [Robbert89](https://wordpress.org/support/users/robbert89/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Job Postings] Changing single-job template](https://wordpress.org/support/topic/changing-single-job-template/)
 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/changing-single-job-template/#post-11773900)
 * Ahh thats great, but i think i miss something.
    When i use `<?php echo JobSingleView::
   printSchema(); ?>` The script tag outputs just: `{"@context":"http:\/\/schema.
   org","@type":"JobPosting"}`

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

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