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

Probable Bug #7

Open
abhranil26 opened this issue Jul 22, 2024 · 1 comment
Open

Probable Bug #7

abhranil26 opened this issue Jul 22, 2024 · 1 comment

Comments

@abhranil26
Copy link

I am completely not sure if this is a bug but sure feels like it. Here is what's happening.

Lets assume there are no posts and pages with lang tags modified with this plugin on this wordpress site. I create a page with the tag en and then i create another page with tag es. But when i want to choose alternate pages from the drop down, the option does not appear.

Now when I publish a post with en tag, that when the drop down options is triggered and starts appearing in the pages section. Similarly for every lang code, unless there is a post with that lang code, does not matter if you have a page, it wont appear in the alternate pages drop down.
i feel like something in the code needs to be changed.

Also if i delete the posts, the option for dropdown from pages disappears.

@abhranil26
Copy link
Author

i have fixed this here and have confirmed on my site that it is working.

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

1 participant