• I would like to know how to change the direction of the huge navigation arrows that appear when you click on one of the post. For example: If you click on the circle “worth a thousand words” (https://wp-themes.com/), you will come on a page with an arrow pointing to the left. I would like this arrow to point to the right so it comes in line with the visual sequence of the posts in the homepage. Could anyone help me out with this.

    Thanks in advance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter gamelogic

    (@gamelogic)

    A small correction, this is the correct link I’m referring to: https://wp-themes.com/spun/

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I don’t see the arrow you’re referring to on that page, could provide an image to illustrate what you mean?

    Thread Starter gamelogic

    (@gamelogic)

    The arrow is at first sight almost invisible until you hover over it with you mouse. So if you hover with your mouse cursor to the utmost left side of the website, the arrow will appear on the mentioned page “worth a thousand words”.

    denizthecat

    (@denizthecat)

    Hi,

    I need to do this as well. Is there anyone can help us?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Deniz, could you create a thread about this

    stuudio

    (@stuudio)

    I managed to fix this by editing spun/inc/template-tags.php

    Here is a patch:

    --- template-tags.php   2013-11-12 21:20:54.000000000 +0200
    +++ template-tags-spun-child.php        2013-11-12 21:13:28.000000000 +0200
    @@ -40,17 +40,19 @@
    
            <?php if ( is_single() ) : // navigation links for single posts ?>
    
    -               <?php previous_post_link( '<div class="nav-previous">%link</div>', '<span class="meta-nav">' . _x( '&laquo;', 'Previous post link', 'spun' ) . '</span>' ); ?>
    -               <?php next_post_link( '<div class="nav-next">%link</div>', '<span class="meta-nav">' . _x( '&raquo;', 'Next post link', 'spun' ) . '</span>' ); ?>
    +               <?php next_post_link( '<div class="nav-previous">%link</div>', '<span class="meta-nav">' . _x( '&laquo;', 'Previous post link', 'spun' ) . '</span>' ); ?>
    +               <?php previous_post_link( '<div class="nav-next">%link</div>', '<span class="meta-nav">' . _x( '&raquo;', 'Next post link', 'spun' ) . '</span>' ); ?>
    
            <?php elseif ( $wp_query->max_num_pages > 1 && ( is_home() || is_archive() || is_search() ) ) : // navigation links for home, archive, and search pages ?>
    
    -               <?php if ( get_next_posts_link() ) : ?>
    -               <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&laquo;</span>', 'spun' ) ); ?></div>
    +               <?php if ( get_previous_posts_link() ) : ?>
    +               <div class="nav-previous"><?php previous_post_link( __( '<span class="meta-nav">&laquo;</span>', 'spun' ) ); ?></div>
                    <?php endif; ?>
    
    -               <?php if ( get_previous_posts_link() ) : ?>
    -               <div class="nav-next"><?php previous_posts_link( __( '<span class="meta-nav">&raquo;</span>', 'spun' ) ); ?></div>
    +
    +               <?php if ( get_next_posts_link() ) : ?>
    +
    +               <div class="nav-next"><?php next_posts_link( __( '<span class="meta-nav">&raquo;</span>', 'spun' ) ); ?></div>
                    <?php endif; ?>
    
            <?php endif; ?>

    This is human readable and you can probably understand what was changed.
    Strange, that this UIx bug is not fixed.
    ( old post: https://www.ads-software.com/support/topic/back-and-forward-are-mixed-up?replies=6)

    I’ve just copy/pasted this on my template-tags php file and the site went blank completely. How could this be? Can anyone help me with this?

    Never mind, I’ve recovered the template-tags.php file and it’s all fine now.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to change the direction of the huge navigation arrows.’ is closed to new replies.