Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #679488

    Hello Support,

    On http://www.railcenter.nl i have an page title ‘thing’. If you go to a single calendar item like http://www.railcenter.nl/agenda/rio-naar-railcenter/1472720400 you see that the page title is ‘NIEUWS’. I do not know how this is created so I cannot change it now.

    Could you tell me how I can change this title of maybee delete this title if changing is not possible.

    Thank you very much.

    Met vriendelijke groet, Willem Eelman PM

    #679494

    Hi AppelenEelman!

    Please add following code to Functions.php file in Appearance > Editor

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
        if (is_single())
        {
            $args['title'] = get_the_title($id);
            $args['link'] = get_permalink($id);
            $args['heading'] = 'h1';
        }
    
        return $args;
    }

    Best regards,
    Yigit

    #679506

    Hi Yigit,

    Top! Thank you very much!

    Met vriendelijke groet,
    Willem Eelman PM

    #679508

    Hey!

    You are welcome!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change (or delete) a page title of a single calendar item’ is closed to new replies.