Title: rubyfall's Replies | WordPress.org

---

# rubyfall

  [  ](https://wordpress.org/support/users/rubyfall/)

 *   [Profile](https://wordpress.org/support/users/rubyfall/)
 *   [Topics Started](https://wordpress.org/support/users/rubyfall/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rubyfall/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rubyfall/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rubyfall/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rubyfall/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rubyfall/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [change %link](https://wordpress.org/support/topic/change-link/)
 *  Thread Starter [rubyfall](https://wordpress.org/support/users/rubyfall/)
 * (@rubyfall)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/change-link/#post-2874654)
 * _[ Moderator note: it’s the backtick and not the double quote for code snippets.]_
 * After this question, I have made it with php itself (I know it is to program 
   it nicer, but it works for now, as to see under this:
 *     ```
       <div id="Laatste"  style="top:80px;">
                   <div id="faceknop">
       		<?php query_posts('showposts=1000&cat=' . $cat); ?>
               <?php $num = 0;
       		$Pnumtje = 0;
       		?>
   
               <?php 	while (have_posts()): the_post(); ?>
               <?php $num = 1 + $num; ?>
       		<?php
       				if ($id != $pxa) {
       				  $Pnumtje = $Pnumtje;
       				  } else {
       				  $Pnumtje = $num;
       				}
       		?>
       		<?php endwhile; ?>
   
       		<?php query_posts('showposts=1000&cat=' . $cat); ?>
               <?php $numb = 0;
       		$Pnumtjeb = $Pnumtje - 1;
       		$Pnumtjec = $Pnumtje + 1;
       				  $IDplus = 0;
       				  $IDmin = 0;
       		?>
   
               <?php 	while (have_posts()): the_post(); ?>
               <?php $numb = 1 + $numb; ?>
   
       		<?php
       				if ($Pnumtjec != $numb ) {
       				  $IDmin = $IDmin;
       				  $IDplus = $IDplus;
   
       				} else {
       				  $IDmin = $id;
       				  $IDplus = $IDplus;
       				  }
   
       				if ($Pnumtjeb != $numb ) {
       				  $IDmin = $IDmin;
       				  $IDplus = $IDplus;
   
       				} else {
       				  $IDmin = $IDmin;
       				  $IDplus =  $id;
       				  }
       		?>
   
               <?php endwhile; ?>
   
               <?php if ($IDmin > 0 ) { ?>
   
       <a>&cat=<?php echo $cat; ?>" target="_top">◄ouder:</a></B> 
   
               <?php } else { ?>
       			 
               <?php }?>
   
                    </div>
               <div id="publdatum">
               <?php if ($IDplus > 0 ) { ?>
   
                   <a>&cat=<?php echo $cat; ?>" target="_top">nieuwer►</a></B>
   
               <?php } else { ?>
       			 
               <?php }?>
               </div>
   
               </div>
       ```
   

Viewing 1 replies (of 1 total)