Support Forum » User Profile

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Oli ThompsonOli Thompson
    Participant

    here is my structure..

    Commission Type (cloneable group):
    --> Type:
    --> Switch (for framing options):

    Framing Options (cloneable group to be shown/ hidden by switch):
    --> Frame:
    --> Price:

    Oli ThompsonOli Thompson
    Participant

    Yes the Framing-options is a field group.

    The issue is that although condition logic rules work when I press "update", the desired outcome is that I would like the field group to be automatically shown/ hidden when the switch is activated (without pressing the "update" button).

    For this particular usecase I am not sure where to look. I tried copying these pages into chatgbt and asking what to do but I can't figure out how to implement the jquery method "if applicable"...

    in reply to: Metabox with Oxygen Builder (does it work?) #24533
    Oli ThompsonOli Thompson
    Participant

    apologies if this is a silly question, most of the documentation I have read mentions function.php folders.

    in reply to: Metabox with Oxygen Builder (does it work?) #24532
    Oli ThompsonOli Thompson
    Participant

    In Oxygen Is it necessary to add this code to the online generator code?

    <?php
    /**
    * Plugin Name: Hello Custom Field
    * Plugin URI: https://metabox.io
    * Description: A simple plugin for custom fields.
    * Version: 1.0
    * Author: Meta Box
    * Author URI: https://metabox.io
    * License: GPL2
    */

    in reply to: Metabox with Oxygen Builder (does it work?) #24529
    Oli ThompsonOli Thompson
    Participant

    If I am using Oxygen Builder (with no theme available/functions.php folder) is it possible to upload the code using advanced scripts,

    & the details you set here:
    //Or use with the plugin Advanced Scripts:
    – Location: everywhere
    – Hook: init
    – Priority: 20//

    Without using code at the beginning to create a plugin.?

    in reply to: Metabox with Oxygen Builder (does it work?) #24506
    Oli ThompsonOli Thompson
    Participant

    Just curious would these values remain the same or change if I created multiple custom post types.?

    Hook: init
    Priority: 20

    in reply to: Metabox with Oxygen Builder (does it work?) #24501
    Oli ThompsonOli Thompson
    Participant

    I wanted to try removing the Metabox plugins after creating the custom post type and custom field types.

    After seeing other documentation on Metabox, my idea was to remove extra plugin bloat on this site by installing JUST THE METABOX GENERATED CODE.

    Additionally I wanted to try and be a bit more hands on with PHP and not just use another plugin for every extra field or feature.

    in reply to: Metabox with Oxygen Builder (does it work?) #24494
    Oli ThompsonOli Thompson
    Participant

    Thank you so much for getting back in touch!!

    Just wanted to ask..

    I have been trying the “Advanced Scripts” Plugin (similar to Code Snippets). Because my php coding skills are not great. I thought it would be possible to add "Custom Post Types" & "Custom Fields" to my oxygen test site without having to create any plugins and use the Metabox code generator options. But I might need help with a few simple questions before trying..

    There are "3 Drop Down Options" For applying PHP in the "Advanced Scripts" Plugin)
    Would like to ask which options you may feel are applicable to choose..

    < />

    1) Location >>

    Everywhere.., Front-end.., Administration Area.., Manually..?

    2) Hooks >>

    Init., wp loaded., wp head., wp footer., admin_menu., admin_init., admin_head., admin_footer., login_head., login_footer.,

    3) Priority >>

    input number // 10

    <hr />

    I wasn't sure If I had to stick the php from the "Custom Field/ Online Generator" together with the "Custom Post Type" Generator..?

    If the location had to be manually chosen with oxygen..?

    If there needs to be a hook of any sort..? or if a priority number should be set..?

    <hr />

    Many Thanks again,
    Oli

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