• Hello,

    Every time I set a default page for the blog-posts (readings: set page for the posts), it changes that pages title, and replaces it with “Latest News” in the centre.

    I’m trying to change that, so far.. unsuccessfully. I’ve tried a few things, like this code i found, but it does’t work:

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
    if ( $args['title'] == 'Latest News' )
    {
    $args['title'] = 'New Name Here';
    }
    
    return $args;
    }

    Of course, it also would be nice to not have it centred, but rather aligned left, but can’t figure out where.

    I’d welcome some help please! Thanks much ??

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing the default posts page name’ is closed to new replies.