Post content
Choose the article language, structure, prompts, section size and HTML presentation.
Click to enlargeLanguage
Regardless of the language in which your prompt for generating an article is written, the plugin will create the article in the language selected from this drop-down menu. This feature ensures that your content is accessible and tailored to the specific audience you are targeting, regardless of the original language of the input.
Note that not all languages are supported by different AI models, and even for supported languages, the quality of the generated content can vary significantly. This variability can affect how well the content meets your needs, so it's important to choose the AI model that best matches your language requirements and desired level of quality.
AI model
Choose a model supported by your provider account. Models marked (OpenRouter) use that API key; direct models use the corresponding provider key. See the model reference for the supplied plugin mappings and limits.
Live search
Applies only to OpenRouter text models. The supplied code adds :online to the model ID. Provider support and extra search charges can change; check the compatibility note before using it.
Section headings
This option allows you to choose how section headings are defined for your articles. There are two modes available:
- Automatic - the plugin uses AI to automatically generate section headings based on the number of sections specified in the "Number of text sections" setting. You can provide additional directives to guide the AI in the "Heading Structure Prompt" field, but this is optional.
- Manual - you can define the exact section headings you want for your article by listing them in the "Fixed Section headings" field. Each heading must be provided on a separate line. In this mode, the number of sections is determined automatically based on the number of lines you provide, and this field cannot be empty.
Number of text sections
The amount of text sections you want each article to have. Each section can have its own prompt, HTML structure and heading. To generate articles with a fixed length, enter the same number in both fields (e.g., 6 to 6). To vary article length, set a higher value in the second field to define a range. This is not a guarantee about search-engine detection or rankings.
Page break (Pagination)
Enables native WordPress multi-page posts by inserting the escaped <!--nextpage--> marker between generated text sections. The theme must render WordPress page links. Tables of contents adjust their links to the corresponding post pages. A single-section article does not need a page break.
Heading structure
The content of this field depends on the selected mode for "Section headings":
- Automatic mode - Use this field to give additional instructions to the language model for generating section headings. You can leave it empty if no specific requirements are needed. Example: "When creating section headings, focus on the topic of potential health issues. The last section must be called 'FAQ'". Spintax is allowed here.
- Manual mode - enter your fixed section headings, with each heading on a separate line. This field must not be empty, as the plugin will use the headings you provide to determine the article's structure.
Prompt
Give direct instructions for style, content and HTML formatting. Place shared instructions before section-specific blocks introduced by [[SECTION N]] on their own lines.
Every section receives the shared instructions plus its matching [[SECTION N]] block, if present. Shared requirements do not need to be repeated inside individual blocks. See Prompts & custom data for examples.
Max tokens
Select the maximum number of tokens for each text section of the generated article. The value you enter should not exceed the maximum token count available from the selected model. Since all language AI models have significant limitations on the size of text they can generate at once, the AI Autoblogger plugin creates articles as a series of such sections. This approach supports long structured articles, but coherence and accuracy still require review. Actual size depends on provider limits and hosting resources.
Headings
Enter the HTML heading tag and its attributes if needed. E.g. h3, p id="heading", div class="title" etc. If you don't want headings above the generated text sections, leave this field blank.
Heading rules
The following heading generation rules are available:
- All headings - a heading is added to each text section.
- Skip first section heading - a heading is added to each text section, except the first one.
- No headings - the text sections are without headings.
Table of contents
If you want to place a navigational table of contents above the generated article, with each link pointing to the corresponding text section, you can do so using this drop-down menu. The following options are available:
- Do not generate - the table of contents is not generated.
- Bullet list - the table of contents is formatted as a bulleted list.
- Numbered list - the table of contents is formatted as an ordered numbered list.
- Block of links - the table of contents is formatted as a div block of links.
For each format you choose for the table of contents, you can specify the name of its CSS class name. This allows you to specify its design.
HTML before content
Enter custom HTML code here that will be inserted before the generated content. This is useful for adding introductions, headers, or any custom formatting that should precede your content. Spintax is allowed here.
HTML after content
Enter custom HTML code here that will be inserted after the generated content. This can be used for conclusions, footers, additional links, or custom formatting that follows your content. Spintax is allowed here.
Post excerpt
Define the way you want to generate post excerpts. The following options are available:
- No excerpt - no excerpt will be generated.
- Based on post content - if this option is selected, you will be asked to specify the length in words of the article text to be used as an excerpt.
- Generate with AI - if this option is selected, you will be asked to specify the length of the excerpt in tokens. The excerpt will be generated by AI according to the content of the article.
Temperature
The default is 1.0. The control allows 0 to 2 in steps of 0.1. Lower values generally request more focused output; higher values request more variation. Support and effective ranges depend on the model. Some reasoning models ignore or restrict temperature.
Use Spintax
Enable this option to expand alternatives such as {clear|practical|detailed} in supported fields. Without it, brace-and-pipe expressions are not expanded. See the prompt reference for examples.
New-campaign defaults
| Setting | Default in supplied source |
|---|---|
| Language | English |
| AI model | OpenAI GPT-4o |
| Section headings | Automatic |
| Number of text sections | 5 to 5 |
| Max tokens | 4096 per section |
| Headings | h3 |
| Heading rules | Skip first section heading |
| Table of contents / Post excerpt | Do not generate / No excerpt |
| Live search / Pagination / Spintax | Disabled |
| Content-based excerpt length | 50 words |
| AI excerpt length | 100 tokens requested in the prompt |
Max tokens limits the output budget for each section, not the complete article. It does not guarantee a particular word count. One-section output omits the table of contents.