Link code

Hello everybody,

I have this code, outputting the feature as shown below. Only ‘Lees verder…’ (read more) is a link, but I want the title (in this case SOCIARI IPSUM) to be a link and remove ‘lees verder…’. Any help is much appreciated! 8)

http://www.alpha-ede.nl/wp-content/uploads/2013/05/feature.bmp

[php]


<?php if ( $icon ) { ?>

<?php } ?>

<?php echo get_the_title(); ?>


<?php echo $excerpt; ?>
<?php if ( $button ) { ?><?php _e( 'Lees verder...', 'woothemes' ); ?><?php } ?>

[/php]

Wordpress says hi:

[php]


<?php if ( $icon ) { ?>

<?php } ?>

<?php echo get_the_title(); ?>


<?php echo $excerpt; ?>

[/php]

This should work out of the box provided that your $button variable is correct.

Thank you sebrenauld! Solved!

Sponsor our Newsletter | Privacy Policy | Terms of Service