Camp Album — Cartoons

Kai Tak

Liaison

Getaway

Nippy Star Line

Will We Ever Forget

Great Life

Tin Crusher

That Orful Feeling

Will We Ever Forget

Songs My Mother Never Taught Me

Japanese soldier

Canteen 1

Canteen 2

Canadian Red Cross

Geneva Red Cross

1 function special_tooltip_shortcode($atts) { // Default attributes $atts = shortcode_atts(array( 'keyword' => 'Test Tooltip', 'id' => '123', 'items' => '', ), $atts); // Escape output $keyword = esc_html($atts['keyword']); $id = (int) $atts['id']; // Clean items: remove empty lines $lines = preg_split('/\r\n|\r|\n/', $atts['items']); $clean_lines = array_filter(array_map('trim', $lines)); // Trim each line, remove empty $items = ''; foreach ($clean_lines as $line) { $items .= esc_html($line) . '
'; } // Fixed base URL $url = "https://www.macaneselibrary.org/macfams/priv/english/"; // Build output $output = "
{$keyword} #{$id}
{$keyword} #{$id} {$items} Details are in the private website: Already logged in?
Register or login?
"; return $output; } add_shortcode('specialtooltip', 'special_tooltip_shortcode');