Lovable Pro Key not working as expected

Hi,

we are using Wordpress in conjunction with Lovable. I have used Conditonjs to show/hide elements in the past but for some reason it is not working.

This is the key:
{{dc:post:meta key="_lovable_has_logo"}}

I have tried it the “traditonal way”
string(empty) is not {{dc:post:meta key="_lovable_has_logo"}}

lovable says to try this
{{dc:post:meta key="_lovable_has_logo"}} is 1
lovable setup a condition where 1 is the logo being present in the database

neither work to hide the surrounding div.

what am i missing?

in the screenshot the logo “is” present…so should not be hidden, but when i test on a page where no logo is present…the blank space of the div is there. There is NO min-width/height on that div

see screenshots below.

Hello @uxmediahouse,

Thanks for writing to us.

To help you with your concern, please share your details in a secure note. Please provide the following details

  • WordPress Login URL

  • Admin-level username and password

  • Exact page URL

    You can find the Secure Note button at the bottom of your posts

    Thanks

added secure note above. thanks!

Hello Riceman,

Normally, this should work:

{{dc:post:meta key="_lovable_has_logo"}} is 1

Could you tell us which vendor does not have a logo, so we can test a vendor with a logo and the one that does not have a logo?

Alternatively, you can use:

{{dc:post:meta key="_lovable_image_url"}} is not {leave this empty}

Best Regards.

Right! not sure why it isnt… here are the two pages:

No Logo:

Logo:

Hello Riceman,

The vendor, J E Redington Plumbing Co, has a logo. You can check it below:

The problem is that the logo image is not loading or just a dot.

  • See the secure note below.

Thanks.