Archive Links Show But Empty When Clicked/Portfolio Posts Not Displayed On Home
-
Please help.
My company uses WordPress to add Portfolio & News Articles to our corporate website (www.stpress.com). At the beginning of the year, our IT company moved the website from our old provider (Cbeyond) to our new provider (GoDaddy). At that time, the updated version of WordPress was installed & used. (Our site was built in 2010, so it was using the original version that was current at that time.)
It was brought to my attention earlier this week that all WordPress entries were missing. I’ve spent the past 2 days re-writing & re-building the posts.
Issue 1:
All of the News posts have been added and do show/work as expected. However, when I’m on the News page, I see the old Archive links. When you click one, it is empty.Is there a way to rebuild this?
Issue 2: Both the Portfolio & News excerpt sections on our Home page populate from WordPress. All of the Portfolio posts have been created, but they are not showing. This is the code from the index.php page of the theme.
<div class="four-col fix-height"> <h2><a href="/portfolio/" title="Portfolio">Portfolio</a></h2> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php if( in_category('portfolio')) : ?> <p class="img"><?php the_post_thumbnail('index-post-thumbnail'); ?></p> <p><strong class="gray"><?php the_title(); ?></strong><br /><?php the_excerpt(); ?></p> <a href="<?php the_permalink(); ?>" title="View More" class="button">View More</a> <?php break; endif; ?> <?php endwhile; ?> <?php endif; ?> </div>
Will you point me in the right direction for correcting this?
I appreciate all of the help I get!
- The topic ‘Archive Links Show But Empty When Clicked/Portfolio Posts Not Displayed On Home’ is closed to new replies.