neve icon indicating copy to clipboard operation
neve copied to clipboard

Custom Layout Type doesn't reflect in the Conditional Logic

Open AndreeaCristinaRadacina opened this issue 1 year ago • 3 comments

Hi there!

While working with the Custom Layouts, I noticed something that might be confusing. If I select from the modal a Single Post layout, when I enter the editor inside the conditional logic dropdown, I have all the options. For example, even if I picked a Single Post layout, I can still insert a condition like Page is equal to About: image Then, when I go on the About page, of course, nothing appears: image And also, nothing appears when I open a single post either: image

Do you think it would be better to control the conditions so that only the ones relevant to the templates to be visible?

AndreeaCristinaRadacina avatar Apr 05 '23 10:04 AndreeaCristinaRadacina

@AndreeaCristinaRadacina Seems to work fine for me: https://colorbrothers.s4-tastewp.com/sample-page/ -
Screenshot 2023-04-06 at 2 05 35 AM

I'm understanding this wrong?

HardeepAsrani avatar Apr 05 '23 20:04 HardeepAsrani

The idea is that if I select a template that is Single Post, I still have access to conditions that do not correspond to the single post.

As an example of this situation, I added a Single Post template and Conditions related to Single Page. As a result, the custom layout is not appearing anywhere.

I wanted to point out the fact that if I select Single Post, I don't understand why I have conditions that are not specific to this kind of template.

Let me know if now it's more clear. We can have a short call to exemplify better.

AndreeaCristinaRadacina avatar Apr 06 '23 08:04 AndreeaCristinaRadacina

@AndreeaCristinaRadacina I get the point but when I tried last night, it was working for me. Would it be possible for you to share a test instance so I could confirm I wasn't doing anything wrong?

HardeepAsrani avatar Apr 06 '23 14:04 HardeepAsrani