Few issues with [mbfp-posts] shortcode

Support MB Favorite Posts Few issues with [mbfp-posts] shortcode

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29957
    PeterPeter
    Participant

    Hello, guys. This is really awsome plugin but [mbfp-posts] shortcode needs some urgent improvements to be fully usable.

    For example:

    1. How to remove "post status" table in this shortcode? It is completely useful for all my cases. I must remove it via css row by row because I see no other possibility here
    2. How to optionaly hide published date table in this shortcode? Also I must remove it vis css

    Also pagination here is a must. When someone add 100 favorite posts, my site does not look good then. Please allow some pagination - for example: maximium 10 or 20 posts per page... Then it makes sense.

    Thanks in advance

    #29975
    Long NguyenLong Nguyen
    Moderator

    Hi Peter,

    Thank you for your feedback.

    It's just a default favorite posts dashboard. You can follow this documentation to create your own dashboard with coding
    https://docs.metabox.io/mb-favorite-posts/#data

    #29980
    PeterPeter
    Participant

    Sorry but I can’t see any parameter related to [mbfp-posts] shortcode in your link…. or any other solution realated to my issue (not only my I think….)

    #29988
    Long NguyenLong Nguyen
    Moderator

    Hi,

    The link to the documentation above has the guildline to create a custom query to show the list of favorite posts. You can do the following:

    $post_ids = get_user_meta( $user_id, 'mbfp_posts', true );
    $query = new WP_Query( [
        'post_type' => 'post',
        'post__in'  => $post_ids,
    ] );
    // Do something with $query.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.