Skip to content

Fails to localise background image in Cover block with fixed or repeat background #748

Description

@iamtakashi

When one of the settings or both is enabled, CBT fails to localise the image path in a Cover block even if the localised image option is on.

For example,

http://localhost.local/wp-content/uploads/2024/09/image.jpg should become <?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/image.jpg, but it stays the absolute path in this case.

Image

Image

Image

Activity

  1. matiasbenedetto commented on Nov 27, 2024

    @matiasbenedetto
    Contributor

    A potential fix for this: #750

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions