BuddyDev

Search

[Resolved] Custom post type form with buddypress and bp-simple-front-end

  • Participant
    Kent on #703

    Hi there.

    I have created a custom post type using types plugin.
    And it works fine.

    Now I want it to show for my buddypress users – They dont have access to wp-dashboard.
    So came across buddyblog and bp-simple-front-end plugins.
    They seems to work fine aswell.

    Now…
    Users will make a regular post.

    How can I switch it to my types/custom post type?

    I came across this line on bp-simple-front-end:
    https://buddydev.com/plugins/bp-simple-front-end-post/

    ” Register a from on/before bp_init action using ”

    But how can I make asure that?

    Is it just:
    add_action(‘bp_init’,’my_post_form’,4);//register a form ?

    And the code snippets here:
    https://buddydev.com/plugins/bp-simple-front-end-post/

    Where are they supposed to go?
    Just functions.php?

    And where do I find my form name, is that just my custom post type name/slug?

    Maybe easy questions, but i’m not a wordpress master 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #704

    Hi Kent,
    Welcome to BuddyDev forums.

    With the current BuddyBlog, you don’t need to write any custom code for using custom post type. Please visit Settings->BuddyBlog settings and then select your custom post type. Click save. After the page reloads, It will show you taxonomy options for that selected post type. please update as you need.

    Hope that helps.

    Thank you
    Brajes

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #721

    Hi Kent,
    Did BuddyBlog work for you or not? I will appreciate your feedback.

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #769

    Hi Kent, Closing as per your PM.
    For others, If you are unable to post and update and are logged it, try refreshing the page. That should work.

    Thank you
    Brajesh

The topic ‘ [Resolved] Custom post type form with buddypress and bp-simple-front-end’ is closed to new replies.

This topic is: resolved