PHP: [RunEverywhere]: ACF Improvements

// // // ADMIN UI: HIDE ACF FIELDS WITH CLASS u-dnone // Allows specific ACF fields to be conditionally hidden in the editor by assigning them the // u-dnone class via field settings. Useful for internal or deprecated fields that…Continue reading

single post

if ( ! isset( $GLOBALS[‘post_md_rec_shown’] ) ) { $GLOBALS[‘post_md_rec_shown’] = []; } $already_shown = &$GLOBALS[‘post_md_rec_shown’]; // Theme unique_ids einlesen und mit eigener Liste zusammenführen $unique_ids = get_query_var( ‘unique_ids’, [] ); $already_shown = array_unique( array_merge( $already_shown, $unique_ids ) ); $post =…Continue reading