I’m creating a website with this plugin, i’m using the generatepress theme with generateblocks, which has a custom image block which is really customizable.
I understand that for this plugin to work, that it needs a figure block with the class wp-block-image, then an a href to the image, then an img inside.
I can’t get this to work. I tried modifying the plugin code itself to add
to the $baguettebox_selector = apply_filters list
and add the below into the $baguettebox_enqueue_assets list
has_block( ‘generateblocks/image’ ) ||
but the image still seems to just link to original image.
here are two urls affected, you can only use the link to these once so don’t close them, I don’t want the site indexed
Note one is a custom post type, but the first is a blog. in the blog there are two images, one is a normal wordpress block, the next a generatepress image block
Any help is appreciated 🙂
The page I need help with: [log in to see the link]
- The topic ‘custom post type and generatepress block’ is closed to new replies.