• 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 https://almakinat.com/index.html

    and this link show the categories in Arabic (?? ??????) in the right of the site https://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.