Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
Chama
ParticipantAnd the read more link? On my page the read more links to the homepage. I’ve made some tests/Coding yesterday and I’ve used the permalink() function.
<div class="<?php echo $service_class; ?>"> <div class="service-item clearfix"> <a href="<?php the_permalink(); ?>"> <?php if ( has_post_thumbnail() ) { echo '<div class="service-icon">'.get_the_post_thumbnail( $post->ID, 'medium' ).'</div>'; } ?> </a> <h3 class="service-title"> <a href="<?php the_permalink(); ?>"> <?php echo $page_title; ?> </a> </h3> <article> <?php the_excerpt(); ?> //above this line permalink(); works fine, below it links to the page domain </article> <!-- .service-item --> <?php if( !empty( $options[ 'post_excerpt_more_text' ] ) ) { ?> <a href="<?php the_permalink(); ?>" class="more-link"> <?php echo $options[ 'post_excerpt_more_text' ]; ?> </a> <?php } ?> </div>Chama
ParticipantIt was a plugin witch came with your installation that didn’t work. Now I use your css styles.
Chama
ParticipantHi.
Could you please let us know how to link services with their pages?
It doesn’t make any sense to link them to our homepage…
Thanks
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
