Forum Replies Created
-
AuthorPosts
-
mcmasterMemberoops that first code box should have had “Editor” as the title, not “Post Format.”
mcmasterMemberYes, that makes sense. Thanks, Steve.
Would that approach also work for limiting a workflow to one page ID? See https://piklist.com/support/topic/limiting-workflow-to-specific-post-id-or-template/.
mcmasterMember*bump*
I’m converting a client’s site from ACF to Piklist, and ran into this again. She has a post category for Podcasts, and we have an ACF field group for credits that is only applicable to these posts.
@gabzon’s suggestion works if you want to show only certain fields in a meta-box, but for non-podcast posts we don’t need any meta-box at all.I saw that meta-boxes shown only for certain post formats is in the works, so I’m crossing my fingers that this might also be in the works? https://piklist.com/support/topic/metabox-based-on-post-format-type/
Thanks!
DonnaNovember 12, 2015 at 8:06 pm in reply to: adding workflows causes sidebar meta-box to disappear #4955
mcmasterMember@Steve, thanks, that explains it!
Donna
mcmasterMemberYes, yes, yes!! 😀
mcmasterMember@Steve, updated and all is well. Thanks!
Donna
mcmasterMemberSteve, I’m sending you access to a testbed where you can see it in action. The error is thrown whenever any page is visited.
mcmasterMemberWell, I just switched to Twenty-Fifteen and the error persists. I also deactivated all plugins except for Piklist 0.9.9.6 and WP Helpers 1.9.0.
mcmasterMember@Steve, I just ran into the same error on a site running v1.9.0
this is a child theme of Roots, which is the predecessor of Sage/Bedrock
mcmasterMemberThe above was @Kevin. @Steve, I will try to do that. Have been really buried the past few days.
mcmasterMemberWould it be better to specify a column width?
mcmasterMemberNo. I think maybe it happened because I clicked on the wrong part of the teeny editor? But no, I have no filters or special editor code of any kind.
mcmasterMember@hozefasmile, the front-end forms code was added in Piklist beta 0.9.5, so it will not be in any of the 0.9.4.x versions.
0.9.4.29 is still the stable release that is listed on wordpress.org. You can download 0.9.9.6 (or the latest work in progress) at http://piklist.com/trunk.
mcmasterMember@Steve, here’s what I know. My client has a lot of projects. The singleton projects are not in the navigation; they’re accessible only via pages that reference related projects. The relationship is configured on the pages (code above).
1) I upgraded to 0.9.9 in order to fix a previous Piklist bug, and tested that locally. The new code worked great. However, a few days later I realized that the related projects were no longer being displayed.
2) The projects were still in the wp_post_relationships table. I went in to edit a project, which has a field that displays a list of related pages. The list was empty. I also went in to edit some pages, and I THINK that their lists were also empty, but in retrospect I may have been mistaken about that.
3) I ran the update code (see above). After this, the page editor did show the correct lists of posts. As I said, this may have also been the case before running the update.
4) But on the front end, get_posts() still returned empty results for both post_belongs and post_has queries.
5) I was pretty frustrated and decided to just rewrite the code to do my own post relationship. But in the process of looking at the pages, I had fixed a typo and saved it. Later I noticed that this page was now displaying the project list on the front end. Checked the projects, and each was displaying its relationship with that page but not with other pages it was related to. So I clicked the Update button on another page, and its projects showed up. I then went through and Update’d all the pages and now the projects are all back in view.
Conclusion: I don’t think divine intervention accounts for any of this. The update code (2,3) may have been a red herring. But (1) and (4) were not a problem with my code. It was working fine before upgrading to Piklist 0.9.9, and I made no changes to it. Hopefully (5) provides a clue to what the problem was.
I can provide copies of the database at each stage if that’s helpful. Or let me know what you need.
Regards,
Donna
mcmasterMemberOkay, updated all the pages and now the project <-> page relationships are restored on all pages and single projects.
-
AuthorPosts