292 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

292 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?

438 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

292 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
292 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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by