WPIntell

Source evidence

Insert page with shortcode content – CSS wiped

Insert Pages · support · 2024-09-03T09:25:00+00:00

complaintsentiment
mediumseverity
0.86relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 33 rows with source links

12.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
hebhansen unresolved
Hey inserter I have a plugin that generates membership info table on a given page X with a shortcode. At every plugin upgrade page x is wiped for all content, so building explanatory stuff for a landing page is pointless. I have designed a new page that will be my frontend and now I insert the wiping page x in-here. It appears that all css does not reach my frontend page so everything looks narrow like mobile and not in a table. How it looks in page X How it looks live (Scroll down for the insert) FYI: I have placed the insert page block inside group block (width 1280px) This topic was modified 1 year, 8 months ago by hebhansen . Other plugins often enqueue their scripts and styles in nonstandard ways, so Insert Pages needs custom code to fetch them for any inserted page. For example: https://github.com/uhm-coe/insert-pages/blob/master/insert-pages.php#L550-L569 If the plugin that generates your membership table is open source, we can inspect the code and see if we can build that integration. Otherwise, if we don’t have access to view the code, you’ll have to reach out to the maintainers and request instructions or documentation on how to enqueue the CSS. Hey @figureone The plugin providing this member info table is WCFM Membership . It’s a free plugin and available in the wp repository. I assume this is also the plugin wiping that page that at times see an update. The original wiped page is here: https://svalinnart.com/artist-application/ I moved the page with content and the insert to here: https://svalinnart.com/artist-membership/ If there’s a fix for this, it would be brilliant. Thx Looking at the code, I think you should be using the [wcfm_vendor_membership] shortcode from the WCFM Membership plugin instead of Insert Pages here. I’m unable to enqueue the scripts and styles because there is a check in their code to only load them on the assigned Membership page, or a page that has that shortcode: https://plugins.trac.wordpress.org/browser/wc-multivendor-membership/trunk/core/class-wcfmvm-frontend.php#L977 In my test, that shortcode rendered the Membership table appropriately (and the styles and scripts were also loaded in the Insert Page block I had created on the same page). I used to be able to insert this page though. If I insert the shortcode direct. The page is wiped when they run an upgrade. That’s the point of inserting using your plugin. Thx

Comments

4 shown
Paul Ryan 2024-09-04T17:50:00+00:00

Other plugins often enqueue their scripts and styles in nonstandard ways, so Insert Pages needs custom code to fetch them for any inserted page. For example: https://github.com/uhm-coe/insert-pages/blob/master/insert-pages.php#L550-L569 If the plugin that generates your membership table is open source, we can inspect the code and see if we can build that integration. Otherwise, if we don’t have access to view the code, you’ll have to reach out to the maintainers and request instructions or documentation on how to enqueue the CSS.

hebhansen 2024-09-04T19:00:00+00:00

Hey @figureone The plugin providing this member info table is WCFM Membership . It’s a free plugin and available in the wp repository. I assume this is also the plugin wiping that page that at times see an update. The original wiped page is here: https://svalinnart.com/artist-application/ I moved the page with content and the insert to here: https://svalinnart.com/artist-membership/ If there’s a fix for this, it would be brilliant. Thx

Paul Ryan 2024-09-04T21:37:00+00:00

Looking at the code, I think you should be using the [wcfm_vendor_membership] shortcode from the WCFM Membership plugin instead of Insert Pages here. I’m unable to enqueue the scripts and styles because there is a check in their code to only load them on the assigned Membership page, or a page that has that shortcode: https://plugins.trac.wordpress.org/browser/wc-multivendor-membership/trunk/core/class-wcfmvm-frontend.php#L977 In my test, that shortcode rendered the Membership table appropriately (and the styles and scripts were also loaded in the Insert Page block I had created on the same page).

hebhansen 2024-09-04T22:02:00+00:00

I used to be able to insert this page though. If I insert the shortcode direct. The page is wiped when they run an upgrade. That’s the point of inserting using your plugin. Thx