Results 1 to 1 of 1

Thread: How to edit checkboxes to radio buttons Classipress get_post_meta ?

  1. #1
    sreenubfa's Avatar
    Join Date
    Feb 2015
    Posts
    71
    Thanks
    1
    Thanked 2 Times in 2 Posts

    How to edit checkboxes to radio buttons Classipress get_post_meta ?

    I am using with checkboxes this is working fine. But i need radio How to edit checkboxes to radio buttons

    Item Condition:

    <?php if ( get_post_meta( $post->ID, 'cp_new_item', true ) ) echo '<span class="new-item">New item</span>'; else echo ''; ?>
    <?php if ( get_post_meta( $post->ID, 'cp_used_item', true ) ) echo '<span class="used-item">Used item</span>'; else echo ''; ?>
    Regards
    Sreenubfa
    sreenubfa@gmail.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Samcy Why do radio buttons get unselected when we edit ad
    By manishkhullar in forum Help Using ClassiPress
    Replies: 1
    Last Post: July 24th, 2014, 02:52 PM
  2. Change Listing Categories from Radio buttons to checkboxes
    By webdesignit in forum Help Using Vantage (Legacy)
    Replies: 1
    Last Post: May 15th, 2014, 12:00 PM
  3. Radio Buttons
    By procyon in forum ClassiPress General Discussion
    Replies: 8
    Last Post: June 1st, 2013, 11:23 AM
  4. Radio buttons in job packs
    By securityjobs in forum JobRoller General Discussion
    Replies: 3
    Last Post: October 21st, 2011, 10:18 AM
  5. [SOLVED] Required fields being bypassed when using Checkboxes/Radio buttons
    By Fanatic in forum Report ClassiPress Bugs
    Replies: 15
    Last Post: January 7th, 2011, 06:19 PM