255 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Sells items exclusively on Envato Market
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

255 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Sells items exclusively on Envato Market
PersianArt says

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

439 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Located in Europe
+1 more
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

255 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Sells items exclusively on Envato Market
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
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
+3 more
dekciw says
255 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Sells items exclusively on Envato Market
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