Can I override my Vimeography theme template with some custom code?

Vimeography provides the ability to override your theme template files with your own custom code. Since every customization is different, this is something that we are usually unable to help with, but the tools are in place to allow you or your WordPress site developer to make the changes that your site needs to behave according to your needs.

You can add code similar to this to your WordPress theme's functions.php file or use a plugin called Code Snippets to add it to your page:

<?php

  function my_custom_harvestone_thumbnail() {
    ob_start();
  ?>
    <script type="text/x-template" id="vimeography-harvestone-thumbnail">
      <figure class="swiper-slide vimeography-thumbnail">
        <router-link class="vimeography-link" :to="this.query" exact exact-active-class="vimeography-link-active">
          <img class="vimeography-thumbnail-img" :src="thumbnailUrl" :title="video.name" />
        </router-link>
      </figure>
    </script>
  <?php
    echo ob_get_clean();
  }

  add_action('admin_head', 'my_custom_harvestone_thumbnail');
  add_action('wp_head', 'my_custom_harvestone_thumbnail');
Vimeography will load your template for the defined module instead of the default one for your theme.

Still need help? Contact Us Contact Us