I am trying to send users when they click on the link within the homepage slider to a page that I created. Currently the slider sends the user to a post where the image lives, but i want to change the php. I have been directed to change the function permalink()but im not sure what I have to change it to. Any help?
<?php if ( $my_query->have_posts() ) : while ( $my_query->have_posts() ) : $my_query->the_post(); ?> <?php $image = get_post_thumb($post->ID,950,350,'bordeaux_slider_image'); ?> <img src="<?php echo $image['src']; ?>" alt="<a href=""<?php">"><b><?php the_title(); ?></b></a><p><?php the_excerpt(); ?></p>" width="950" height="350" /> <?php endwhile; else: ?> <?php endif; ?>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
- The topic ‘Changing link from post to page’ is closed to new replies.