Title: Theme crashed
Last modified: August 20, 2016

---

# Theme crashed

 *  Resolved [Multimediaex](https://wordpress.org/support/users/multimediaex/)
 * (@multimediaex)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/)
 * Hi, thanks for the Plugin, but I have the Problem, that the theme is crashed.
   You can look it here at the left side:
    [Picture](http://www.multimedia-extreme.de/wp-content/uploads/2013/02/theme.png)
 * Here is a Link to the Topic:
    [Topic](http://www.multimedia-extreme.de/forums/topic/ich-brauch-hilfe/)
 * Do you have any idea?
 * [http://wordpress.org/extend/plugins/buddy-bbpress-support-topic/](http://wordpress.org/extend/plugins/buddy-bbpress-support-topic/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/theme-crashed/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/theme-crashed/page/2/?output_format=md)

 *  Plugin Author [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * (@imath)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509471)
 * yes it’s the plugin you use for your share box at the left side of your layout
   that uses get_the_title i think.
 * What’s the url of this plugin so that i figure out the best way to avoid this?
 *  Thread Starter [Multimediaex](https://wordpress.org/support/users/multimediaex/)
 * (@multimediaex)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509472)
 * Hmm, this is integrated into my theme its no extra plugin
 *  Plugin Author [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * (@imath)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509479)
 * Let me guess, it’s a premium theme 😉
 * Then you’ll have to find in its code the portion where the floating bar is using
   the function get_the_title or the_title and tell me from what hook it uses it
   and with what priority.. else i can’t do anything for you, sorry.
 *  Thread Starter [Multimediaex](https://wordpress.org/support/users/multimediaex/)
 * (@multimediaex)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509480)
 * I have asked in the support forum, you will get answer soon
 *  Thread Starter [Multimediaex](https://wordpress.org/support/users/multimediaex/)
 * (@multimediaex)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509484)
 * Ok, here ist the code, I hope it helps
 * >  <?php if($oswc_share_email_show) { ?>
   >  <!– Email –>
   >  <div class=”panel” title=”Email to a friend”> &body=<?php the_title();?
   > > – <?php echo rawurlencode(the_permalink()) ?>” target=”_blank” class=”share-
   > email”>  </div>
   >  <?php } ?>
 *  Thread Starter [Multimediaex](https://wordpress.org/support/users/multimediaex/)
 * (@multimediaex)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509485)
 * OK here again
 *     ```
       <div class="panel" title="Email to a friend">
                               <a href="mailto:type%20email%20address%20here?subject=I%20wanted%20to%20share%20this%20post%20with%20you%20from%20<?php bloginfo('name'); ?>&body=<?php the_title(); ?> - <?php echo rawurlencode(the_permalink()) ?>" target="_blank" class="share-email">&nbsp;</a>
                           </div>
       ```
   
 *  Plugin Author [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * (@imath)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509487)
 * How is it inserted in the process ?
 * Is it using a hook like add_action(‘wp_head’…) or is it hardcoded in a template
   and if so in what tempate ?
 *  Thread Starter [Multimediaex](https://wordpress.org/support/users/multimediaex/)
 * (@multimediaex)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509488)
 * Sorry, but I don´t know anything of this. I´m not a coder. Can you say me speacialy
   what you need?
 *  Plugin Author [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * (@imath)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509494)
 * Well i don’t know what to add to my last reply !!
 * How the share box is loaded in the blog ?
    Is it using a hook like add_action(‘
   wp_head’), if so with what priority ? or is it always in the different templates(
   hardcoded) ?
 *  Thread Starter [Multimediaex](https://wordpress.org/support/users/multimediaex/)
 * (@multimediaex)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509495)
 * OK, perhaps this helps, I got this answer of the support forum:
 * > You’ll notice the WordPress function being used to get the title in that line
   > of code is:
   >  <?php the_title(); ?>
 *  Plugin Author [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * (@imath)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509497)
 * i’ve noticed already. but still how this code is added to content ?
 *  Thread Starter [Multimediaex](https://wordpress.org/support/users/multimediaex/)
 * (@multimediaex)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509525)
 * OK, I asked again in the support Forum and I got this answer:
 * > It’s hard-coded in the template files. For instance, page.php line 26:
   > Code: Select all
   >  <div class=”hide-responsive”><?php if(get_post_type()!=’forum’){
   > oswc_get_template_part(‘sharebox’);}// show the sharebox ?></div>
   > You can see there it gets excluded for pages that are in the “forum” post type,
   > so it will not display on forum pages.
 * I hope it helps
 *  Plugin Author [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * (@imath)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509527)
 * Ok hardcoded 🙁
 * Well can you try to edit the code they gave you like this :
 *     ```
       <div class="hide-responsive">
       <?php if( !in_array( get_post_type(), array( 'forum', 'topic', 'reply' ) ) ) {oswc_get_template_part('sharebox');}// show the sharebox ?></div>
       ```
   
 * it should fix the trouble.
 *  Thread Starter [Multimediaex](https://wordpress.org/support/users/multimediaex/)
 * (@multimediaex)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509558)
 * Hi, sorry that I needed so long to answer. I tried your code but there was the
   problem, that I couldn´t see any sharebox.
 *  Plugin Author [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * (@imath)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/#post-3509563)
 * Well, that’s what your theme support gave you, i simply made sure that all the
   post types involved in bbPress are taking in account (see [#3935007](http://wordpress.org/support/topic/theme-crashed?replies=15#post-3935007)).
   
   When i asked you if the sharebox was inserted using a hook, that’s because it’s
   the only way for me to remove my filters….
 * The last way to have your sharebox and the support mention before the title of
   the topic is to try something like this in your sharebox portion of code :
 *     ```
       <?php
       remove_filter('the_title', 'bpbbpst_bbpress_change_topic_title', 99, 2 );?>
       <div class="hide-responsive">
       <?php oswc_get_template_part('sharebox');// show the sharebox ?></div>
       <?php
       add_filter('the_title', 'bpbbpst_bbpress_change_topic_title', 99, 2 );
       ?>
       ```
   

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/theme-crashed/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/theme-crashed/page/2/?output_format=md)

The topic ‘Theme crashed’ is closed to new replies.

 * ![](https://ps.w.org/buddy-bbpress-support-topic/assets/icon-256x256.png?rev=
   1018025)
 * [Buddy-bbPress Support Topic](https://wordpress.org/plugins/buddy-bbpress-support-topic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddy-bbpress-support-topic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddy-bbpress-support-topic/)
 * [Active Topics](https://wordpress.org/support/plugin/buddy-bbpress-support-topic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddy-bbpress-support-topic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddy-bbpress-support-topic/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [Multimediaex](https://wordpress.org/support/users/multimediaex/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/theme-crashed/page/2/#post-3509573)
 * Status: resolved