WordPress.org

Ready to get started?Download WordPress

Forums

Page Links Not Working (7 posts)

  1. lropella
    Member
    Posted 4 months ago #

    I apologize in advance if this is a simple fix, but so far I have tried my hardest to get this issue resolved to no avail. I am just a beginner at all this so I may be missing something...

    All the links to my blog are no longer working. This includes all the links in my top navigation menu as well as the links to pages included in posts. No idea what the issue could be.

    My blog link is: http://www.thenewlywednotebook.com

    So far I have tried...
    - setting permalinks to default and then putting them back to post name
    - erasing the cache and reloading the website
    - removing the links from the menu and readding them manually
    - changing the link name for the page and using that in the menu
    - creating a brand new page and adding that to the menu

    I don't get a 404 error when this happens either. The correct link shows up in the address bar but the page is just blank and my favicon does not show up in the address bar either (it used to).

    No idea what's going on. Any thoughts or advise would be so so appreciated!!!

  2. Pioneer Valley Web Design
    Member
    Posted 4 months ago #

    Here is my best guess:

    You updated a theme and the customizations that were associated with these pages are now gone. The 'pages' are pointing to a page template that no longer exists. Go to each page in the editor and review which page template is assigned, if it is not the default page template, switch the page to that and see that you at least have some html output.

  3. alchymyth
    The Sweeper & Moderator
    Posted 4 months ago #

    enable DEBUG to see if you get some error messages - http://codex.wordpress.org/Debugging_in_WordPress

    does this also happen if you temporarily switch to the default theme Twenty Thirteen and deactivate all plugins?

    please also contact your theme's developer for support; http://codex.wordpress.org/Forum_Welcome#Commercial_Products

  4. lropella
    Member
    Posted 4 months ago #

    Thank you both very much! I tried most of your suggestions and it still doesn't seem to help at all. The only one I didn't yet try is switching the theme to Twenty Thirteen. This is probably a silly question, but if I switch themes and then switch back to the original, will I have lost all of the code I added to that theme's editor? Or will I be ok? I'm just scared to switch theme because I put a lot of time into altering the theme to make it exactly what I want.

    I think you are right though - it's probably some sort of issue with the theme or something I am missing on that end. I have sent a request to the theme's developer. Hopefully they can offer some assistance soon.

  5. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    if I switch themes and then switch back to the original, will I have lost all of the code I added to that theme's editor?

    No. Your theme & plugin settings are saved in your database and should be retained for future use. However, you really shouldn't be editing the theme itself in most cases. You should be creating a child theme for your changes or installing a custom CSS plugin.

  6. lropella
    Member
    Posted 4 months ago #

    OK! I'm sorry I posted too soon.

    Now it says this when I try to click on a page link:

    Parse error: syntax error, unexpected '<' in /home2/lropella/public_html/wp-content/themes/quarter/page.php on line 3

    But I can't find it. That means there is a < that isn't supposed to be there, correct?

    Here is my page.php code:

    <?php
    
    <progress value="22" max="100"></progress>
    
    get_header(); ?>
    
    <div class="row">
    
    <div class="nine columns">
    
     <!-- POSTS LOOP -->
    <?php if ( have_posts() ) { while ( have_posts() ) : the_post(); ?>
    
    <div class="row">
    <div class="twelve columns">
    
    <article>
    <div <?php post_class(); ?>>
    <h2 class="post_title"><span><?php the_title(); ?></span></h2>
    <?php if ( has_post_thumbnail() ) { ?>
    <div class="featuredimage"><?php the_post_thumbnail( 'large' ); ?></div>
    <?php } ?>
    <?php the_content();
    wp_link_pages('before=<div id="postpaging">Pages:&after=</div>&pagelink=%' ); ?>
     </div>
    </article>
    
    </div>
    
    </div>
     <?php
      endwhile;
     }
      ?>
    
    <!-- POSTS LOOP END --> 
    
    </div> 
    
    <!-- SIDEBAR -->
    <?php get_sidebar(); ?>
    
    </div>
    
    </div>
    
    <?php get_footer(); ?>
  7. lropella
    Member
    Posted 4 months ago #

    Esmi,

    Oh shoot! Well thank you for letting me know I will have to do that in the future. Obviously, I'm very new to all this. :)

    I have been in contact with the theme developer and they have been very helpful so I think this will all be resolved soon. Thank you all very much for your help.

Reply

You must log in to post.

About this Topic