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.