• Resolved rhodo

    (@rhodo)


    Hi, back again πŸ˜‰

    I just upgraded to 2.8, and it led to a small problem, before there is a button in the upper left (Older Entries) to go to page two, now there is also a button to the right (well, in the middle as I have three columns) that says ‘Next Page’ and <b>also</b> goes to page two…

    I assume this is an error related to the upgrade, as I didn’t change anything else.

    You can also see that something is broken on the page, at the very bottom there are tiny notches on either side that are caused by the page getting broken.

    Any fix for this?

Viewing 13 replies - 1 through 13 (of 13 total)
  • That mechanism is your theme using to present those two links?

    With the help of the Template Hierarchy article, determine what Template is displaying your posts and those links (it’s probably index.php).

    If you change to the WordPress Default theme do you still have the problem?

    Finally, are you using any plugins that control that kind of navigation?

    Thread Starter rhodo

    (@rhodo)

    Hi Michael:

    Ok, I will do that. You are right, it seems like two different templates are working here, hence the different terms used (Older entries, but Next page).

    No, I have no plugins related to navigation.

    Strangely, this is the same problem I had a couple weeks ago when my post was too long and it broke the theme. Basically, the symptoms are the same here.

    There is no problem with the standard theme. I also have a non-customized version of the techozoic theme, and that also has the problem.

    Okay, using http://wordpress.org/extend/themes/techozoic-fluid

    I do see both of these:
    Β« Previous Page β€” Β« Older Entries
    Newer Entries Β» β€” Next Page Β»
    Change this:

    <div class="alignleft"><?php posts_nav_link('','','&laquo; Older Entries') ?></div>
    <div class="alignright"><?php posts_nav_link('','Newer Entries &raquo;','') ?></div>

    to this:

    <div class="alignleft"><?php posts_nav_link('','Newer Entries &raquo;','&laquo; Older Entries') ?></div>
    <div class="alignright"><?php// posts_nav_link('','Newer Entries &raquo;','') ?></div>

    and

    change this:

    <div class="alignleft"><?php posts_nav_link('','','&laquo; Older Entries') ?></div>
    <div class="alignright"><?php posts_nav_link('','Newer Entries &raquo;','') ?></div>

    to this:

    <div class="alignleft"><?php posts_nav_link('','Newer Entries &raquo;','&laquo; Older Entries') ?></div>
    <div class="alignright"><?php //posts_nav_link('','Newer Entries &raquo;','') ?></div>

    Thread Starter rhodo

    (@rhodo)

    Wow Michael thanks so much, this will really teach me something.

    Now, pls slow down just for a second, is this all in Main Index.php?

    Another point, I just went through every page and never found the text ‘Next Page’, and you say you found it but it doesn’t appear in the code you posted. Is that text on another template that gets called? I didn’t see it anywhere…

    I will try the hack and see if it works, and report back.

    But I should note that I am working on Technozoic 1.5.5. I will also upgrade my theme version. I delayed to do so because I made so many customizations, but it seems clear now that I should upgrade if I am going to constantly be hacking at the code anyways πŸ˜‰

    Thanks again Michael and I will be back!!

    Thread Starter rhodo

    (@rhodo)

    Michael:

    I upgraded and on standard tech 1.6.2 all is well in the world.

    This is something to do with my custom hacks, probably due to font size, so I will re-hack and learn even more.

    This topic is closed.

    Thread Starter rhodo

    (@rhodo)

    Wow you are relentless.

    I confirmed your theory; by stripping out those two lines, all page navigation is gone. It looks cleaner but not too user friendly.

    What I can’t understand is where the text ‘Next Page’ is coming from. I can’t find the term anywhere in the *theme* docs.

    Anyway I am off to upgrade the theme and solve the problem that way.

    Cheers!

    What I can’t understand is where the text ‘Next Page’ is coming from

    How about wp-includes/link-template.php line 1447 (at 2.8)

    Thread Starter rhodo

    (@rhodo)

    Ah, yes, its there in lines 1332 and 1442. I changed the label by changing both instances (to ‘Label’), changing only one causes an error.

    I’ve fixed this problem in Techozoic 1.6.3. It should be in extend shortly.

    Thread Starter rhodo

    (@rhodo)

    Hi Jeremy:

    1.6.2 already solves the problem, I just need to upgrade. Its been Michael who has been driving this issue forward. Mike, you rock, seriously. ; – )

    Just being a bit lazy, but I am going to get on it. The newer version is even tighter and I am looking forward to the result once I make all my customizations.

    One thing that seems quite strange to me is why the colors so far look quite different in the newer version. Darker and deeper. Is that intentional or am I imagining things? Not a complaint but only a question.

    Anyway, cheers, all is good!

    I couldn’t remember if I had already fixed it yet or not. I haven’t changed the main colors, but I’ve changed which color certain elements get for example the comment count now gets the link color which helps with readability.

    Thread Starter rhodo

    (@rhodo)

    I just opened the hood for the first time, and I am pretty impressed.

    I started using this theme because of options and support, and I have gotten more than I expected on both sides. Thanks for your great work, Jeremy.

    The extra options are great, I had no idea how many new ones there are now.

    And the code has been re-worked quite a lot. It looks real good.

    I noticed the pic handling is much improved right away.

    Anyways, nuff of that. I hacked the original index to fix the nav problem, and threw that into the new theme as the easiest way to maintain the original structure of elements. I am sure I broke something on the back end, but so far it looks good. (I don’t get a lot of feedback so I am trying not to advertise that.)

    Now to colors, which should be fun.

    I have noticed all the element connections, very cool. I am pretty stoked to dig into this.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Theme Techozoic Fluid] Duplicate Previous/Next posts links’ is closed to new replies.