Support

Account

Forum Replies Created

  • That was some quick checking! Yeah that was my first approach, unfortunately they said it was not possible in an easy way (i.e in the admin panel for clients) and they might put it in an update in the future.

    However, I’ll search for where the field gets created tomorrow and then see what’s possible. Don’t know how much of the code I’m allowed to share though.

  • I don’t know if ACF was even used for making these, currently I just installed the latest version.

    I have no idea where they are created, so I’ll just run a mass search in all files for the word free_tab.

    That will have to happen tomorrow though, can’t reach the files right now.
    When I do find where the fields are created, how exactly would I extract the field key and use it for making a filter?

    Thanks again!

  • How would I go on about adding a filter in the functions file?

    (also, I got your message through mail but I can’t seem to see your reply here in the forum)

  • Hi,

    I’m pretty sure the field is created in the theme. ACF doesn’t see any fields. So my understanding is that it’s in the PHP.

    I can see in a php file how it gets displayed:

    `for($i=0; $i<$tab_count+1; $i++){
    $tab_icon = get_post_meta( $post->ID, RT_COMMON_THEMESLUG.’free_tab_’.$i.’_icon’, true);
    $tab_name = get_post_meta( $post->ID, RT_COMMON_THEMESLUG.’free_tab_’.$i.’_title’, true);
    $tab_content = get_post_meta( $post->ID, RT_COMMON_THEMESLUG.’free_tab_’.$i.’_content’, true);
    `
    But where would I find exactly where these custom fields get declared in the first place? (since there is where I would set the default value, right?)

    Thanks for the help 🙂

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