Books

Books

Books Massa praesent sit suspendisse ac volutpat amet. Commodo elit at non neque ullamcorper id. What They Say About Us We have received 400 comments on our website, all complimentary (click here to see the full list).  Here are a few samples. 4.8/5  4.8/5 Costumer’s Rating 1. Thank you once again for the fantastic […]

Books Read More »

Books-History

History Books The Macanese people, despite their strong sense of history, have never written much about it in English. Until recently there have only been a few books in English, mainly by foreigners. These are among them, listed alphabetically under authors. António de Andrade e Silva, Eu Estive em Macau Durante a Guerra Instituto Cultural

Books-History Read More »

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');