Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mathieu Viet

    (@imath)

    ?? Just tested ?? And didn’t manage to reproduce ! Weird ??

    Thread Starter FreeWPress

    (@freewpress)

    Hi, i think issue is this code:

    <?php remove_filter('the_title', 'bpbbpst_bbpress_change_topic_title', 99, 2 ); ?>
    <div id="crumbs" class....
    <?php add_filter('the_title', 'bpbbpst_bbpress_change_topic_title', 99, 2 ); ?>

    I have put this in header to remove a double title for breadcrumbs…

    I think when i deactivate plugin this code generate title error…

    Have you other method to remove double”resolved” text from breadcrumbs??

    Plugin Author Mathieu Viet

    (@imath)

    Well i’m working on a new version, so i’ll check how to avoid this, in the meantime
    you can do something like this :

    <?php if( function_exists( 'bpbbpst_bbpress_change_topic_title' ) remove_filter('the_title', 'bpbbpst_bbpress_change_topic_title', 99, 2 ); ?>
    <div id="crumbs" class....
    <?php if( function_exists( 'bpbbpst_bbpress_change_topic_title' ) add_filter('the_title', 'bpbbpst_bbpress_change_topic_title', 99, 2 ); ?>

    Thread Starter FreeWPress

    (@freewpress)

    my programs for php give syntax error when i paste this code… I thik this is correct code:

    <?php if( function_exists( 'bpbbpst_bbpress_change_topic_title' )) { remove_filter('the_title', 'bpbbpst_bbpress_change_topic_title', 99, 2 ); } ?>
    
    <?php if( function_exists( 'bpbbpst_bbpress_change_topic_title' )) { add_filter('the_title', 'bpbbpst_bbpress_change_topic_title', 99, 2 ); } ?>

    Is correct for you?

    Thread Starter FreeWPress

    (@freewpress)

    Yes i confirm issue was resolve with this code… Good!!

    I hope for the future you implements other wonderfull functions…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘If disable plugin disappear all title in all page, post, forum etc.’ is closed to new replies.