Unhide Custom Fields Screen Options When Using Advanced Custom Fields
If you use Advanced Custom Fields you may not realize it removes the ‘Custom Fields’ option from your Screen Options view and hides them entirely in the space they normally occupy below your posts/pages. That’s nice occasionally and a pain other times. Today it was a pain.
I figured this out one time before but it took me a while to re-find it at this github page so I’m leaving it here in case I forget again.
add_filter( 'acf/settings/remove_wp_meta_box', '__return_false' );
I’m doing Faster Nyan Cat!Pronounced nyan cat Build! Build! tomorrow at NMC so . . . I’d better get moving on linking all this madness into some sort of coherent story with examples. So take a deep breath and . . . go look at another webpage. This is going to be long. Consider it something between speaker notes, reference links, and that scene in A Beautiful MindNo idea if that’s actually an image from that movie. links everything together with string.and shortly before psychiatric intervention . . . Once Upon a Time There was a guy who didn’t know how to program but who had quite a few needs and even more odd dreams that he wanted to come true. He was from Alabama which made it perfectly acceptable to make things work with a combination of duct/duck tape and bailing wire (even high tech things). This is the story of how to do stuff like that. It isn’t best practice.I make bulk HTML patterns in Google Spreadsheets. It may not even be good practice.Occasionally people who can program will yell at me for not doing it right. It is simply a way (that has worked) to get lots of work done quickly within the narrow confines of my skill set. Keep in mind, I did a presentation for […]
flickr photo shared by duncan under a Creative Commons ( BY-NC ) license It’s particularly helpful in a rather specific situation- i.e. one where you’re doing a mother blog and want to see all the student comments (like Allen did with the #thoughtvectors reader) but since we have students using their blogs for more than one class things get messy fast. Enter me asking smarter people on Twitter, almost going to the forsaken land of Yahoo Pipes,I like Yahoo Pipes but one has to assume Yahoo will kill it dead very soon . . . although I’ve been hearing that for several years. and being saved by Google liking Mark more than me. So anyway, here’s the structure to get the comments for specific categories/tags. by name – http://bionicteaching.com/comments/feed/?category_name=apple by category ID – http://bionicteaching.com/comments/feed/?cat=18 by tag name – http://bionicteaching.com/comments/feed/?tag=tutorial-2 This is one of those things that barely rates a post but given I didn’t know how to do it maybe it’ll help some other wanderer and for people who want this it’ll be really useful. Thanks to Mark, Alan, and Martin for helping me out.
We had some trouble with the selected display name not showing up correctly in comments. It worked fine in themes which displayed post and page authors but comments was often incorrect. That wasn’t good from a user experience perspective and also concerned me a bit in terms of what students might expect to be showing vs what actually was showing. A bit of Google-ing prior to trying to write it from scratch led me to this post which I was able to add to a network activated plugin and be done with the issue. I tend to link in the source of stuff I used to solve the problemHarvard may not agree. in the plugin. That gives me an embedded reference/footnote in case I ever need to revisit it and it provides a kind of credit as well. Good for me. Possibly even good for the author of the fix. Having a plugin network activated for fixes of this type is also handy. It keeps the plugin numbers down and ends up being a single place for adding/removing/troubleshooting random custom functions like this.