• crystygye

    (@crystygye)


    My website is:
    https://www.portalultautv.ro/

    When you put the click on article it appear a small description and a buton “Vizioneaza”.

    I just want to click the picture and go on link article.
    This is my content.php but i failed on make “classic”.

    <?php
    
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class("archive artmain col-md-4 col-sm-8 col-xs-12"); ?>>
    
    	<div class="main-article curb-effect">
    		<div class="feat-thumb-holder"> 
    
    		    <?php if (has_post_thumbnail()) :
    				the_post_thumbnail('grid-thumb');
    				else: ?>
    					<img width=330 height=270 src="<?php echo get_template_directory_uri()."/images/cthumb.png" ?>">
    				<?php endif;
    			?>
    		</div>
    	     <div class="main-content">
    		     <p><?php echo substr(get_the_excerpt(),0,150)."..."; ?></p>
    		         <a href="<?php the_permalink(); ?>" class="readmore"><?php _e('Vizioneaza','inkzine'); ?></a>
    	     </div>
    	</div>
    	<h2 class="main-entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    </article><!-- #post-## -->
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Featured image with no description’ is closed to new replies.