Title: Help needed with php navigation
Last modified: August 19, 2016

---

# Help needed with php navigation

 *  Resolved [minademas](https://wordpress.org/support/users/minademas/)
 * (@minademas)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/help-needed-with-php-navigation/)
 * Help!
    I have worked on my pagination and now my single post pagination is off.
   Please see it here: [http://www.minademas.com/2008/01/02/introduciendo-al-mundo-womee/](http://www.minademas.com/2008/01/02/introduciendo-al-mundo-womee/)
 * As you can see, I can now see 2 styles of pagination, the article ones and below
   that the new navigation by pages.
 * My code on navigation.php is:
 * <?php if (is_single()) : ?>
 * <div class=”navigation”>
 *  <span class=”previous”><?php previous_post_link(‘← %link’) ?></span>
 *  <span class=”next”><?php next_post_link(‘%link →’) ?></span>
 * </div>
 * <div class=”clear whitespace”></div>
 * <?php endif; ?>
 * <?php if(class_exists(‘wp_pagination_plugin’)){
    $p = new wp_pagination_plugin;
   $p->show(); $p->nextLabel(”); // removing text ‘next’ $p->prevLabel(”); // removing
   text ‘previous’ $p->nextIcon(‘►’); // changing the icon ‘next’ $p->prevIcon(‘
   ◄’); // changing the previous ‘icon’ }
 * ——-
    How can I fix it so on the Single post I can only see the article navigation
   and NOT the pagination style? I know it has something to do with the php if, 
   but I dont know how to put it correctly. Tks!

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

 *  Thread Starter [minademas](https://wordpress.org/support/users/minademas/)
 * (@minademas)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/help-needed-with-php-navigation/#post-676595)
 * Any idea guys? please!
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/help-needed-with-php-navigation/#post-676613)
 * “_How can I fix it so on the Single post I can only see the article navigation
   and NOT the pagination style?_“
 * [http://codex.wordpress.org/Conditional_Tags#A_Single_Post_Page](http://codex.wordpress.org/Conditional_Tags#A_Single_Post_Page)
 * Use the conditional linked above to do something like:
 *     ```
       <?php if( is_single() ) : ?>
   
       ~ displays on single post pages only ~
   
       <?php endif; ?>
       ```
   
 * Or alternatively:
 *     ```
       <?php if( !is_single() ) : ?>
   
       ~ displays anywhere but on single post pages ~
   
       <?php endif; ?>
       ```
   
 * (PHP info: ! = NOT in this situation)

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

The topic ‘Help needed with php navigation’ is closed to new replies.

## Tags

 * [navigation](https://wordpress.org/support/topic-tag/navigation/)
 * [pagination](https://wordpress.org/support/topic-tag/pagination/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/help-needed-with-php-navigation/#post-676613)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
