• Resolved ixkeys

    (@ixkeys)


    In all WordPress-Weblogs in the net, which use the default theme, Opera doesn’t display the previous_posts_link and the next_posts_link at the end of the page (once you scrolled down to the end of the page, Opera displays nothing, once you load new without scrolling, Opera displays the link, but the link isn’t active).

    It’s not a problem with the template-tags. It is a problem with the CSS. This ist the code in the default theme (index.php and archiv.php):

    <div class="navigation">
    <div class="alignleft">
    <?php next_posts_link('? Previous Entries') ?>
    </div>
    <div class="alignright">
    <?php previous_posts_link('Next Entries ?') ?>
    </div>
    </div>

    If you put an additional paragraph in the navigation-div, Opera will display. For example:

    <div class="navigation">
    <div class="alignleft">
    <?php next_posts_link('? Previous Entries') ?>
    </div>
    <div class="alignright">
    <?php previous_posts_link('Next Entries ?') ?>
    </div>

    <p>-</p>
    <!– an empty paragraph <p> </p> doesn’t work –>
    </div>

    This doesn’t look very fine, because the minus ist displayed between the links or (if only one link appears) in the left or right of the link.

    Therefor I used the following Code for my weblog:

    <div class="navigation">
    <?php next_posts_link('?? Previous Posts') ?>
    &n-b-s-p;&-n-b-s-p;&n-b-s-p;&n-b-s-p;
    <!--leave the minus away. They are inserted, because without, the code wouldn't be displayed in the support forum-->????
    <?php previous_posts_link('Next Posts ??') ?>
    </div>

    I know, this isn’t strict CSS-based design, but it was the only idea I head do tell my Opera to display the links.

    Who knows a better solution?
    I suggest, the default theme should be modified, because all Opera-users can’t navigate wordpress-weblogs correctly.

    (Tested with: Opera 9.00, build 8502, Windows XP)

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Opera Browser doesn’t display previous_posts_link and next_posts_link’ is closed to new replies.