Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

Radio option in portfolio post metabox

Open osbulbul opened this issue 11 years ago • 1 comments

I added two metabox for portfolio posts which comes with Portfolio extension. One is includes textarea and works well. The other uses radio it saves but it didn't return when editting post.

            'portfolio_type' => array(
                'type' => 'radio',
                'value' => 'regular'
                'label' => false,
                'choices' => array(
                    'regular' => 'Regular',
                    'video' => 'Video'
                ),
            ),

So when you choose video from the radio option and save its ok. But while you editting post, radio shows regular as selected not video.

osbulbul avatar Oct 19 '15 20:10 osbulbul

My Bad. I solve it, i was use name of option in another option. So its conflicts.

osbulbul avatar Oct 19 '15 21:10 osbulbul