Support

Account

Forum Replies Created

  • Hi! I haven’t been able to render any color, I have tried everything ( but i’m guessing that I haven’t been doing it right) the thing is that I have tried to make it work in the php with in the plugin, and my theme, I have even tried to do it with images so I wouldn’t mess up in the code of the color.
    When you wrote the first code I tried to change the color on the field group editing; I have read all the documentation available, and I can’t solve this.. 🙁

  • Hi, sorry but I don’t know what HTML page source you are refering to. If you could point out the root it would be grat. Thanks

  • in the post.php;
    <h2>Available Colors</h2>
    <p><?php the_field(‘colors’); ?></p>

    I have tried:
    1. in the default value box in the edit Custom Fields
    <div style=”color: <?php the_field(‘color’); ?>”>
    <p>I will take on the color chosen!</p>
    </div>
    2. in the meta_box_options.php
    <?php
    do_action(‘acf/create_field’, array(
    ‘type’ => ‘checkbox’,
    ‘name’ => ‘white[hide_on_screen]’,
    ‘value’ => $white[‘hide_on_screen’],
    ‘choices’ => array(
    ‘the_content’ => __(“<?php ?>”,’acf’),
    ‘excerpt’ => __(“Excerpt”),
    ‘custom_fields’ => __(“Custom Fields”),
    … )
    ));
    ?>

    Nothing works, I don’t know where to put the code.

  • I couldn’t make it work.
    I tried everything, but most of the times my “color section” disapeard.

    I have to make this work.. i there any other way with ACF to creat the color section of a product?

    Thanks

  • For eg. I created red green and black and I want that in the website you see the color not the word, i think that this may be done with images. But I don’t know how to do it.

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)