I am confident this can be a simple one, but I am not getting luck foreseeing it right now.
I've multiple records that display fundamental information on the home page of my website, and that i would like them to click to see 'more info' for every.
How do you get this to work? I've got a single.php page setup, although not sure what's going to get this to like magic work.
here's the code for that home page:
<?php $loop = new WP_Query(array('post_type' => 'portfolio', 'posts_per_page' => 12)); ?> <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> <?php $custom = get_post_custom($post->ID); $screenshot_url = $custom["screenshot_url"]; $website_url = $custom["website_url"]; ?> <div class="item"> <a href="<?=$website_url?>"><?php the_post_thumbnail(); ?> </a> <h3><?php the_title(); ?></h3> <p><?php the_content(); ?></p> </div> <?php endwhile; ?>