ddd
/**
 * @package Hello_Dolly
 * @version 1.7.2
 */
/*
Plugin Name: Hello Dolly
Plugin URI: http://wordpress.org/plugins/hello-dolly/
Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page.
Author: Matt Mullenweg
Version: 1.7.2
Author URI: http://ma.tt/
Text Domain: hello-dolly
*/

// Do not load directly.
if ( ! defined( 'ABSPATH' ) ) {
	die();
}

function hello_dolly_get_lyric() {
	/** These are the lyrics to Hello Dolly */
	$lyrics = "Hello, Dolly
Well, hello, Dolly
It's so nice to have you back where you belong
You're lookin' swell, Dolly
I can tell, Dolly
You're still glowin', you're still crowin'
You're still goin' strong
I feel the room swayin'
While the band's playin'
One of our old favorite songs from way back when
So, take her wrap, fellas
Dolly, never go away again
Hello, Dolly
Well, hello, Dolly
It's so nice to have you back where you belong
You're lookin' swell, Dolly
I can tell, Dolly
You're still glowin', you're still crowin'
You're still goin' strong
I feel the room swayin'
While the band's playin'
One of our old favorite songs from way back when
So, golly, gee, fellas
Have a little faith in me, fellas
Dolly, never go away
Promise, you'll never go away
Dolly'll never go away again";

	// Here we split it into lines.
	$lyrics = explode( "\n", $lyrics );

	// And then randomly choose a line.
	return wptexturize( $lyrics[ mt_rand( 0, count( $lyrics ) - 1 ) ] );
}

// This just echoes the chosen line, we'll position it later.
function hello_dolly() {
	$chosen = hello_dolly_get_lyric();
	$lang   = '';
	if ( 'en_' !== substr( get_user_locale(), 0, 3 ) ) {
		$lang = ' lang="en"';
	}

	printf(
		'<p id="dolly"><span class="screen-reader-text">%s </span><span dir="ltr"%s>%s</span></p>',
		__( 'Quote from Hello Dolly song, by Jerry Herman:' ),
		$lang,
		$chosen
	);
}

// Now we set that function up to execute when the admin_notices action is called.
add_action( 'admin_notices', 'hello_dolly' );

// We need some CSS to position the paragraph.
function dolly_css() {
	echo "
	<style type='text/css'>
	#dolly {
		float: right;
		padding: 5px 10px;
		margin: 0;
		font-size: 12px;
		line-height: 1.6666;
	}
	.rtl #dolly {
		float: left;
	}
	.block-editor-page #dolly {
		display: none;
	}
	@media screen and (max-width: 782px) {
		#dolly,
		.rtl #dolly {
			float: none;
			padding-left: 0;
			padding-right: 0;
		}
	}
	</style>
	";
}

add_action( 'admin_head', 'dolly_css' );
{"id":44,"date":"2026-02-24T18:10:03","date_gmt":"2026-02-24T17:10:03","guid":{"rendered":"https:\/\/www.domeynwyn.be\/?page_id=44"},"modified":"2026-02-24T18:10:03","modified_gmt":"2026-02-24T17:10:03","slug":"evenementen","status":"publish","type":"page","link":"https:\/\/www.domeynwyn.be\/?page_id=44","title":{"rendered":"Evenementen"},"content":{"rendered":"\n<div class=\"wp-block-cover alignfull has-accent-1-color has-text-color has-link-color wp-elements-d52a039d04e95ff461a80a850913376c\" style=\"margin-top:0;margin-bottom:0;padding-top:200px;padding-right:var(--wp--preset--spacing--50);padding-bottom:200px;padding-left:var(--wp--preset--spacing--50);min-height:100vh;aspect-ratio:unset;\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" class=\"wp-block-cover__image-background wp-image-40 size-large\" alt=\"\" src=\"http:\/\/www.domeynwyn.be\/wp-content\/uploads\/2026\/02\/IMG_9954-1024x768.jpeg\" data-object-fit=\"cover\" srcset=\"https:\/\/www.domeynwyn.be\/wp-content\/uploads\/2026\/02\/IMG_9954-1024x768.jpeg 1024w, https:\/\/www.domeynwyn.be\/wp-content\/uploads\/2026\/02\/IMG_9954-300x225.jpeg 300w, https:\/\/www.domeynwyn.be\/wp-content\/uploads\/2026\/02\/IMG_9954-768x576.jpeg 768w, https:\/\/www.domeynwyn.be\/wp-content\/uploads\/2026\/02\/IMG_9954-1536x1152.jpeg 1536w, https:\/\/www.domeynwyn.be\/wp-content\/uploads\/2026\/02\/IMG_9954-2048x1536.jpeg 2048w, https:\/\/www.domeynwyn.be\/wp-content\/uploads\/2026\/02\/IMG_9954-600x450.jpeg 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-10 has-background-dim\" style=\"background-color:#667481\"><\/span><div class=\"wp-block-cover__inner-container has-global-padding is-layout-constrained wp-container-core-cover-is-layout-d47c59a2 wp-block-cover-is-layout-constrained\">\n<div class=\"wp-block-group is-vertical is-content-justification-center is-layout-flex wp-container-core-group-is-layout-ce155fab wp-block-group-is-layout-flex\">\n<h2 class=\"wp-block-heading has-text-align-center is-style-text-annotation is-style-text-annotation--1\">Event<\/h2>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading has-text-align-center has-xx-large-font-size\">Something great is coming soon<\/h3>\n\n\n\n<p class=\"has-text-align-center\">Subscribe to get notified when our website is ready.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-contrast-color has-accent-1-background-color has-text-color has-background has-link-color has-border-color has-accent-1-border-color wp-element-button\">Subscribe<\/a><\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-44","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.domeynwyn.be\/index.php?rest_route=\/wp\/v2\/pages\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.domeynwyn.be\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.domeynwyn.be\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.domeynwyn.be\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.domeynwyn.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=44"}],"version-history":[{"count":1,"href":"https:\/\/www.domeynwyn.be\/index.php?rest_route=\/wp\/v2\/pages\/44\/revisions"}],"predecessor-version":[{"id":45,"href":"https:\/\/www.domeynwyn.be\/index.php?rest_route=\/wp\/v2\/pages\/44\/revisions\/45"}],"wp:attachment":[{"href":"https:\/\/www.domeynwyn.be\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}