• Resolved master1000

    (@master1000)


    Hello!
    That's clear to me.

    [usp_display_posts userid="1"]


    [usp_display_posts userid="Pat Smith"]

    All my users have their own profile. A user writes a post, and I have a question about it.

    I would like to display the user's post in their profile using a shortcode.

    Not like this

    [usp_display_posts userid="Pat Smith"]

    But automatically.

    For example:

    [usp_display_posts userid="profilUser"]

    And the shortcode should know which user (member with a profile) wrote the post.

    So…

    Logged-in member writes a post.

    Their post should be displayed in their profile.

    Is there a way to do this?

    Best regards.

    P.S. I searched for weeks until I found your plugin. It's really great!
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Starr

    (@specialk)

    It’s a great idea but not something the plugin can do currently. The closest functionality would be that the display-posts shortcode can be included on any theme template/page. So for example if you have a user archive template, the shortcode could be added there so that the user’s posts can be displayed. Likewise for other templates, the shortcode can be included almost anywhere.

    I hope this helps, let me know if I can provide any further information.

    Thread Starter master1000

    (@master1000)

    Thanks for the quick reply!

    Is there a way to do this via PHP?

    Best regards

    • This reply was modified 10 months, 1 week ago by master1000.
    Plugin Author Jeff Starr

    (@specialk)

    Yeah there probably is a way to do most anything with PHP/custom code. It’s not something that I’ve done before personally though. Best advice would be to ask your theme provider or web developer, they should be able to point you in the right direction.

    Thread Starter master1000

    (@master1000)

    Thanks for the info.

    Is this important to you?

    https://translate.wordpress.org/projects/wp-plugins/user-submitted-posts/stable/de/default/

    Should I translate the missing part for you?

    Best regards

    Plugin Author Jeff Starr

    (@specialk)

    Yes translations are important, but I haven’t had time to really explore all the possibilities with the WordPress translate features. If you would like to translate, please feel free. User contributions and feedback always are appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘post issue’ is closed to new replies.