Changeset 3383542
- Timestamp:
- 10/23/2025 03:12:57 PM (5 months ago)
- Location:
- esselinknu-settings/trunk
- Files:
-
- 2 edited
-
esselink-nu-settings.php (modified) (1 diff)
-
includes/basic-settings.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
esselinknu-settings/trunk/esselink-nu-settings.php
r3383535 r3383542 4 4 * Plugin URI: http://www.esselink.nu 5 5 * Description: Settings plugin for custom WP configuration for Esselink.nu / Mindworkz WP websites. 6 * Version: 3. 16 * Version: 3.2 7 7 * Author: Esselink.nu 8 8 * Author URI: http://www.esselink.nu 9 9 **/ 10 $esselink_nu_settings_version = 3. 1;10 $esselink_nu_settings_version = 3.2; 11 11 12 12 $esselink_nu_server_hosts = array( -
esselinknu-settings/trunk/includes/basic-settings.php
r3383535 r3383542 451 451 452 452 // Fix ACF popup Mindworkz sites 453 add_action( 'admin_enqueue_scripts', 'esselink_nu_fix_acfpopup' );453 add_action( 'admin_enqueue_scripts', 'esselink_nu_fix_acfpopup', 9999 ); 454 454 455 455 function esselink_nu_fix_acfpopup() { 456 wp_register_style( 457 'esselink-acf-fix', 458 false // Geen extern bestand, we voegen inline toe 459 ); 460 461 wp_enqueue_style( 'esselink-acf-fix' ); 462 456 463 $custom_css = " 457 464 .acf-fc-popup li { 458 465 height: auto; 459 466 } 460 461 467 .acf-fc-popup ul { 462 468 display: grid !important; 463 469 grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); 464 470 } 465 466 471 .acf-fc-popup ul li { 467 472 width: 100% !important; … … 470 475 "; 471 476 472 wp_add_inline_style( 'wp-admin', $custom_css ); 473 } 477 wp_add_inline_style( 'esselink-acf-fix', $custom_css ); 478 } 479 474 480 475 481 function esselink_nu_check_gebrk()
Note: See TracChangeset
for help on using the changeset viewer.