• Resolved wbenterprises

    (@wbenterprises)


    This plug-in seems like something I could use to help manage a very large photo gallery without having to use a bulky plug-in like Envira or FooGallery.

    I’ve watched the YT video and tried to make this plugin work for the WordPress Gutenberg Gallery block (as the plug-in claims it supports galleries) but I just can’t figure it out.

    Is there any documentation on how to apply this plug-in to common blocks or items on WP pages? If not, any suggestions on how to make it work with the Gallery block?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Akhtarujjaman Shuvo

    (@mdshuvo)

    It will basically support all kinds of galleries. Could you please provide the website page link where you added Gallary block?

    Thread Starter wbenterprises

    (@wbenterprises)

    Hi there,

    I don’t have it online for you to view yet, but I can provide a snippet of the output code to see if you can help. Also, how do I apply it only to a single gallery or post?

    This is generated by the built-in WP Gutenberg Gallery block.

    The gallery block formats like this:

    <div id="content" class="site-content fullwidthcontained">
      <div id="container" class="site-container no-sidebar">
    	<div id="primary" class="main content-area">
    		<main id="main" class="site-main" role="main">
    			<article id="post-###" class="zita-article post-### page type-page status-publish hentry">
    				<div class="entry-header entry-page"></div>
    				<div class="entry-content">
    				<figure class="wp-block-gallery columns-4">  // Start of gallery block, probably?
    					<ul class="blocks-gallery-grid">  // Gallery grid is based on an unordered list
    						<li class="blocks-gallery-item">  // Each gallery item is preceeded with <li> tags
    							<figure>
    								<a href="link to image"><img></a>
    								<figcaption>caption here</figcaption>
    							</figure>
    						</li>
    						<li>...
    						</li>
    						<li>...
    						</li>
    						<li>...
    						</li>
    						<li>...
    						</li>
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gallery block support?’ is closed to new replies.