View block-cloudflare-stream.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org", | |
"@type": "VideoObject", | |
"name": "<?php block_field( 'cs-name' ); ?>", | |
"description": "<?php block_field( 'cs-description' ); ?>", | |
"thumbnailUrl": "<?php block_field( 'cs-thumbnail' ); ?>", | |
"uploadDate": "<?php the_time('c'); ?>", | |
"duration": "PT<?php $cshours = block_field( 'cs-hours', false ); if ( ! empty( $cshours ) ) { echo $cshours . 'H'; } ?><?php $csminutes = block_field( 'cs-minutes', false ); if ( ! empty( $csminutes ) ) { echo $csminutes . 'M'; } ?><?php $csseconds = block_field( 'cs-seconds', false ); if ( ! empty( $csseconds ) ) { echo $csseconds . 'S'; } ?>", | |
"embedUrl": "https://<?php block_field( 'cs-subdomain' ); ?>/<?php block_field( 'cs-id' ); ?>/iframe" |
View preview-cloudflare-stream.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p style="color:darkorange;"><strong>Cloudflare Stream Video Schema</strong></p> |
View schema-videoobject-example.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org", | |
"@type": "VideoObject", | |
"name": "Name of video", | |
"description": "Description of video", | |
"thumbnailUrl": "https://coywolf.pro/wp-content/uploads/2019/06/og-coywolf.png", | |
"uploadDate": "2021-02-21T11:34:07-06:00", | |
"duration": "PT1M43S", | |
"embedUrl": "https://[Customer Subdomain]/[Video ID]/iframe" |
View start-theme-logo-text.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="logo"><a href="/"><?php bloginfo('name'); ?></a></div> |
View starter-theme-logo-image.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>"> |
View logo-size.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nav.top .logo img { height:2rem; } |
View functions-thumbnail-size.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set_post_thumbnail_size( 150, 79, true ); | |
add_image_size( 'single-post-thumbnail', 1200, 630 ); |
View intro-colors.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.intro { background:#eee; } | |
.intro h1, .intro p { color:#000; } |
OlderNewer