Title: previous_post_link arrow position
Last modified: August 19, 2016

---

# previous_post_link arrow position

 *  [sdcr](https://wordpress.org/support/users/solidcolour/)
 * (@solidcolour)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/previous_post_link-arrow-position/)
 * Here is the basic code:
    <?php previous_post_link(‘← %link’) ?>
 * By default the left arrow will be outside the “a href” tag. But I’d like it to
   be inside as part of the link, What can I do please?
 * Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/previous_post_link-arrow-position/#post-1681084)
 * In the default Twenty Ten theme, it is part of the link. See theme templates.
 * In your case, if it is not, that means either you have changed it or you are 
   using different theme.
 *  Thread Starter [sdcr](https://wordpress.org/support/users/solidcolour/)
 * (@solidcolour)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/previous_post_link-arrow-position/#post-1681085)
 * Thanks! you are right.
 * <?php previous_post_link( ‘%link’, ‘<span class=”meta-nav”>’** . _x**( ‘←’, ‘
   Previous post link’, **‘twentyten’** ) . ‘</span> %title’ ); ?>
 * But it looks quite messy, so what is the code we really need?
 * Also I noticed in the new theme, the **‘twentyten’** appears in so many places.
   What is it for? Does it really need to be there?
 * Can anybody explain what is “**. _x**” for as well please?
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/previous_post_link-arrow-position/#post-1681089)
 * In Twnty Ten default, you can see code in the theme templates.
    For example:
 * single.php, lines 17-20
 * <div id=”nav-above” class=”navigation”>
    <div class=”nav-previous”><?php previous_post_link(‘%
   link’, ‘<span class=”meta-nav”>’ . _x( ‘←’, ‘Previous post link’, ‘twentyten’).‘
   </span> %title’ ); ?></div> <div class=”nav-next”><?php next_post_link( ‘%link’,‘%
   title <span class=”meta-nav”>’ . _x( ‘→’, ‘Next post link’, ‘twentyten’ ) . ‘
   </span>’ ); ?></div> </div><!– #nav-above –>
 * also, loop.php, lines 24-27
 *  Thread Starter [sdcr](https://wordpress.org/support/users/solidcolour/)
 * (@solidcolour)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/previous_post_link-arrow-position/#post-1681090)
 * Yes, I’ve found that. Thanks.
    Can you or anybody answer the other questions 
   please?
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/previous_post_link-arrow-position/#post-1681091)
 * > Also I noticed in the new theme, the ‘twentyten’ appears in so many places.
   > What is it for? Does it really need to be there?
 * perhaps indicates the name of the theme! If it indicates more than this, then
   may be somebody else can weighin.
 * > Can anybody explain what is “. _x” for as well please?
 * _x perhaps indicates a local variable!
 * I am sure
 *  Thread Starter [sdcr](https://wordpress.org/support/users/solidcolour/)
 * (@solidcolour)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/previous_post_link-arrow-position/#post-1681202)
 * thanks t-p, i really wish wordpress team could development a 3.0 theme framework
   that is especially for the developers.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/previous_post_link-arrow-position/#post-1681234)
 * some reading:
 * [http://codex.wordpress.org/Theme_Development](http://codex.wordpress.org/Theme_Development)
   
   [http://codex.wordpress.org/Theme_Development_Checklist](http://codex.wordpress.org/Theme_Development_Checklist)
   [http://codex.wordpress.org/Version_3.0](http://codex.wordpress.org/Version_3.0)
   [http://codex.wordpress.org/Using_Themes](http://codex.wordpress.org/Using_Themes)
   [http://digitalraindrops.net/templates/](http://digitalraindrops.net/templates/)
 *  Thread Starter [sdcr](https://wordpress.org/support/users/solidcolour/)
 * (@solidcolour)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/previous_post_link-arrow-position/#post-1681263)
 * thank you very much t-p!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘previous_post_link arrow position’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [sdcr](https://wordpress.org/support/users/solidcolour/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/previous_post_link-arrow-position/#post-1681263)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
