• 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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • At the beginning of the year, our IT company moved the website from our old provider (Cbeyond) to our new provider (GoDaddy).

    Did they follow the relevant instructions in Moving_WordPress?

    Thread Starter STP Website

    (@tmcquary)

    I have no idea. I was brought into the mix to fix it and am trying to go backwards.

    I do know that they didn’t keep a backup, so we weren’t able to restore. I also know I was able to recreate all of the posts. Both types of posts display correctly in their sections aside from the 2 issues above.

    Thread Starter STP Website

    (@tmcquary)

    I can tell you the code on the News page for the Archive is

    <h2 style="padding-bottom:4px;">Archives</h2>
                <ul class="block">
                	<?php wp_get_archives('type=monthly&limit=12'); ?>
                </ul>

    And, the Archive links (months) match the original posts. I used the original dates when i recreated the posts.

    [Moderator Note: No bumping, thank you.]

    Can you replicate the problem using the default Twenty Fourteen theme with all plugins deactivated & using the default permalink structure?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Archive Links Show But Empty When Clicked/Portfolio Posts Not Displayed On Home’ is closed to new replies.