• Resolved stevenseagal

    (@stevenseagal)


    When a logged in user submits their post – I want the ‘author’ to be that user. I do not want to have the same assigned author for every post.

    How do users submit posts under their own name?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help. In the latest version of USP (free), the author is replaced automatically (unless you disable via the settings). Note that this only works when you include the Name field in the USP form.

    Updated to add: it also depends on your theme, needs to make use of a filterable author template tag.

    • This reply was modified 6 years, 10 months ago by Jeff Starr.
    Thread Starter stevenseagal

    (@stevenseagal)

    View post on imgur.com

    This is my form, it’s still posting as only the same author no matter who posts….

    Plugin Author Jeff Starr

    (@specialk)

    Then most likely your theme does not include the necessary tag, the_author(). The plugin uses that tag to filter and replace the assigned author with the submitted author. So if your theme is not using the the_author(), it will not be possible to automatically replace the name without some custom code.

    Thread Starter stevenseagal

    (@stevenseagal)

    Where do I check if my theme is using the_author() or not so I can be sure?

    Thread Starter stevenseagal

    (@stevenseagal)

    Could my settings be wrong for the plugin?

    Plugin Author Jeff Starr

    (@specialk)

    The plugin does the replacement by default, but will not replace if you have enabled the setting, “Disable Replace Author”. That’s the only option that would disable the replace-author functionality. To be sure about your theme, your best bet is to ask your theme developers, who will know best about their own theme.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Do not use Assigned Author’ is closed to new replies.