Home Forums Plugin Support WP User Frontend Pro Place WPUF Metabox on "Add New Post"

This topic is: resolved

This topic contains 5 replies, has 3 voices, and was last updated by  Vayu 4 years, 10 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15900

    DM
    Member
    Post count: 34

    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

    #15926

    Mahi
    Member
    Post count: 1555

    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/

    #15933

    DM
    Member
    Post count: 34

    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.

    #15940

    DM
    Member
    Post count: 34

    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

    #15966

    DM
    Member
    Post count: 34

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

    #23884

    Vayu
    Member
    Post count: 17

    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 6 posts - 1 through 6 (of 6 total)

The topic ‘Place WPUF Metabox on "Add New Post"’ is closed to new replies.