Support » Plugin: Simple Fields » How to display fields

  • Hi

    My wordpress version is 4.3 and I have installed new Simple Field 1.4.11 plugin. I have also created field groups and added fields of checkboxes and text boxes and also I have added Post Connectors and Available for post types is checked for all like pages, posts etc. It is displaying me in the page edit screen but can any one tell me how can i display in my front end.Should I wrote any code in function.php. Please tell.If you have any video link or reference related to this. Please help.

    Any help will be highly appreciable.

    Thanks,

    https://wordpress.org/plugins/simple-fields/

Viewing 1 replies (of 1 total)
  • Mahesh Sriram

    (@mahesh010)

    Hi,

    Finally I have a solution.Please add PHP code widget plugins, it will help you to put php code in it. Next in the post page add this:

    <?php
    $display= simple_fields_value(‘display’); // slug of ‘display’
    $brand= simple_fields_value(‘brand’); // slug of ‘brand’
    $color= simple_fields_value(‘color’); // slug of ‘color’
    ?>
    <div>
    <span>Display : </span><?php echo $display;?>
    <span>Brand : </span><?php echo $brand;?>
    <span>Color : </span><?php echo $color;?>
    </div>

Viewing 1 replies (of 1 total)
  • The topic ‘How to display fields’ is closed to new replies.