• Resolved emanuelsw

    (@emanuelsecurityweek)


    All the Front End blocks are created in ‘my-theme/blocks/…’

    Is there I way I can move a block to a custom folder inside my theme?

    • This topic was modified 10 months, 2 weeks ago by emanuelsw.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ryan Kienstra

    (@ryankienstra)

    Hi @emanuelsw,

    Sure, this filter will change where the blocks/ directory is.

    • This reply was modified 10 months, 2 weeks ago by Ryan Kienstra.
    Thread Starter emanuelsw

    (@emanuelsecurityweek)

    Could I have this filter applied only to 1 custom block?

    I have created a ‘features’ folder in my theme. Inside it I want to add a feature called ‘hires’. I want all the code related to be under the same folder. I have created a new block and want to change the path just for that to point to mytheme/features/hires/block/block-hires.php

    Would this be possible?

    Plugin Contributor Ryan Kienstra

    (@ryankienstra)

    Hi @emanuelsecurityweek,

    Sorry, it’s not possible to change the template location for only 1 block.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Moving custom template in a different folder’ is closed to new replies.