330 posts
  • Author Level 6
  • Collector Level 1
  • 3 Years of Membership
  • Exclusive Author
PersianArt
says

hi, I have 2 question.

1- I want know is it possible to create pages based on specific menu order, it is for single page theme.
Already I use get_pages to create pages based on menu_order to appear pages, but I want pages appear same as they are appear on the menu. is it possible? any hack?

2- also I want know is it possible that know which template use specific page.

thanks

330 posts
  • Author Level 6
  • Collector Level 1
  • 3 Years of Membership
  • Exclusive Author
PersianArt
says

I solved my second question but there is no any idea for first question?

438 posts
  • 3 Years of Membership
  • Author Level 4
  • Collector Level 3
  • Exclusive Author
Pixelous
says

I solved my second question but there is no any idea for first question?

Hi, use

wp_nav_menu

Read more http://codex.wordpress.org/Navigation_Menus

330 posts
  • Author Level 6
  • Collector Level 1
  • 3 Years of Membership
  • Exclusive Author
PersianArt
says


I solved my second question but there is no any idea for first question?

Hi, use

wp_nav_menu
Read more http://codex.wordpress.org/Navigation_Menus

thanks, I use wp_nav_menu for create menu but how to use it for create pages for single pages theme?

332 posts
  • Affiliate Level 1
  • Author Level 4
  • Beta Tester
  • Collector Level 1
+2 more
dekciw
says
330 posts
  • Author Level 6
  • Collector Level 1
  • 3 Years of Membership
  • Exclusive Author
PersianArt
says

http://codex.wordpress.org/Function_Reference/wp_get_nav_menu_items

I will try it, I hope it can solve the problem

thanks

by
by
by
by
by
by