Last active
November 27, 2017 00:36
-
-
Save sawwd/b701676bcbb4ab11daeb34c7bcc3b14e to your computer and use it in GitHub Desktop.
Standalone version of WordPress Menu Walker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$elements = array( | |
// Solutions | |
array( | |
'id' => 24, | |
'parent' => 0, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// General Purpose Mounting Solutions | |
array( | |
'id' => 9, | |
'parent' => 24, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Machine Tools Solutions | |
array( | |
'id' => 7, | |
'parent' => 24, | |
'title' => 'Machine Tools Solutions', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Press Installation Solutions | |
array( | |
'id' => 31, | |
'parent' => 24, | |
'title' => 'Press Installation Solutions', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Foundation Isolation Solutions | |
array( | |
'id' => 26, | |
'parent' => 24, | |
'title' => 'Foundation Isolation Solutions', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Anchoring Solutions | |
array( | |
'id' => 32, | |
'parent' => 24, | |
'title' => 'Anchoring Solutions', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Grouting Solutions | |
array( | |
'id' => 33, | |
'parent' => 24, | |
'title' => 'Grouting Solutions', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Industries | |
array( | |
'id' => 34, | |
'parent' => 0, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Machine Tools Solutions | |
array( | |
'id' => 34991, | |
'parent' => 34, | |
'title' => 'Machine Tools Solutions', | |
'target' => '', | |
'url' => '#machine-tools-solutions', | |
'classes' => '', | |
), | |
// Machine Tools Solutions | |
array( | |
'id' => 9999, // fake page id to prevent recursion | |
'parent' => 34991, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Foundation Isolation Solutions | |
array( | |
'id' => 26, | |
'parent' => 34991, | |
'title' => 'Foundation Isolation Solutions', | |
'target' => '', | |
'url' => '#Foundation Isolation Solutions', | |
'classes' => '', | |
), | |
// Anchoring Solutions | |
array( | |
'id' => 32, | |
'parent' => 34991, | |
'title' => 'Anchoring Solutions', | |
'url' => '#Anchoring Solutions', | |
'target' => '', | |
'classes' => '', | |
), | |
// Grouting Solutions | |
array( | |
'id' => 33, | |
'parent' => 34991, | |
'title' => 'Grouting Solutions', | |
'target' => '', | |
'url' => '#Grouting Solutions', | |
'classes' => '', | |
), | |
// Services | |
array( | |
'id' => 14, | |
'parent' => 0, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Application Consulting | |
array( | |
'id' => 29, | |
'parent' => 14, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Engineering Design | |
array( | |
'id' => 28, | |
'parent' => 14, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Vibration Analysis | |
array( | |
'id' => 22, | |
'parent' => 14, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Training & Support | |
array( | |
'id' => 23, | |
'parent' => 14, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Technical Info | |
array( | |
'id' => 18, | |
'parent' => 0, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Literature | |
array( | |
'id' => 27, | |
'parent' => 18, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// FAQs | |
array( | |
'id' => 20, | |
'parent' => 18, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// About | |
array( | |
'id' => 21, | |
'parent' => 0, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Contact | |
array( | |
'id' => 30, | |
'parent' => 0, | |
'title' => '', | |
'target' => '', | |
'url' => '', | |
'classes' => '', | |
), | |
// Locate a Rep | |
array( | |
'id' => 3099, | |
'parent' => 30, | |
'title' => 'Locate a Rep', | |
'target' => '', | |
'url' => 'contact/#find-a-rep', | |
'classes' => '', | |
), | |
// Support | |
array( | |
'id' => 30999, | |
'parent' => 30, | |
'title' => 'Support', | |
'target' => '', | |
'url' => 'contact/#support', | |
'classes' => '', | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment