Hi,
I want to use GP to the academy website project and one of the challenges is creating the course pages.
Will there be any method in GP (or using any plugin) that will allow me to use custom fields to enter standard information for each course?
For example, hours, dates, titles, description, etc.
for courses i would recommend using a LMS plugin such as Lifter LMS and LearnDash. It takes all the grunt work out of setting up courses with CPT or Custom Fields.
Actually, we desire something really simple (show courses descriptios and call-to-action form).
A LMS system is to much for this project. My idea is create a standar page, and use Custom Fields to introduce data. I don’t know if this will be possible.
So here’s an example for a custom field called hours
<?php
// Create variable to get the customfield value
$hoursfield = get_post_meta($post->ID, 'hours', true);
// Check the variable is not empty
if ($hoursfield { ?>
<span class="custom-class-for-styling" itemprop="time"><? echo $hoursfield; ?></span>
<?php
}
?>