Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The 'Author Field' setting is not working in my case #87

Open
Libero96 opened this issue Mar 24, 2019 · 4 comments
Open

The 'Author Field' setting is not working in my case #87

Libero96 opened this issue Mar 24, 2019 · 4 comments

Comments

@Libero96
Copy link

Libero96 commented Mar 24, 2019

I cannot get the 'Author Field' to work.

I created the following custom form:
[fu-upload-form suppress_default_fields="true" form_layout="post_media" title="Verstuur je foto" category="12" append_to_post="true"] [input type="text" name="post_title" id="title" class="required" description="Titel van je foto"] [textarea name="post_content" class="my-text" description="Tekst voor bij je foto" wysiwyg_enabled="true"] [input type="file" name="photos" class="required" description="Voeg foto's toe (max. 8MB per foto" multiple="true"] [input type="submit" class="btn" value="Verstuur"] [/fu-upload-form]

It works very nicely, especially the function which adds the uploaded pictures automatically to the text.

However I would like to have an author field so visitors can enter their name or a nickname without creating an account. So I checked the author field box in the settings as described in de FAQ, but that didn't add an author field.

So I thought, well maybe I can add it with [input type="text" name="show_author" id="auhor" class="required" description="Naam die bij je foto komt te staan"]. Instead of show_author I tried several other combinations: author nickname nicename, but no, these didn't work either.

I removed [input type="text" name="show_author" id="auhor" class="required" description="Naam die bij je foto komt te staan"] and tried adding show_author="true" in the main shortcode, but that also didn't do a lot.

I'm using Wordpress version 5.1.1 and Frontend Uploader 1.3.2 by the way.

Is there a solution for this? Or am I doing something wrong?

Thanks in advance!

@ticollins91
Copy link

I'm also having the exact same issue, the author field does not do anything, If i enable the author field in the settings and don't disable suppress default fields no author field shows up. If i manually put the author input into the [fu-upload-form] tag I can get an author input but it doesn't do anything when i press submit (if i look at the uploaded image in wordpress under the author field it says '(no author)'

@Libero96
Copy link
Author

Libero96 commented Sep 1, 2019

Hello tmortonorr,

You mentioned that you were able to manually put the author field in the [fu-upload-form]. Could you please copy and paste the code you used for that? I think the code I used for it is not right as I don't see an field appearing where I can type my username.

Thanks in advance!

@ticollins91
Copy link

I can't remember what I did now since I gave up with the author field entirely as it didn't work and wasn't needed. Sorry I can't be any further help.

@Libero96
Copy link
Author

Libero96 commented Sep 2, 2019

@tmortonorr Got it, no problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants