# Page content in widget loses styling.

**URL:** <https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634>\
**Category:** Beaver Builder\
**Created:** [June 29, 2015, 11:49pm UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634 "2015-06-29T23:49:25Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukebennis](https://community.wpbeaverbuilder.com/letter_avatar_proxy/v4/letter/l/aca169/32.png) [@lukebennis](https://community.wpbeaverbuilder.com/u/lukebennis)\
**Post date:** [June 29, 2015, 11:49pm UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/1 "2015-06-29T23:49:25Z")

</div>

Howdy,

I have been using this plugin - [https://wordpress.org/plugins/insert-pages/](https://wordpress.org/plugins/insert-pages/) - to insert page content into footers & sidebars to make it easy for the client to edit but in it’s latest update it conflicts with the text editor window in BB. It removes the options bar & makes it unusable.

I have then found these plugins that do the same but do not carry the page styling from BB with them:

1. [https://wordpress.org/plugins/page-in-widget/](https://wordpress.org/plugins/page-in-widget/)
2. [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

Last time I had to add the below snippet to make the styling work correctly by adding specific page id’s. Does this need to adjusted in some way?

function my\_global\_builder\_posts($post\_ids) {  
$post\_ids[] = ‘551’;  
return $post\_ids;  
}  
add\_filter(‘fl\_builder\_global\_posts’, ‘my\_global\_builder\_posts’);

I have a live site which I can provide the details for if you would like. It’s this site - [http://adamstownearlylearning.org.au/2015/](http://adamstownearlylearning.org.au/2015/)

Thanks,  
Luke

---

<div class="post-metadata">

**Author:** ![billy](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/billy/32/11_2.png) [@billy](https://community.wpbeaverbuilder.com/u/billy)\
**Post date:** [June 30, 2015, 8:38am UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/2 "2015-06-30T08:38:56Z")

</div>

Hey Luke,

I am going to have one of the other guys take a look at this, but in the meantime, have a look at [this thread](http://forum.wpbeaverbuilder.com/support/q/all-sites-broken-with-the-last-update-to-getting-post-id/) as it is possible you’ll just need to adjust your code a bit based on a recent update. Let me know if that helps!

Best,  
Billy

---

<div class="post-metadata">

**Author:** ![robby](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/robby/32/12_2.png) [@robby](https://community.wpbeaverbuilder.com/u/robby)\
**Post date:** [June 30, 2015, 9:52am UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/3 "2015-06-30T09:52:20Z")

</div>

Hey Luke! Sorry you’re having trouble. It looks like we may have introduced a bug with the fl\_builder\_global\_posts filter in a recent update. To clarify, you have a page that you built with Beaver Builder that you are including on another page, right? Where are you having an issue with the editor? Is it on the page where you’re using the [insert] shortcode or on the page you’re including?

If you can provide the login details to your site, I’d be curious to have a look at what’s going on there.

Thanks!

---

<div class="post-metadata">

**Author:** ![lukebennis](https://community.wpbeaverbuilder.com/letter_avatar_proxy/v4/letter/l/aca169/32.png) [@lukebennis](https://community.wpbeaverbuilder.com/u/lukebennis)\
**Post date:** [June 30, 2015, 5:06pm UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/4 "2015-06-30T17:06:40Z")

</div>

Hi Robby,

No worries, it’s much less trouble then I had with clients & shortcode soup!

I’ll just clarify my situation as I’ve tried a fix which didn’t work & I’ll reply in private with the login detail.

**Original & current setup -** I have the plugin “Insert Pages” by Paul Ryan adding page content to the footer that has some text & two buttons. The idea being it’s easier for clients to edit that page with BB instead of using the widgets area.

This displays the content correctly but removes the text editor controls when you go to edit s text box.

**A fix I tried -** I tried finding an alternative to the “Insert Pages” plugin & found plugins called “Custom Content shortcode” & “Page In Widget”. These are still installed if you want to try them out.

They both didn’t effect the text editor & display the content but the styling does not display correctly. i.e the buttons are just text links. This is the issue I had previously & was fixed with the .php snippet filtering based on specific page ID’s

So unsure if the text editor conflict or the styling is easier to fix but either would work.

Thanks,  
Luke

---

<div class="post-metadata">

**Author:** ![lukebennis](https://community.wpbeaverbuilder.com/letter_avatar_proxy/v4/letter/l/aca169/32.png) [@lukebennis](https://community.wpbeaverbuilder.com/u/lukebennis)\
**Post date:** [June 30, 2015, 5:08pm UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/5 "2015-06-30T17:08:09Z")

</div>

[Content Hidden]

---

<div class="post-metadata">

**Author:** ![robby](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/robby/32/12_2.png) [@robby](https://community.wpbeaverbuilder.com/u/robby)\
**Post date:** [July 1, 2015, 8:25am UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/6 "2015-07-01T08:25:15Z")

</div>

Hi Luke. Thanks for explaining. It looks like the Insert Pages plugin is causing a conflict with the TinyMCE text editor. When I disable the plugin, the text editor starts working normally again. I think this is going to be the easier of the two to fix. I am going to make a bug report for this conflict and we’ll look into it in closer detail. Sorry for the trouble and thanks for the heads up.

---

<div class="post-metadata">

**Author:** ![lukebennis](https://community.wpbeaverbuilder.com/letter_avatar_proxy/v4/letter/l/aca169/32.png) [@lukebennis](https://community.wpbeaverbuilder.com/u/lukebennis)\
**Post date:** [July 1, 2015, 4:09pm UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/7 "2015-07-01T16:09:57Z")

</div>

Hi Robby,

Thanks for the reply, sounds good.

I realise this is probably outside your normal support boundaries as it involves a third party plugin but do you think it would get looked at any time soon?

Unfortunately I reply on this plugin heavily so will need to figure out an interim solution for my existing sites. which isn’t your issue but just wondering if I should wait or not.

Thanks again for your help on this.

Thanks,  
Luke

---

<div class="post-metadata">

**Author:** ![billy](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/billy/32/11_2.png) [@billy](https://community.wpbeaverbuilder.com/u/billy)\
**Post date:** [July 2, 2015, 8:38am UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/8 "2015-07-02T08:38:10Z")

</div>

Hey Luke,

We have a large release planned for sometime next week and if this seems like an easy bug our lead dev can get it, we’ll certainly do so. I can’t guarantee it at the moment though as the guys are OOO at the moment. We’ll get back to you soon!

Best,  
Billy

---

<div class="post-metadata">

**Author:** ![lukebennis](https://community.wpbeaverbuilder.com/letter_avatar_proxy/v4/letter/l/aca169/32.png) [@lukebennis](https://community.wpbeaverbuilder.com/u/lukebennis)\
**Post date:** [July 2, 2015, 5:01pm UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/9 "2015-07-02T17:01:46Z")

</div>

Hi Billy,

I completely understand, thanks for the reply, I just wasn’t sure of how your schedules/timelines worked.

I’ll test it with the next update & I’ll leave this unresolved in case I find a solution in the next week as well.

Thanks,  
Luke

---

<div class="post-metadata">

**Author:** ![justin](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/justin/32/16_2.png) [@justin](https://community.wpbeaverbuilder.com/u/justin)\
**Post date:** [July 6, 2015, 12:49pm UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/10 "2015-07-06T12:49:03Z")

</div>

Hi Luke,

I tested this out and it looks like the Insert Pages plugin is only coded to work with the text editor in wp-admin, not the frontend. When the text editor is loaded on the frontend, the Insert Pages plugin is causing a few errors because it is expecting things from the admin environment to be available.

The good news is that it looks like the plugin author is very active on [wordpress.org](http://wordpress.org). I’ve posted a support request and will let you know if I hear anything back. You can follow along on that here…

[https://wordpress.org/support/topic/breaks-the-editor-when-called-on-the-frontend-using-wp\_editor?replies=1](https://wordpress.org/support/topic/breaks-the-editor-when-called-on-the-frontend-using-wp_editor?replies=1)

Thanks,  
Justin

---

<div class="post-metadata">

**Author:** ![justin](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/justin/32/16_2.png) [@justin](https://community.wpbeaverbuilder.com/u/justin)\
**Post date:** [July 7, 2015, 9:56am UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/11 "2015-07-07T09:56:39Z")

</div>

Hi Luke,

The plugin author got back to me and said he’ll get a fix out this week! Keep an eye out for that.

Justin

---

<div class="post-metadata">

**Author:** ![lukebennis](https://community.wpbeaverbuilder.com/letter_avatar_proxy/v4/letter/l/aca169/32.png) [@lukebennis](https://community.wpbeaverbuilder.com/u/lukebennis)\
**Post date:** [July 7, 2015, 4:54pm UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/12 "2015-07-07T16:54:36Z")

</div>

Hi Justin,

That’s great, I am still working on it myself so will double post any positive results.

Cheers

---

<div class="post-metadata">

**Author:** ![system](https://community.wpbeaverbuilder.com/uploads/default/original/2X/9/9db1b183a7ea1efa26199a2a2b3511d742473dae.png) [@system](https://community.wpbeaverbuilder.com/u/system)\
**Post date:** [April 27, 2019, 10:17pm UTC](https://community.wpbeaverbuilder.com/t/page-content-in-widget-loses-styling/3634/13 "2019-04-27T22:17:08Z")

</div>

Closed on April 27, 2019, 10:17pm UTC


