• Resolved 西門 正 Code Guy

    (@simongcc)


    Hello! I found that the custom post type block have unlimited possibilities! Thanks for creating that.

    For instance, I would like to create a layout with image and excerpt being wrapped by an anchor so that the whole block could be clickable. Because the Edit as HTML seems not working or it shows empty content in the Gutenberg Editor, is it possible to accomplish it?

    Many thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support dimned

    (@dimned)

    Hi @simongcc,
    Thanks for your feedback and for your question. Could you provide some examples of what you try to accomplish? We’ll see if there any block that might meet your requirement or we’ll add your request to our list of features then.

    Thread Starter 西門 正 Code Guy

    (@simongcc)

    Hi Dmyto,

    Thanks for getting back.

    For instance,
    I am creating something like this:

    
    <a href="#">
    <!-- img here -->
    <!-- content text excerpt here -->
    </a>
    

    After rendering, it is a grid of block under “wp-block-columns” with its own link.
    The whole block is clickable which is mostly used nowadays because layman user get used to a simple clickable area of things they perceive.
    So as a whole, there is 9+ grids looks like 3×3 matrix.
    Because I use a fancy light box plugin so I could add the class to open a light box instead of the link.

    Plugin Support dimned

    (@dimned)

    Hi @simongcc,
    Thanks for the explanation. I guess you would rather need to add a lightbox feature to some block like Banner? It would be more convenient to set it up on the same page without creating Posts of custom post type, select featured, images, etc.?

    Thread Starter 西門 正 Code Guy

    (@simongcc)

    Hello @dimned

    Sorry for late reply. I have created a UAT site for client.
    And you are right, the client would like to create a lightbox features.
    Currently, I setup a custom post type for the client to create lightbox content so he can do it on his own to manage those content.

    Of course, if the content is inside the same block page, it might be convenient to manage but it also depends on the UI and the ease of use or block editor limitation.

    If you like to see the UAT, I could grant you an access so you could collect this as a use case for the development idea and we could make the improvement together.
    You may provide me an email or contact method so that I could send you the credentials.

    Much thanks.

    Plugin Support dimned

    (@dimned)

    Hi @simongcc,
    Feel free to submit a request to describe the feature as detailed as it is possible with examples and screenshots. You may also refer to this topic so that the agents could see the question you’ve put here on the forum

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘create custom template with link wrapping elements for Custom Post Type’ is closed to new replies.