Support

Account

Home Forums Backend Issues (wp-admin) Can\'t Filter Content on the Back End

Helping

Can\'t Filter Content on the Back End

  • I have tried all of the filters on the docs to see if/what any of them effect how data is displayed on the back end and nothing seems to work.

    Is there a way to modify how data is displayed on the back end?

  • Hi @dnavarrojr

    Thanks for the post.

    To change the styles that are used on the acf admin panel/post edit screen, you would need to enqueue your custom stylesheet using the acf/input/admin_enqueue_scripts action.

    The code in your functions.php file would look like so:

    function my_acf_admin_enqueue_scripts() {
    	
    	// register style
        wp_register_style( 'my-acf-input-css', get_stylesheet_directory_uri() . '/css/my-acf-input.css', false, '1.0.0' );
        wp_enqueue_style( 'my-acf-input-css' );
        
        
        // register script
        wp_register_script( 'my-acf-input-js', get_stylesheet_directory_uri() . '/js/my-acf-input.js', false, '1.0.0');
        wp_enqueue_script( 'my-acf-input-js' );
        
    }
    
    add_action( 'acf/input/admin_enqueue_scripts', 'my_acf_admin_enqueue_scripts' );
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.