BuddyDev

Search

Mediapress – search photos by title and description

  • Participant
    Level: Initiated
    Posts: 17
    Olga Pluz on #12346

    Hi,

    I’m developing a website for a small company. Each user has galleries and can upload photo with title and description. I use Mediapress for that, it works very well.

    Also I use the plugin “EoNet Live Search” to search on website but it does not search in photos uploaded by Mediapress. My client wants to search by keywords in title and photo descriptions.
    Could you help me to enable search by photos’ title and description and combine it with “EoNet Live Search” or BuddyPress search?
    Thanks.

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #12358

    Hi Olga,
    Welcome to BuddyDev forums.

    Thank you for the suggestion. It will be much easier to add the support on the Live search plugin side.

    Can you please ask the developers to add support. You may provide them the following details:-
    1. Gallery is just a post type
    2. Media is normal WordPress attachment.

    If they need any assistance, I will be very happy to help.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 17
    Olga Pluz on #12371

    Hi Brajesh,
    Thank you for detials.
    I’ll ask.
    Regards,
    Olga

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #12381

    Thank you.

  • Participant
    Level: Initiated
    Posts: 17
    Olga Pluz on #12470

    Hello Brajesh,

    In Eonet Live Search settings I see 8 post types:
    array (size=8)
    ‘post’ => string ‘Posts’ (length=5)
    ‘page’ => string ‘Pages’ (length=5)
    ‘attachment’ => string ‘Media’ (length=5)
    ‘pec-events’ => string ‘Pro Event Calendar’ (length=18)
    ‘fw-portfolio’ => string ‘Projects’ (length=8)
    ‘directory’ => string ‘partners’ (length=8)
    ‘project’ => string ‘Projects’ (length=8)
    ‘wiki’ => string ‘Wiki’ (length=4)

    So, Media uploaded by Mediapress should be
    ‘attachment’ => string ‘Gallery’ ?

    Or ?

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #12483

    Hi Olga,
    The post type for MediaPress gallery is “mpp-gallery”. The “attachment” post type is for media.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 17
    Olga Pluz on #12492

    Thank you Brajesh!

  • Participant
    Level: Initiated
    Posts: 17
    Olga Pluz on #12493

    I tried to add shortcode [mpp-list-media search_terms=’Copy’] to new page. I have photo with word “Copy” in title, but I received nothing.

    This shortcode [mpp-list-media month=2] works well on that page.

  • Participant
    Level: Initiated
    Posts: 17
    Olga Pluz on #12495

    ‘mpp-gallery’ is post type for Gallery.
    but ‘attachment’ is post type for photo.
    Correct?

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #12496

    Yes, That’s correct.

You must be logged in to reply to this topic.

This topic is: not resolved