php /** * Displays the post single thumbmnail * * @package OceanWP WordPress theme */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } // Return if there isn't a thumbnail defined if ( ! has_post_thumbnail() ) { return; } // LLMS Integration if( OCEANWP_LIFTERLMS_ACTIVE ) { $details = get_theme_mod( 'ocean_llms_course_details', array( 'image', 'description', 'meta', 'author', 'progress', 'syllabus' ) ); if( is_course() && !in_array( 'image', $details) ) { return; } if( is_membership() && !( get_theme_mod( 'ocean_llms_membership_image', false ) ) ) { return; } } // Image args $img_args = array( 'alt' => get_the_title(), ); if ( oceanwp_get_schema_markup( 'image' ) ) { $img_args['itemprop'] = 'image'; } // Caption $caption = get_the_post_thumbnail_caption(); ?>

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

This Post Has One Comment

  1. Hi, this is a comment.
    To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
    Commenter avatars come from Gravatar.

Leave a Reply

Close Menu