Forum Replies Created
-
Got it to work after digging through the WPLMS files and the API docs. For others who might be interested (in functions.php file):
add_action( ‘rest_api_init’, ‘register_subtitle’ );
function register_subtitle() {
register_rest_field( ‘post’,
‘subtitle’,
array(
‘get_callback’ => ‘api_get_subtitle’,
‘update_callback’ => null,
‘schema’ => null,
)
);
}
function api_get_subtitle( $object, $field_name, $request ) {
return get_post_meta( $object[ ‘id’ ], ‘vibe_subtitle’, true );
}in reply to: Post Sub-title with REST APIJust checked that it’s running on php7.08
in reply to: Does WPLMS has php 7 support?Not sure if it is officially supported but we run our WPLMS on php7 and it works just fine.
in reply to: Does WPLMS has php 7 support?Basically I would like to remove all inline css created by the theme customizer.
This would make it easier to keep everything in order as everything is controlled from the same place.
in reply to: Remove inline cssSolved… don’t really know what did it but now the button works.
Can’t get it to work… followed the instructions to the letter. Can you take a look?
Login: vibethemes
Password: @[email protected]
https://kahvitauko.fi/wp-login.php
An example of a free course can be found:
https://kahvitauko.fi/course/nettisivujen-luonti-omalle-koneelle/
It was ajax
I get this same problem even though I have set:
WPLMS > Course Manager > Unit Locking > Free Access
Bump!
Was on my way to ask this same question 😀 However, I only got:
Warning: Declaration of BP_Profile_Cover::upload_dir_filter() should be compatible with BP_Attachment::upload_dir_filter($upload_dir = Array) in /home/xxxxxxxx/wp-content/plugins/bp-profile-cover/includes/class.attachment.php on line 17
Warning: Declaration of BP_Group_Profile_Cover::upload_dir_filter() should be compatible with BP_Attachment::upload_dir_filter($upload_dir = Array) in /home/xxxxxxxx/wp-content/plugins/bp-profile-cover/includes/class.attachment.php on line 53
Warning: Cannot modify header information – headers already sent by (output started at /home/xxxxxxxx/wp-content/plugins/bp-profile-cover/includes/class.attachment.php:17) in /home/xxxxxxxx/wp-content/themes/wplms/includes/func.php on line 353
in reply to: Profile Cover does not work with PHP 7.0.2Solved. The culprit was, for one reason or another plugin called Decision tree. This plugin forms a crusial part of our experience so we have opted to have it activated.
For this reason, we would like to know:
under which circumstances the Vibe options is suspectible to reset all choises?
in reply to: Major: Vibe Options Panel v. 2.0 changes not savingI just verified that all my plugins from you are up to date so nothing there.
In addition, I have not made any chanes to:
- other plugins (removed or added them)
- to the server side or
- to our CDN
in reply to: Major: Vibe Options Panel v. 2.0 changes not savingDear Alex, thank you for your reply. What is your estimation on when the non ajax course will work like a charm? Our course will not allow us to enable the force completion 🙁
in reply to: Is non ajax course working?