I want to make a small extra menu for my website. Is it possible to get the name of the files in a directory and put them in the menu.
So if you have a directory with files: facebook.php; twitter.php; stackoverflow.html; that you will get a menu like this:
- stackoverflow
And if it's possible I want to choose that what kind of files he gets. So I want him to get the name of .php and .html files but not of .css files.
Can somebody help me with this?