Robbert89
Forum Replies Created
-
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] @tungnx IMPORTANT!LearnPress version 4.1.4
LearnPress assignments 4.0.0Also 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
In reply to: [LearnPress - WordPress LMS Plugin] Template file override issueSetting the above works, using my own theme:
add_filter( 'learn-press/override-templates', function(){ return true; } );
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Login / registration form does not load*following
Forum: Plugins
In reply to: [Food Store - Online Food Delivery & Pickup] Setting delivery costAs 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 );
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
In reply to: [Food Store - Online Food Delivery & Pickup] Setting delivery costAny 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
In reply to: [Food Store - Online Food Delivery & Pickup] Great start!Nice update!
Can’t wait to see the docs ?? Keep up the good work.
Forum: Plugins
In reply to: [Food Store - Online Food Delivery & Pickup] Search form bug?@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
In reply to: [Food Store - Online Food Delivery & Pickup] Search form bug?Hi there,
You’re welcome, thanks for getting back at this! Can be closed now ??
Forum: Plugins
In reply to: [Polylang] Learndash with PolylangSame 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
In reply to: [WooCommerce] Woocommerce + Woocommerce Subscriptions error in 4.7.0 updateSame problem. @quangthien27 works, thank you!
@mperezssmd just a small fix until it’s overwritten by WooCommerce on the next update ??
Forum: Plugins
In reply to: [Jobs for WordPress] Google for JobsHi 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
And you should be good to go
Forum: Plugins
In reply to: [Jobs for WordPress] Settings>Settings configuration is being ignoredAre 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
In reply to: [Jobs for WordPress] Changing single-job templateAhh, 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.
Forum: Plugins
In reply to: [Jobs for WordPress] Changing single-job templateAhh 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"}