WP VeriteCo Timeline
How i can add a image in the timeline slide (2 posts)

  1. nordeen
    Posted 3 years ago #

    I would like to now how i can add an images. I did insert image but dont work in the timeline slide. Do you know how i can do.

    Sorry for my english i'm french


  2. gotgotf
    Posted 3 years ago #

    dans wp-verito-timeline.php ligne 46, remplace :
    $this->asset->media = $meta['wpvt_video'][0];
    par :
    $this->date->asset->media = $meta['wpvt_video'][0];

    et ne touche pas à ceci c'est pour l'image à la une :
    if( $thumbnail_id ) {
    // if there is featured image
    $img = wp_get_attachment_image_src( $thumbnail_id, 'full' );
    $thumbnail_image = get_post( $thumbnail_id, 'OBJECT' );
    if ($thumbnail_image && isset($thumbnail_image)) {
    $this->asset->media = $img[0];
    $this->asset->caption = $thumbnail_image->post_excerpt;

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP VeriteCo Timeline
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic