1. Home

  2. /
  3. Articles
  4. /
  5. Submission form

The submission form is an essential component of the photo monitoring platform. It can be inserted on a page using the shortcode [lensmark-submission-form].

The shortcode is equipped with a display logic. It checks whether an ID of a photo item was given in the called URL (example: https://gantrisch.lensmark.org/submit?photopost_id=314). If so, the page with the form is displayed to the user. If the ID is missing in the URL, an error message is displayed instead, and the form is not displayed (example: https://gantrisch.lensmark.org/submit).

Logic of the photo submission form (in german)

❗️

WordPress 6.2.1 Update issue

Version 6.2.1 causes an issue for shortcodes placed inside templates. A workaround in the meantime is to convert the shortcodes to template parts:

Solution from @rubin-sev from this thread.

How to find out the photopost id

  1. Under “Photoposts”
  2. Go to the photopost and hover over the “Edit” button
  3. The photopost ID will appear in the URL previewer (bottom left of the browser)
How to find out a photopost ID

❗️

WordPress 6.2.1 Update issue

Version 6.2.1 causes an issue for shortcodes placed inside templates. A workaround in the meantime is to convert the shortcodes to template parts:

Solution from @rubin-sev from this thread.


Posted

in

by

Tags: