Title: Nested Loop issues
Last modified: August 20, 2016

---

# Nested Loop issues

 *  [John](https://wordpress.org/support/users/groupewibi/)
 * (@groupewibi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/nested-loop-issues/)
 * Im trying to process a loop to retrieve specifics content type to look like :
 * 1. Africa (4)
    1.1 Nigeria (2) 1.2 Senegal (2) 1.3 …
 * 2. Europe (10)
    2.1 France (4) 2.2 UK (5) 2.3 Belgium (1)
 * I have 2 type of content.
    First, Countries, and second Projects
 * Each projects are related to a country by relation.
 * A country use a Hierarchy.
 * I want to list Country by hierarchy, display the numbers of projects for each
   continent, and for each country.
 * i cannot use wp_list_page because i want to redirect the link on a specific page
   using a specific page to display the list of project.
 * I have try many WordPress Functions to process it, without any success.
    Any 
   Idea where i can start with ?
 * Than u.

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

 *  [Max](https://wordpress.org/support/users/clementsm/)
 * (@clementsm)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/nested-loop-issues/#post-2926336)
 * I don’t understand what you are doing, what are these “specifics content type”
   in wordpress, are they custom taxonomies, are they just regular categories, or
   are they just a wordpress page hierarchy?
 *  Thread Starter [John](https://wordpress.org/support/users/groupewibi/)
 * (@groupewibi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/nested-loop-issues/#post-2926341)
 * Sorry Max,
 * Here more informations :
    I have create Custom Content using [ Custom Content Type Manager. ](http://wordpress.org/extend/plugins/custom-content-type-manager/)
 * I think it’s neither Taxonomy or Category. Or maibe i missing some stuff there.

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

The topic ‘Nested Loop issues’ is closed to new replies.

## Tags

 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [nested](https://wordpress.org/support/topic-tag/nested/)
 * [wp_list_page](https://wordpress.org/support/topic-tag/wp_list_page/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [John](https://wordpress.org/support/users/groupewibi/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/nested-loop-issues/#post-2926341)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
