Title: jnpwebdeveloper's Replies | WordPress.org

---

# jnpwebdeveloper

  [  ](https://wordpress.org/support/users/jnpwebdeveloper/)

 *   [Profile](https://wordpress.org/support/users/jnpwebdeveloper/)
 *   [Topics Started](https://wordpress.org/support/users/jnpwebdeveloper/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jnpwebdeveloper/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jnpwebdeveloper/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jnpwebdeveloper/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jnpwebdeveloper/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jnpwebdeveloper/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Socialize] [Plugin: Socialize] Alert Box Social Buttons disappeared (box is still there)](https://wordpress.org/support/topic/plugin-socialize-alert-box-social-buttons-disappeared-box-is-still-there/)
 *  [jnpwebdeveloper](https://wordpress.org/support/users/jnpwebdeveloper/)
 * (@jnpwebdeveloper)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-socialize-alert-box-social-buttons-disappeared-box-is-still-there/#post-2047862)
 * This was not working for me and I was getting very frustrated as all old posts
   did not have the Alert Box buttons displaying. I had no idea where this stuff
   was even saved. So I dived into the code.
 * I figured out it was a bug in the socialize-frontend.php file.
 * Instead of using the default boxes in the alert box it just relied on the post
   having them set custom for each post. That’s why they were showing up on new 
   posts but not on all the old ones.
 * To fix the issue, simply replace the following lines in the “socialize-frontend.
   php” file located in the “frontend” folder of the Socialize plugin.
 * **Replace this at line 161:**
    `$socializemeta = explode( ',', get_post_meta(
   $post->ID,'socialize',true));`
 * **With these lines:**
 *     ```
       $post_socialize_meta = get_post_meta($post->ID,'socialize',true);
       $sm_str = !empty($post_socialize_meta) ? $post_socialize_meta : $socialize_settings['sharemeta'];
       $socializemeta = explode(',', $sm_str);
       ```
   
 * Used this fix on [CampTrip](http://www.camptrip.com) and it’s all working fine
   now.
 * I hope this helps some people. Happy blogging 🙂

Viewing 1 replies (of 1 total)