Translating custom post type metaboxes [closed]

I have found what is the problem. It isn’t enough to localize just the labels e.g. (‘Label’,’text_domain’). But also the variable itself – my code should be like this: add_meta_box($this->_meta_box[‘id’], ($this->_meta_box[‘title’],’text_domain’), array(&$this, $this->_meta_box[‘function_callback’]), $page, $this->_meta_box[‘context’], $this->_meta_box[‘priority’]);

Cusotm MetaBox content not getting saved

You’re update function asks for a request parameter named meta_box_nonce (which is by the way a bad name) but your meta box template does not provide such a field. It should work if you add the following line right at the end of your function author_book_meta_box(): wp_nonce_field( ‘author_book_meta_box_nonce’, ‘meta_box_nonce’ ); Please consider to prefix the … Read more

Parent Page and Breadcrumb URL’s for Custom Post Types Not Working

Okay, I was overthinking this by a mile, because it didn’t occur to me that WordPress automatically generates archive pages for custom post types if you set “has archive” to “true” when you’re registering post types. What Wound Up Working I created customized archive-{slug}.php templates in my theme files for the “brands”, “careers”, and “news” … Read more