Hello,
What should the default fallback for instructor_field option be?
In vibe-options.php I noticed the option field set-up with std of Specialty;
`
array(
'id' => 'instructor_field',
'type' => 'text',
'title' => __('Instructor Field', 'vibe'),
'sub_desc' => __('Enter the name of the Instructor Field to show below the name.', 'vibe'),
'std'=>'Speciality'
),
`
And it's set to Specialty in the author-course.php;
`
$ifield = vibe_get_option('instructor_field');
if(!isset($ifield) || $ifield =='')$ifield='Speciality';
`
However in allinstructors.php and members-loop.php it's set to Expertise which isn't a default xProfile field that's set-up via the wplms-install.php, <span style="line-height: 1.5;">Speciality is however created by default so should be used as the fallback throughout.</span>
allinstructors.php code;
`
$ifield = vibe_get_option('instructor_field');
if(!isset($ifield) || $ifield =='')$ifield='Expertise';
`
members-loop.php code;
`
$field = vibe_get_option('instructor_field');
if(!isset($field) || $field =='')
$field = 'Expertise';
`
Just wanted to flag the discrepancy so the default can be set to <span style="line-height: 1.5;">Speciality in all cases as Expertise isn't a installed field by default.</span>
Thank you
Thanks for reporting this we will change the default field name to " Speciality " in the next theme update .
This issue has been resolved in the latest update please update the theme and plugins to latest version and then check and confirm.
Thanks Alex & H.K. Latiyan,
Sorry for the delayed response, overlooked the follow-up there.
I've checked and everything is good to go here.
Appreciated,
Cheers