WordPress.org

Support

Support » Plugins and Hacks » How i can add a image in the timeline slide

How i can add a image in the timeline slide

Viewing 1 replies (of 1 total)
  • Salut,
    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;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘How i can add a image in the timeline slide’ is closed to new replies.