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

While Creating / Updating post "slug" value gets ignored. #59

Open
BitWielderSumit opened this issue Mar 17, 2020 · 1 comment
Open

Comments

@BitWielderSumit
Copy link

Hello Team.

While creating / updating a post, value passed for Slug is getting ignored.

Post post = PostBuilder.aPost()
.withTitle(TitleBuilder.aTitle().withRendered("ABCDTitleUpdate124").withRaw("ABCDTitleUpdate124").build())
.withExcerpt(ExcerptBuilder.anExcerpt().withRendered("ABCDTitle124Excerpt").build())
.withContent(ContentBuilder.aContent().withRendered("ABCDTitle124Content").build())
// This string will get ignored completely while creating / updating post.
.withSlug("sampleslug")
.build();

Regards,
Sumit

@hasanli-orkhan
Copy link

I have faced with the same error. And still wait the answer)
#57

Methods withLink() & withSlug() not working. WordPress generates slugs itself.

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

2 participants