Title: Jomez's Replies | WordPress.org

---

# Jomez

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PS Sub-pages] custom post](https://wordpress.org/support/topic/custom-post-6/)
 *  Thread Starter [Jomez](https://wordpress.org/support/users/jomez/)
 * (@jomez)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/custom-post-6/#post-4576086)
 * Your hint to use a custom-page instead of an archive-page was helpfull.
    This
   works. Now the custom page type behaves like a page and can be placed as a sub-
   page. Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PS Sub-pages] custom post](https://wordpress.org/support/topic/custom-post-6/)
 *  Thread Starter [Jomez](https://wordpress.org/support/users/jomez/)
 * (@jomez)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/custom-post-6/#post-4576083)
 * Okay, I just realize jou gave me a hint to use a custom page in stead of an archive,
   to loop the custom posts. I will try this and let you know the result.
    Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PS Sub-pages] custom post](https://wordpress.org/support/topic/custom-post-6/)
 *  Thread Starter [Jomez](https://wordpress.org/support/users/jomez/)
 * (@jomez)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/custom-post-6/#post-4576082)
 * The main page is ‘about us’.
    I would like to add the custom post-type ‘our team’
   as a subpage. I have no idea how to achieve this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PS Sub-pages] parent as title](https://wordpress.org/support/topic/parent-as-title/)
 *  Thread Starter [Jomez](https://wordpress.org/support/users/jomez/)
 * (@jomez)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/parent-as-title/#post-4559162)
 * yes
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PS Sub-pages] parent as title](https://wordpress.org/support/topic/parent-as-title/)
 *  Thread Starter [Jomez](https://wordpress.org/support/users/jomez/)
 * (@jomez)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/parent-as-title/#post-4559117)
 * Found the answer:
 * $children = get_pages(‘child_of=’.$post->ID);
    if( count( $children ) > 0 ) {
   echo ‘ID).'”>’.get_the_title($post->ID).’‘; } elseif(intval($post->post_parent)
   >0){ $post = get_post($post->post_parent); echo ‘ID).'”>’.get_the_title($post-
   >ID).’‘; }
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Boilerplate] adding javascript](https://wordpress.org/support/topic/adding-javascript-4/)
 *  Thread Starter [Jomez](https://wordpress.org/support/users/jomez/)
 * (@jomez)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/adding-javascript-4/#post-4285766)
 * Okay; I just found out I have to rename script-starter.js to script.js.
    Now 
   it works. Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Squelch Tabs and Accordions Shortcodes] unordered list](https://wordpress.org/support/topic/unordered-list-2/)
 *  Thread Starter [Jomez](https://wordpress.org/support/users/jomez/)
 * (@jomez)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/unordered-list-2/#post-4215342)
 * Thank you for your reply. I found out that the problem was in the boilerplate
   I used for the theme.
    Sorry for the unjustified grumble above. It’s a nice plugin

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