KI-Handbuch

For authors and their AI agents (AI Engine MCP: wp_create_post and similar)

  • All visible text: German only.
  • New posts are always created as DRAFT (post_status draft). A human reviews and publishes them. Never try to publish.
  • Do not invent your own features (polls, forms, plugins, custom HTML/JS). Use the shortcodes below.

Poll (Abstimmung): shortcode club_abstimmung

Put this shortcode as plain text on its own line in the post content (a normal paragraph or shortcode block, no HTML around the quotes):

Welcher Name gefällt Ihnen?

Abstimmung bis 31.12.2026

Bitte melden Sie sich an, um abzustimmen.

  • id: unique per poll, lowercase letters, digits, hyphens only. Never reuse an id of another poll (votes would mix).
  • frage: the question. optionen: at least 2 options separated by |. Options cannot be changed after the poll has started, so collect them first.
  • max: 1 = one choice; a number greater than 1 = several choices up to that number (the site shows a message if someone selects more).
  • bis: last voting day, inclusive, format YYYY-MM-DD. Afterwards voting closes and results are shown.
  • ergebnis: nach_ende (default, results only after the end) or sofort (results visible right after one’s own vote).
  • The poll can be written into the draft. It shows a preview there, but voting works only after a human has published the post.
  • Only logged-in members can vote, and they may change their vote until the end. Votes are not secret from administrators.
  • Ask the author for: question, options, max choices and end date, if not given.

Administrators only (club-wordpress MCP, club/* abilities, visible only to admins)

  • Before building a feature, check the snippet list and reuse existing snippets.
  • club/manage-snippets save: ALWAYS send the full code. A save without code WIPES the snippet. Code without the php opening tag. active is an integer. No delete.
  • club/manage-post: always pass post_type (default is page!), post_author, post_name, post_status and the full post_content.
  • club/manage-option: string values only.
  • Never print or overwrite the Gemini key (mwai_options).
  • Poll snippet 38: votes are stored in option club_poll_<id>. The poll is validated against the content of the PUBLISHED post. To close a poll early, set bis to a past date.
  • Snippets: 16/17 event create/update (forms 163/169, pages 164/170). 31 media button. 34 KI-Hilfe. 35 no texturize. 36 event dropdowns. 37 map link shows the place. 38 voting.
  • Post forms (JetFormBuilder): create form 109 / page 112, edit form 137 / page 138.