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

Post Box: Placing of pages not possible #123

Closed
greatestview opened this issue Jan 21, 2020 · 2 comments
Closed

Post Box: Placing of pages not possible #123

greatestview opened this issue Jan 21, 2020 · 2 comments
Assignees

Comments

@greatestview
Copy link
Contributor

Tested on Grid v1.8.0

You can choose pages via »Single Contents« autocomplete search field and place the post box in grid, but the object passed to the frondend is incomplete: $this->output and $this->publish are empty strings. That’s probably because the post box uses get_post for retrieving pages instead of get_pages: https://github.com/palasthotel/grid-wordpress/blob/master/core/classes/wordpress/grid_post_box.php#L41

Changing backend settings in Grid makes no difference as far as I can tell.

Could you have a look into this @EdwardBock? Thank you :)

@EdwardBock
Copy link
Member

@greatestview I checked on this. get_post is not having any problems with post ids of pages. Have a look at https://doc.grid.ws . On the homepage we have to pages placed with post box. Working fine.

@greatestview
Copy link
Contributor Author

That’s true, it had something to do with a custom post box override. Thank you!

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

No branches or pull requests

2 participants