Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Layout Type doesn't reflect in the Conditional Logic #3929

Open
AndreeaCristinaRadacina opened this issue Apr 5, 2023 · 4 comments
Open

Comments

@AndreeaCristinaRadacina
Copy link

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?

@HardeepAsrani
Copy link
Member

@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?

@AndreeaCristinaRadacina
Copy link
Author

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.

@HardeepAsrani
Copy link
Member

@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?

@rodica-andronache
Copy link
Contributor

this is still replicable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants