Place WPUF Metabox on "Add New Post"

This topic contains 5 reply and 3 voices, and was last updated by Vayu 9 years, 9 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
February 27, 2014 at 3:55 pm 15900
Vayu Since adding custom metaboxes created with ECPT on my custom post type pages, clashes with WPUF and for the sake of uniformity, I want the metaboxes which appear on user submitted custom posts in wp-admin (WPUF Custom Fields metabox), to appear on "add new custom post" editor sections as well. I need for the website admins to be able to submit custom posts from the wp-admin backend and for normal authors to submit from the frontend of the site. Currently, only once a post has been submitted, does the WPUF Custom Fields metabox appear inside the post editor in wp-admin. I need the metabox to appear in the "add new post" editor as well. How to accomplish this? Currently on add new custom post in wp-admin I have this: http://s23.postimg.org/o1une7xu3/Snap_2014_02_27_at_12_04_48.png I want this displayed instead: http://s10.postimg.org/n9ljw48i1/Snap_2014_02_27_at_12_05_24.png
February 28, 2014 at 10:45 am 15926
Mahi Mahi

are you trying to add custom post type or custom post fields?

From form settings you can easily assign custom post types from post settings.

and for fields, i will recommend to use – http://wordpress.org/plugins/advanced-custom-fields/

February 28, 2014 at 1:11 pm 15933
DM DM

Hi there,

No I already use Easy content Type (http://pippinsplugins.com/easy-content-types/) for custom post type, taxinomy and metabox creation.
However, when I create metaboxes with ECPT, obviously it differs from the metabox appearance of the ones created by WPUF. Also, to display the meta values of custom posts created in wp-admin, I have to use ecpt metakey code in theme files to display the values on the front end.

In WPUF, custom post type is already selected, so that is not the problem. WPUF is already subitting the posts to custom post type.

So I have WPUF creating metaboxes with custom fields on the front end submitted custom posts and have to use the WPUF code to display those particular user submitted posts in the theme files and I have custom posts created in wp-admin and have to use the ECPT code to display those particular custom posts in theme files.

Currently WPUF metaboxes and fields only show up on user submitted posts. I want it to appear on add new custom posts in wp-admin as well because the client will be addding posts from wp-admin and the users will be adding from the front end of the website.

So, to simplify things and to make everything appear uniform in custom post edit screens in wp-admin, I want to generate metaboxes and fields which are identical in appearance, function and code, to the WPUF metaboxes.

So my question is this: What is the code I need to add to functions.php in order to generate WPUF metaboxes and custom fields on my “add new” posts editor sections in wp-admin?

So to put is simply, I have a custom post type. The client will add new posts to this custom post type, from wp-admin and the users will add new posts to this custom post type from the front end of the website. Currently,in wp-admin backend, the custom fields created by WPUF, only appear inside the post editor of user submitted posts. I want the “form” aka blank WPUF custom fields, to appear also inside Wp-admin post editor when I add a new custom post to the custom post type in wp-admin.

February 28, 2014 at 1:46 pm 15940
DM DM

Also, how to remove or change the title “WPUF Custom Fields” from the metabox section in user submitted post editor screen in WP-admin?

http://s28.postimg.org/lislaumel/Snap_2014_02_27_at_12_05_24.png

March 1, 2014 at 4:40 am 15966
DM DM

Nevermind, the problem has now been resolved and metaboxes with custom fields now appear in the “add new post” editor in wp-admin

July 21, 2014 at 8:23 pm 23884
Vayu Vayu

Hi DM.
I need to be able to see the custom metaboxes and data when I add/create new posts. How did you do this? Did you manage to do it without editing source code?

Viewing 5 Posts - 1 through 5 (of 5 total)