WPIntell

Source evidence

GenerateBlocks – missing CSS

Advanced Popups · support · 2022-05-06T02:48:00+00:00

complaintsentiment
mediumseverity
0.92relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

2 / 31 rows with source links

6.5% 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
smile9381 unresolved
Absolutely loving how lightweight this plugin is, and I’m psyched that it just uses Gutenberg. However, it is not respecting my GenerateBlocks at all. Is there a way that I can get my GB blocks to display properly? Any PHP snippet or code change that will enable that? Thank you! p.s. Would also love for the plugin to have a top-level link rather than be hidden in the settings menu. 🙂 Hi there, I have had the same issue. Dont know if you still need help. Add this code snippet to your functions.php or Snippet plugin. This should work for you like it did for me. Had to do some digging to see what the CPT was called. add_filter( 'generateblocks_do_content', function( $content ) { $args = array( 'post_type' => 'adp-popup', // Other args if you need them. ); $posts = get_posts( $args ); foreach ( (array) $posts as $post ) { if ( isset( $post->post_content ) ) { $content .= $post->post_content; } } return $content; } ); @nebin2010 Unfortunately your snippet didn’t work for me. I used the Snippets plugin to add the code as a PHP snippet. When that didn’t work I tried to add it directly to the bottom of my funcitons.php file but that created a few errors. Any suggestions? This reply was modified 3 years, 10 months ago by Bryckroad .

Comments

3 shown
smile9381 2022-05-06T02:54:00+00:00

p.s. Would also love for the plugin to have a top-level link rather than be hidden in the settings menu. 🙂

nebin2010 2022-07-01T11:29:00+00:00

Hi there, I have had the same issue. Dont know if you still need help. Add this code snippet to your functions.php or Snippet plugin. This should work for you like it did for me. Had to do some digging to see what the CPT was called. add_filter( 'generateblocks_do_content', function( $content ) { $args = array( 'post_type' => 'adp-popup', // Other args if you need them. ); $posts = get_posts( $args ); foreach ( (array) $posts as $post ) { if ( isset( $post->post_content ) ) { $content .= $post->post_content; } } return $content; } );

Bryckroad 2022-07-06T21:34:00+00:00

@nebin2010 Unfortunately your snippet didn’t work for me. I used the Snippets plugin to add the code as a PHP snippet. When that didn’t work I tried to add it directly to the bottom of my funcitons.php file but that created a few errors. Any suggestions? This reply was modified 3 years, 10 months ago by Bryckroad .