Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter jeffmeadows

    (@jeffmeadows)

    Thanks Corey that’s very helpful.

    I guess the difficulty in my case is that the ref or post ID for reusable blocks identifies the individual reusable block but not the original block type. My template just needs a simple conditional test for block type within the post loop. In practice I doubt that I’ll need more than one reusable block per post anyway so the conditional has_block( 'block' ) works quite well. I’m also testing for get_post_gallery() to pick up those galleries that have not been made into reusable blocks and has_block( 'core-embed/vimeo' ) to flag up my videos.

    I’ll take a look at Gutenberg on GitHub with a view to putting in a feature request. Thanks for your help.

    Thread Starter jeffmeadows

    (@jeffmeadows)

    Hi Corey. Thanks for getting back to me. I am indeed using has_block as a conditional in my templates. I want to be able to label posts on blog pages to show when the post has a gallery.

    has_block('gallery') works fine under normal circumstances but when the gallery block is set to be reusable its name becomes ‘block’ and there appears to be no way to tell that it’s a gallery. At the moment the gallery is the only reusable block in each post so I’m using has_block('block') and that’s working fine, but it would be helpful if reusable blocks could be targeted based on their type.

    Perhaps in the future the reusable block name could include the original block name in some form.

    Thread Starter jeffmeadows

    (@jeffmeadows)

    Hi

    Thanks for responding so quickly. An option to set excerpt length would be very helpful but in the meantime your tweak works perfectly.

    I case it’s useful for your ongoing development I found that I wanted to add items to the ‘follow’ menu. It wasn’t hard to do but it might be a nice feature for future implementation.

    You can see what I mean here: trailanderrors.com/podcasts/.

    Thanks again for a really useful plugin. I’ve posted a 5 star review.

    Thank you Brian. Your modification was just what needed!

    Automattic: Wouldn’t be better if this was core behaviour?

    Hi
    I have the same problem with 1.8.1. Fancybox effect no longer operating. Settings seem OK. I’ve gone back to 1.7.
    Cheers
    Jeff

    Nice plugin. Thanks. Multiple instances would be great as would the ability to point at gallery folders already on the server. How about integration with NextGen Gallery?

    I’m sure that I’m not alone in wanting to get away from Flash slideshows in favour of something that will work on iPhone and iPad.

    Just to support jeansienkin’s request. I make free websites for charities and local non-profit organisations and your plugin is generally the first one I install. It’s a fantastic plugin and I couldn’t do without it, but I’d love to get my sites fully working on iPhone and iPad. Obviously I need to dump Jerome’s slideshow plugin. The jQuery Cycle has all the necessary features. I just wish I had the coding skills to integrate it with NextGen Gallery. I hope you’ll consider it or something like it.
    Thanks for a your great work.

Viewing 7 replies - 1 through 7 (of 7 total)