I am using excerpts in my wordpress theme. Now in wordpress's documentation, they say wordpress does not automatically add links for the excerpts, you have to manually add them like this:
Original excerpts file
<div class="content"> <?php the_excerpt(); ?> </div>
<div class="content"> <?php the_excerpt(); ?> <a href="<?php echo get_permalink(); ?>"> Read More...</a> </div>
Now what I would like to do is to link each excerpt to a different wordpress page, and not to its own excerpt. So for that, I would have to create a custom php function to create a unique link for each excerpt, pointing to a different page each. How do I do that?
See my website where the excerpts are located - It is right below the main slider named: Pastor's Corner, Mother's Heart, Sermons etc...