Linking from Menu and a Page to the latest post from a specific category

You could go about this in a few ways. Here are two options:

Option 1 – simplest. Since your weekly newsletter is already in its own Category, just link to that category. Your category template should in theory include the most recent post at the top of the page. You can always tweak the category template to show the full post of the most recent newsletter and then just links to past copies.

Option 2 – a little more complicated but fits your requirements more precisely. Create a shortcode.

In either your theme’s functions.php or in a custom plugin,

add_shortcode('latest_newsletter', 'get_latest_newsletter');
function get_latest_newsletter($atts, $content = null) {
    $args = array(
        'posts_per_page' => 1,
        'cat' => '4' // replace this number with your category's ID
    );
    $posts = get_posts($args);
    foreach($posts as $post) {
        $latest_post="<a href="" . get_permalink($post) . '">' . $post->title . '</a>';
    }
    return $latest_post;
}

For the Page, you can put your new shortcode [latest_newsletter] directly into the WP content editor, or if you want it to appear somewhere else, you can create a custom Page Template and use do_shortcode where you want the link to appear, such as in a sidebar or something custom.

For the Menu, use the “Shortcodes in Menus” plugin and then paste the same shortcode [latest_newsletter] into the menu under the Blog menu item.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)