Support » Theme: Customizr » If title empty

  • function czr_fn_post_page_title_callback() {
    $_title = apply_filters( ‘tc_title_text’, get_the_title() );
    if (!trim($_title)){
    return ”;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello Vasudeva,

    Please kindly clarify the exact issue so I can best assist, at the moment it’s not very clear on my end exactly what it is you’re wanting to get assistance with.

    If possible, fix an inaccuracy in your theme code. Added code in czr_fn_post_page_title_callback

    if (!trim($_title)){
    return ”;
    }

    I also recommend to do the processing of the result through the filter

    $x = sprintf….
    return apply_filters(‘tc_vasu_the_title’, $x);

    Hi @vasudevaserverrus,

    The devs will look into this and make the required changes if they find them needed.

    Have a good day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.