• Resolved oo7golden1

    (@oo7golden1)


    Hello,

    I would like to start out by saying that I am very impressed with the “WP User Frontend” plugin. It’s the only front-end posting plugin that I could find that allows users to edit their posts without having to access the wp-admin area.

    WordPress is an AMAZING Content Management System (CMS) but it still has a very one man show feel to it. Not a whole lot of options for guest posting or creating a community outside of setting up a forum, especially when you don’t want your members to have access to the wp-admin.

    That being said I am very hopeful that WP User Frontend will provide what I am looking to accomplish for my site. I just have a few questions…

    Question #1:

    I am trying to insert the WP User Frontend Dashboard Shortcode into my user profile. Is there a way to show all of the content which the user has submitted to the site?

    [wpuf_dashboard] shows the standard WordPress posts submitted by the user.
    [wpuf_dashboard post_type=”your_post_type”] will show custom content types which the user has submitted content for.

    But how can I show all content that they have submitted? Let’s say that I have a “Review” custom content type, a “News” custom content type, and a “User Portfolio” custom content type. How would I create a list to show all three custom content types?

    I could do something like this:

    [wpuf_dashboard post_type=”review”]
    [wpuf_dashboard post_type=”news”]
    [wpuf_dashboard post_type=”user_portfolio”]

    But when I do this it shows the logged_in_users_name and then the word Dashboard at the top of the outputted information. So, putting all three of these Shortcodes on the same page doesn’t look very good.

    I guess that Question #2 is:

    Can I hide the Dashboards page-head and remove the users name and Dashboard title? So that
    [wpuf_dashboard post_type=”review”]
    [wpuf_dashboard post_type=”news”]
    [wpuf_dashboard post_type=”user_portfolio”]
    Would only display the “You have created # (Reviews) (News) and (User Portfolios)” then list those posts for editing/deletion etc.?

    I saw on https://wedevs.com/docs/wp-user-frontend-pro/getting-started/user-dashboard/ that you SHOULD be able to display multiple post types with the Shortcode [wpuf_dashboard post_type=”post_type_name, custom_post_type_name”] but I cannot seem to get that Shortcode to work correctly. It seems to only list the first post type and then stop. So, for example, I tried to insert [wpuf_dashboard post_type=”review, news, user_portfolio”] but it only showed the list of Reviews for some reason.

    Can you offer me some advice on how I can set this up to work properly? Any help would be greatly appreciated.

    Thank you very much and I look forward to your reply.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Robin

    (@emazharulislam)

    Hello @oo7golden1,

    First of all, thanks for your goods words about our plugin. And here are the answers:

    #1 Yes, you can show all of the content which the user has submitted to the site. You do need to use the shortcode like this: [wpuf_dashboard post_type=”post_type_name, custom_post_type_name, custom_post_type_name” ] Check all the WPUF shortcodes and their usages from here.

    #2 If you are talking about hiding the WP-Admin bar from the top then WPUF has the default feature for this to hide. Check this screenshot: http://prntscr.com/mp1hj8

    But in this latest version, we have this issue that, if you do the configuration form the WPUF default settings it will not override the default WordPress settings. To fix that apply the following:

    Just remove the following code from wpuf.php file. It will fix the admin bar issue.

    `if ( get_user_meta( $current_user->ID, ‘show_admin_bar_front’, true ) == “true” ) {
    return true;
    }

    Also, we will include this fix in the next release.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘WP User Frontend Dashboard Questions’ is closed to new replies.