Title: uxte's Replies | WordPress.org

---

# uxte

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom functions.php](https://wordpress.org/support/topic/custom-functionsphp/)
 *  Thread Starter [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/custom-functionsphp/#post-1109140)
 * This was a dumb question…
 * Just add the custom functions to a functions.php file inside your theme directory.
   WordPress automatically includes this file.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [get category ID from Slug](https://wordpress.org/support/topic/get-category-id-from-slug/)
 *  [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/get-category-id-from-slug/page/2/#post-761569)
 * I have just tried and it worked ;D
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [get category ID from Slug](https://wordpress.org/support/topic/get-category-id-from-slug/)
 *  [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/get-category-id-from-slug/page/2/#post-761567)
 * bypan6 had the right answer though…
 * $catid = get_cat_id(‘slug’);
    echo $catid;
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Problem with my query_posts request](https://wordpress.org/support/topic/problem-with-my-query_posts-request/)
 *  [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/problem-with-my-query_posts-request/#post-832256)
 * Hi, I have the same problem.
 * Did anyone come up with a solution for this? I know that the problem is by excluding
   the category with the “-” signal.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to use single.php as front page?](https://wordpress.org/support/topic/how-to-use-singlephp-as-front-page/)
 *  Thread Starter [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [18 years ago](https://wordpress.org/support/topic/how-to-use-singlephp-as-front-page/#post-819727)
 * Ok I found the answer.
 * Put this before the loop: `<?php $wp_query->is_single = true; ?>`
 * Thanks to [http://www.scriptygoddess.com](http://www.scriptygoddess.com)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [convert “link_pages” to “wp_link_pages”](https://wordpress.org/support/topic/convert-link_pages-to-wp_link_pages/)
 *  Thread Starter [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [18 years ago](https://wordpress.org/support/topic/convert-link_pages-to-wp_link_pages/#post-817341)
 * Thanks tsguitar,
 * I have tried all options with wp_link_pages and I’m stuck… I don´t understand
   how can it be that I can’ figure out this one.
 * Anyway I was hoping that someone that tried to achieve the same had the explanation
   for this. i guess I’ll just stick to link_pages.
 * > And if you’re going to bump, try to at least give an update on what you’ve 
   > tried to do since you last posted, things you’ve read, experiments that failed,
   > etc. That’ll help us know what you’ve already tried and tell us that you aren’t
   > just sitting on your hands in the meantime.
 * That’s what I did in the previous post before bumping it.
 * Thanks
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to use single.php as front page?](https://wordpress.org/support/topic/how-to-use-singlephp-as-front-page/)
 *  Thread Starter [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [18 years ago](https://wordpress.org/support/topic/how-to-use-singlephp-as-front-page/#post-819725)
 * Anyone?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [convert “link_pages” to “wp_link_pages”](https://wordpress.org/support/topic/convert-link_pages-to-wp_link_pages/)
 *  Thread Starter [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [18 years ago](https://wordpress.org/support/topic/convert-link_pages-to-wp_link_pages/#post-817324)
 * Hey tsguitar thanks for the reply but I had tried that already with no success.
 * What happens is that it doesn’t show the image and it shows both previous and
   next links while I want to show them separated, one for Next page and one for
   Previous page so I can style them differently.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[HELP] if page_link](https://wordpress.org/support/topic/help-if-page_link/)
 *  Thread Starter [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [18 years ago](https://wordpress.org/support/topic/help-if-page_link/#post-816601)
 * Ok I found the answer for this one, thanks Otto42 for the hint 😉
 * If anybody’s looking for the same here is the code:
 *     ```
       <?php
       	if ( $numpages > '1' ) :
       	echo $numpages;
       	else :
       	echo no pages;
       	endif;
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Finding if <!–nextpage–> exist](https://wordpress.org/support/topic/finding-if-lt-nextpage-gt-exist/)
 *  Thread Starter [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [18 years ago](https://wordpress.org/support/topic/finding-if-lt-nextpage-gt-exist/#post-817087)
 * Great Otto42 thanks for the hint 😉
 * If anybody’s looking for the same here is the code:
 *     ```
       <?php
       	if ( $numpages > '1' ) :
       	echo $numpages;
       	else :
       	echo no pages;
       	endif;
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[HELP] if page_link](https://wordpress.org/support/topic/help-if-page_link/)
 *  Thread Starter [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [18 years ago](https://wordpress.org/support/topic/help-if-page_link/#post-816575)
 * Bump
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[HELP] if page_link](https://wordpress.org/support/topic/help-if-page_link/)
 *  Thread Starter [uxte](https://wordpress.org/support/users/uxte/)
 * (@uxte)
 * [18 years ago](https://wordpress.org/support/topic/help-if-page_link/#post-816534)
 * Thanks for the reply tsguitar,
 * The code I’m using is bellow:
 *     ```
       <div id="pagenav" class="navlink">
       							<span class="alignleft"><?php link_pages('', '', 'next', '', '<img src="wp-content/themes/brink/images/button_prev.gif" alt="Previous button"/> Previous page'); ?></span>
       							<span class="alignright"><?php link_pages('', '', 'next', 'Next page <img src="wp-content/themes/brink/images/button_next.gif" alt="Next button"/>', ''); ?></span>
       						</div>
       ```
   
 * I’m using images for the navigation and the “pagenav” has a background associated
   with it. Like it is right now when there is no subpages it shows the “pagenav”
   background, what I want is that in that case nothing shows. Basically I want 
   to show/hide the pagenav div depending on if there are subpages or not.

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