Ana Teresa Vieira Ribeiro

Home / A Hero’s Tale Retold / Ana Teresa Vieira Ribeiro

Countess Ana Teresa Vieira Ribeiro #658

Birth: 17 June 1846, S. Lourenço, Macau
Marriage: 11 July 1862, Count Bernardino de Senna Fernandes
Marriage: 20 December 1894, Church of the Seminary of S. José, Leôncio Alfredo Ferreira after her first husband died, Ana Teresa married her nephew. The marriage was registered in Sé. No offspring
Death: 4 February 1929, Macau

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