BuddyDev

Search

How to add categories to Mediapress?

  • Participant
    Level: Initiated
    Posts: 19
    Piotr on #2930

    Hi,

    I want to add categories to Mediapress galleries. I was trying to register custom taxonomies but without success. Is that possible to add categories (or tags) in this plugin?

    Regards!

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #2946

    Hi Piotr,
    It is not inbuilt functionality for MediaPress.

    @ravi1987 is working on it and we may have it available in next 2 days.

    PS: you can use custom taxonomies but in that case you will need to add UI for the front end to allow users to choose category.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 19
    Piotr on #2958

    Thanks!

    I created taxonomies but have problem with include it in add-gallery-form. Could you help me with code i need to add in this form?

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #2959

    Hi Piotr,

    You can use the following hooks list category on add, edit gallery form

    add_action( 'mpp_after_edit_gallery_form_fields', 'add_mpp_gallery_category_taxonomy' )
     add_action( 'mpp_before_create_gallery_form_submit_field', 'add_mpp_gallery_category_taxonomy' )

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #6573

    Hi Piotr,

    I have just completed the addon for MediaPress. This will able user to create categories and assign MediaPress Gallery into those categories. Please check the GitHub link

    https://github.com/mediapress/mpp-gallery-categories

    Thank You
    Ravi

  • Participant
    Level: Enlightened
    Posts: 24
    annelies on #7045

    Hi Ravi
    in which location do i upload the file??
    i do have categories on the right site, but i can’t delete or redefine one
    will this be working once i uploaded your file in the right place?

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #7129

    Hi,
    I will suggest waiting for the official update.

    You should be able to create categories from dashboard. Users should be able to assign those categories to their gallery. The on thing it needs is updated version of MediaPress. We will have an official release mid next week.

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved