Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have some custom fields which I need to have square brackets inside. This would not be a problem apart from the fact that I need the end user to be able to reselect the custom field on another post but it is not visible. Any custom fields with a name with a square bracket is missing from the drop down list.

Is there any one that can help me to show the custom fields in the dropdown with a square bracket in it?

share|improve this question
1  
Please show us some code. Hard to imagine what your situation looks like and what/where exactly "inside" is. –  kaiser Mar 5 '13 at 16:26
add comment

1 Answer

Try using character entities: [ and ] for left and right square brackets, respectively.

share|improve this answer
    
Hi, thanks for your responses. It seems I was just misinterpreting what was happening. It was only showing 10 custom fields, rather than excluding certain fields. The question has been answered here: wordpress.stackexchange.com/questions/14103/… –  JohnC- Mar 6 '13 at 11:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.