1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Anyone can help me with wordpress coding?

Discussion in 'Other Languages' started by saber210, Apr 7, 2015.

  1. saber210

    saber210 Supreme Member

    Joined:
    Sep 1, 2011
    Messages:
    1,358
    Likes Received:
    501
    Location:
    -
    Im trying to use this plugin on my wordpress site: https://wordpress.org/plugins/gif-animation-preview/

    The GIF is static and when you click it, the GIF will play.

    The GIF is the featured image of the post but I cant make it work.

    This is how my theme shows the featured image.

    Code:
     if( has_post_thumbnail() ) {  ?>
        <?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID, 'thumbnail') ); ?>
                <img src="<?php echo $url ?>" alt="<?php echo the_title(); ?>" />
                <div class="entry-overlay"><span class="icon-fullscreen"></span></div>
    The GIF is continuously play in the homepage.

    Any help is appreciated.

    Thanks!
     
    Last edited: Apr 7, 2015
  2. ponymurder

    ponymurder Registered Member

    Joined:
    Jan 12, 2016
    Messages:
    87
    Likes Received:
    5
    Visit the guide of Wordpress to get all types of help.
    It'll provide all details about programming and its services. I think it'll help you a lot.
     
  3. globalanomaly

    globalanomaly Newbie

    Joined:
    May 8, 2016
    Messages:
    10
    Likes Received:
    0
    Gender:
    Male
    Location:
    Northern California
    Double what ponymurder said, but you can also find a ton of resources on Google specifically for wordpress. I know that's a catch-all answer, but there hasn't been anything I haven't found on there. At the very least, you can use some IRC channels, probably on freenode.