WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Custom Field Template] show checked of items as list (2 posts)

  1. thomasfals
    Member
    Posted 4 years ago #

    This is the part of my template creating problems:

    [services]
    type = checkbox
    value = Design # Fotografi # Konceptudvikling # Nyhedsbrev # Redesign

    [extra]
    type = radio
    value = Udviklet i samarbejde med Retouch # Privat projekt #
    default = Udviklet i samarbejde med Retouch
    clearButton = true

    How do I output checked of items as a li? When I use this I only get the first checked of item.

    <?php
    	      // Show services if we have one
    	       if ($services!= "") {
    	       echo '<li>' . $services . '</li>';
    	   }
    	?>

    Also how do I write out the radiobuttons from "extra" ?

  2. thomasfals
    Member
    Posted 4 years ago #

    Anyone? All I need is help on writing out the services part

Topic Closed

This topic has been closed to new replies.

About this Topic