Hellooo. I'm not really a PHP person but I'm attempting to set up a custom media block style (the existing ones don't show the course start date for some reason?).
The instructions (https://wplms.io/support/knowledge-base/creating-custom-featured-block-style/) say to add some code to the _construct function, but there isn't one already in the customizer php file and I can't figure out how to write it. Any help is very appreciated!
Thanks
Well featured block with start date is already available in the post grid and carousel .
Please select the featured style block that has date written on it .
check screenshot : http://prntscr.com/c9tmlf
Hi Alex
But it's not showing on my instance, even though I have selected the media block you mention. See screenshot.
What could be causing the problem?
Thanks
Please make sure you have selected the course block mentioned by Alex to show the start date, and also make sure the start date is set for the course (future dates only and not the present or previous dates).
Also try clearing the cache before checking.
If still the issue persists then please share the site url and the admin credentials with us (in a private reply) to check the issue on your website.
Thanks for sharing the credentials, I checked your site and found out that your theme and plugins are not updated to the latest versions.
Latest Versions
WPLMS v 2.2.2
Vibe Course Module v 2.2.2
Vibe Custom Types v 2.2.2
Vibe Shortcodes v 2.2.2
WPLMS Dashboard v 2.2.2
WPLMS Assignment v 2.2.2
WPLMS Front End v 2.2.2
WPLMS EventOn v 2.2.2
Please update your theme and plugins to latest versions and then check after clearing the cache. Also update your wordpress.
Let me know if this helps.
Author
Posts
Viewing 9 posts - 1 through 9 (of 9 total)
The topic ‘_construct function for PHP dunce’ is closed to new replies.