Home-Heritage

Home

The Portuguese established a base in Macau in the 16th century for trade and the spread of Christianity. This enclave lasted for four and a half centuries until 1999, when the colony was returned to China.

The Portuguese families there, a close-knit community, developed their own unique culture, Patuá and fusion cuisine, and called themselves “Macaenses” or, in English, “Macanese.” Over time, many Macanese families sought a better life elsewhere, emigrating to Portugal, Brazil, the USA, Canada, Australia and many other countries. Their community was fragmented and their 500-year-old culture was in danger of extinction. This website seeks to preserve their heritage and share it with younger generations.

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