Skip to content

Customizing Vimeography Pro #1 – Thumbnail Content

Customized On-Hover Thumbnail

First of several posts intended to document this job…

 * Replace date with description in Vimeography Timber Theme Video Gallery Thumbnails
add_action( 'admin_head', 'custom_timber_thumbnail' ) ;
add_action( 'wp_head', 'custom_timber_thumbnail' ) ;

function custom_timber_thumbnail() {
	ob_start() ;
	<script type="text/x-template" id="vimeography-timber-thumbnail">
	<figure class="vimeography-thumbnail">    
	<img class="vimeography-thumbnail-img" :src="thumbnailUrl" :alt="" />    
			<h2 class="vimeography-title">{{}}</h2> 
			<div class="vimeography-description" v-html="video.description"></div>
			<router-link class="vimeography-link" :to="this.query" :title="" exact exact-active-class="vimeography-link-active">
			     View more
	echo ob_get_clean() ;

Default On-Hover Thumbnail Date Content:

Customized On-Hover Description Content:

Leave a Reply