Title: deadlycomputer's Replies | WordPress.org

---

# deadlycomputer

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [alphabetical next/previous](https://wordpress.org/support/topic/alphabetical-nextprevious/)
 *  Thread Starter [deadlycomputer](https://wordpress.org/support/users/deadlycomputer/)
 * (@deadlycomputer)
 * [16 years ago](https://wordpress.org/support/topic/alphabetical-nextprevious/#post-1527026)
 * well, I was able to make a custom function to do what i wanted:
 *     ```
       function nextLinks($tp)
       {
       	$wp2 = array();
       	$i=0;
       	$pOrder = array(
       			'category_name'         =>	'work',
       			'orderby'		=>	'title',
       			'order'			=>	'ASC',
       			'nopaging'		=>	true,
       			'posts_count'	=>	5
       				);
       	$workPosts = get_posts($pOrder);
       	foreach($workPosts as $wpost)
       	{
       		$pid = $wpost->ID;
       		$wp2[$i] = $pid;
       		$i++;
       	}
       	$pnum = array_search($tp,$wp2);
   
       	if($pnum-1 >= 0)
       	{
       		$pre = '<a href="'.get_permalink($wp2[$pnum-1]).'" title="'.get_the_title($wp2[$pnum-1]).'" class="floatLeft"><'.get_the_title($wp2[$pnum-1]).'</a>';
       	}
       	if($pnum+1 < count($wp2))
       	{
       		$nxt = '<a href="'.get_permalink($wp2[$pnum+1]).'" title="'.get_the_title($wp2[$pnum+1]).'" class="rightArrow">'.get_the_title($wp2[$pnum+1]).'></a>';
       	}
       	echo $pre . $nxt;
       }
       ```
   
 * if there’s a simpler, or built in way to do what i want i’d love to know
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [How to choose the first letter of the Last word when sorting alphabetically](https://wordpress.org/support/topic/how-to-choose-the-first-letter-of-the-last-word-when-sorting-alphabetically/)
 *  [deadlycomputer](https://wordpress.org/support/users/deadlycomputer/)
 * (@deadlycomputer)
 * [16 years ago](https://wordpress.org/support/topic/how-to-choose-the-first-letter-of-the-last-word-when-sorting-alphabetically/#post-1302244)
 * simple php substring maniuplation
    [php.net](http://php.net/manual/en/function.substr.php)
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Upgrade 2.3.3 loss of options for writing posts](https://wordpress.org/support/topic/upgrade-233-loss-of-options-for-writing-posts/)
 *  Thread Starter [deadlycomputer](https://wordpress.org/support/users/deadlycomputer/)
 * (@deadlycomputer)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/upgrade-233-loss-of-options-for-writing-posts/#post-693168)
 * i resolved the problem, turns out it was a permission error on my server.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [A “learner theme” for beginners?](https://wordpress.org/support/topic/a-learner-theme-for-beginners/)
 *  [deadlycomputer](https://wordpress.org/support/users/deadlycomputer/)
 * (@deadlycomputer)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/a-learner-theme-for-beginners/#post-673663)
 * I agree, a “learner theme” would be a good addition to wordpress.
    While i consider
   my knowledge of css, php, & html, full to advanced, it’s always easier to make
   modifications if you have something to follow.

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