The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
I’m using this code to display a dropdown menu of child pages
will put the words: ‘Select a Topic’ at the top of of the list…
but I can’t seem to be able to incorporate that bit in my original code..
can someone help me with the syntax?
**Edit I’m doing this in wordpress btw
well, I figured it out by taking a different approach… (I had help lol cause I’m still so new at php).
$replacer = ““;
$replacer = $replacer.”Select a Venue”;
$select = preg_replace(“#]*)>#”, $replacer, $select);
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed