Title: use different file includes for single.php
Last modified: August 30, 2016

---

# use different file includes for single.php

 *  [peter azer](https://wordpress.org/support/users/peter-azer/)
 * (@peter-azer)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/use-different-file-includes-for-singlephp/)
 * im beginning to convet html to wordpress, I’ve some problem in single.php to 
   show the post with different headers because mysite use in English and Arabic
   language.. my site containing Arabic and English catagories and any category 
   set or connected with menu admin page… this link show the categories in English(
   all categories) in the left of the site [http://almakinat.com/index.html](http://almakinat.com/index.html)
 * and this link show the categories in Arabic (كل الفئات) in the right of the site
   [http://almakinat.com/ar.html](http://almakinat.com/ar.html)
 * the categories in English connected with category name (English) and the categories
   in Arabic connected with category name (Arabic) set on category admin page screen
   in wordpress.. so I need the post content from subcategories of English category
   to use header-en.php and footer-en.php and the post content from subcategories
   of arabic category to use header-ar.php and footer-ar.php
 * note: English and Arabic category connected with categories and this categories
   connected with other categories only not have any post… the posts in sub of sub
   categories of English and Arabic categories… the structure of category for example:
 * category (English)
 * sub category 1
 * sub of sub category 1
    the post1
 * the post2
 * sub category 2
 * sub of sub category 2
    the post1
 * the post2
 * category (arabic)
 * sub category 11
 * sub of sub category 11
    the post1
 * the post2
 * sub category 22
 * sub of sub category 22
    the post1
 * the post2
 * so my question how to make it on single.php ?
    any one can help me please, i’ll
   review the website for client tomorrow, best regards and many thanks

The topic ‘use different file includes for single.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [peter azer](https://wordpress.org/support/users/peter-azer/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/use-different-file-includes-for-singlephp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
