Support

Account

Forum Replies Created

  • one solution, might be getto but that is to have all fields on all templates that will be using custom fields and just have them display:none.

    Then just do some checking with jquery on what page template were are on (#page_template) and also check if it changes and just add display:block on field blocks that should be displayed.

    Is this really bad? What would the performance be on the dashboard and the db if having let say 90 fields in total.

  • Can you somehow hook into this

    
    if( typeof acf !== 'undefined' ) {
    		
    	acf.postbox.render({"id":"acf-group_551acc92f306d","key":"group_551acc92f306d","style":"seamless","edit_url":"http:\/\/themefolder\/wp-admin\/post.php?post=235&action=edit","edit_title":"Edit field group","visibility":false});	
    
    }

    and give the newly visible fields the jquery i have created perhaps?

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