← Back to contents

WordPress upload

The Upload tab publishes ready content to WordPress through the REST API. It can create new materials, update existing ones by slug, upload images, insert them into article HTML, and work with the current project workbook or the latest rewrite workbook.

Upload tab

Choosing a publishing scenario

If you needChooseWhy
Publish a checked project quicklyImmediateEverything is published at once
Keep a regular posting rhythmPer dayFixed number of posts per day
Distribute posts over a periodSpreadGood for gradual site filling

Connection

Set the WordPress URL, user login, and a separate Application Password. This is not the normal admin password; it must be created in the WordPress user profile.

Important: test connection, category mapping, and image insertion on a staging site or a small category before a production upload.

Data source

This setting selects the workbook from which the upload buttons read text, slugs, and other data:

  • Current project Excel — the main workbook of the open project. Use it for a normal first publication or for adding more material from the current project; selecting it automatically sets Create all.
  • Last rewrite file — the most recently saved rewrite result. This option is available only while that file exists and automatically selects Update by slug.
  • Choose Excel file — selects another compatible workbook and displays its path. This choice also automatically selects Update by slug.
Check the automatic choice: you can change the WordPress mode after switching the source, while Duplicate slugs returns to Add -2/-3. Verify both values before upload: the data source itself does not decide whether WordPress items are created, skipped, or updated.

WordPress mode

The mode controls what happens to site content. Existing items are matched by their exact slug:

  • Create all — sends every workbook row for creation without first looking for the same slug. Use it for a first publication on a new site or in a new section. It does not update existing items; on a slug collision WordPress may change the new item’s final URL or return an error.
  • Upload missing only — checks each slug, leaves an existing item unchanged, and creates only an absent one. Use it to add a new pack to a populated site or to resume an interrupted upload.
  • Update by slug — updates an existing item with the same slug. A row with an empty slug or no matching WordPress item is skipped; this mode does not create missing material. Use it for rewrites or another intentional replacement of published content.

Rule of thumb: first publication — Create all; new pack on a populated site — Upload missing only; replace already published content — Update by slug.

Category mapping

WordPress categories have IDs. Excel categories must be mapped to them manually or through an LLM draft mapping that you review before upload.

Article pack into a concrete WordPress category

Level 2 has no ListCategory sheet or TitleCategory field. Regular category mapping therefore does not choose the destination for this structure: one root WordPress category is assigned to every ListArticle row.

  1. Open the target category in WordPress and copy its exact slug from the category editor or URL.
  2. Prepare the Level 2 articles in ListArticle and make sure every article has its own TextName-lat.
  3. On the Upload tab, check the WordPress connection.
  4. In Publication and categories, click the editable Root category field. Select a preset (main, info, blog, or news) or type the exact target slug.
  5. Category mapping can remain off for Level 2. Set WordPress mode to Upload missing only so articles whose slugs already exist are not overwritten.
  6. Upload 1–2 articles first and confirm in WordPress that both posts use the selected category. Then upload the complete project.
What the program does: if a category with that slug already exists, SiteTexter reuses its ID for every Level 2 article. If it does not exist, the program creates a category with the entered slug.
Check the slug before uploading: a typo can create a new category instead of using the intended one. Use Update by slug only when you deliberately want to update already published articles.

Level 3 and Level 4: use TitleCategory and the category-mapping dialog instead. TitleCluster remains part of the internal Level 4 hierarchy.

New project for a WordPress site that already has content

When the target site already contains posts and categories, use this safer flow:

  1. Make a site backup or run on staging.
  2. Create a SiteTexter project with the structure level required for the new materials.
  3. Prepare Excel so new slugs do not conflict with published URLs.
  4. Load current WordPress categories in the mapping dialog and map each ListCategory row to an existing or new WordPress category.
  5. Upload images and publish 1-2 test posts first.
  6. After checking the result, use Upload missing only for new materials, or Update by slug only when you intentionally overwrite existing posts.
Main risk: wrong slug or category mapping. If a row has the slug of an existing post, Update by slug changes that old post. For adding a new pack, start with Upload missing only.

Category text and description mode

Long category text is not written into the standard WordPress description field. It is written to registered custom term meta, for example catfieldtext-1. Field names in SiteTexter and WordPress must match.

Writing and displaying are separate: successfully writing category text or thumbnail does not mean the theme displays it automatically. Use the SiteTexter plugin, shortcode, theme setting, or Ad Inserter block.

Open the guide for the SiteTexter plugin, shortcodes, and Ad Inserter →

Publishing schedule

ModeBest for
ImmediatePublishing the ready project at once.
Per dayFixed number of materials per day.
SpreadEven distribution across several days.

Inserting images into articles

The tab can upload images to the media library and insert them into HTML. The first image can be a featured image or be inserted around the first <h2> or paragraph. The second image has its own positions, including custom placement before or after selected h2, h3, or p elements.

Adding a second image to published posts

  1. Open the project and choose 2 images on Control.
  2. Run image supplement so ImgName-2 is filled.
  3. On Upload, choose the correct Excel source.
  4. Select Update by slug, not the missing-only mode.
  5. Enable image insertion, upload images, then update posts, categories, or clusters by slug.
Important: Upload images changes only Media Library. To show images inside content, update the posts or categories afterward.

Loading new materials from another Excel file

For an external Excel with new categories, clusters, or articles, use Select Excel file and Upload missing only. This creates materials whose slug is not found and skips existing ones.

Upload buttons and auto-upload

  • Upload all runs categories, clusters, articles, images, and service pages.
  • Separate buttons run only selected parts.
  • Auto-upload can be disabled, confirmed after generation, or fully automatic, especially inside Multi-Queue.
Actual Upload all order: media is uploaded first, followed by categories, clusters, articles, and service pages. Later steps can therefore reuse WordPress media IDs for featured images and HTML insertion. Check WP plugins checks SiteTexter Category Content, can activate an installed inactive copy, and synchronizes category field names. If the plugin is absent, the report points to the bundled ZIP for manual installation; the desktop app does not install or update the ZIP automatically.

Auto-upload after generation

The checkbox on Control enables or disables auto-upload as a whole. When enabled, it preserves the mode selected on Upload; if no mode was selected yet, the safer confirmation mode is used.

  • Do not upload ends the workflow with local files only.
  • Upload with confirmation asks for permission after successful generation.
  • Upload automatically starts publication without another question and is useful for an already tested Multi-Queue workflow.

Test the connection, category mapping, and one or two materials with confirmation first. Use full automation only after that test succeeds.

Synchronizing SiteTexter plugin fields

When SiteTexter Category Content is installed, this option sends the selected category text and thumbnail field names to the plugin through the WordPress REST API before upload. It prevents SiteTexter from writing to one field while the plugin displays another.

With synchronization disabled, configure the same field names manually in SiteTexter and WordPress. The option does not replace the connection check and works only while the plugin is installed and reachable.

Action after generation

Do not upload finishes locally. With confirmation asks after a successful full cycle, while Automatically starts WordPress upload without asking. Upload does not start after failed generation. If automatic gap repair is enabled, upload waits for a clean repair finish.

Auto-upload uses the full create-material workflow and shows a final report. To update existing items by slug in a controlled way, start upload manually with that write mode. In Multi-Queue, the project’s WordPress flag and complete credentials are also required.

Description of an existing WordPress category

This setting controls how DescriptionCategory is written to the standard description field when an Excel section is mapped to an existing WordPress category.

  • Overwrite replaces the old description.
  • Add to beginning puts the new description before the existing one.
  • Add to end keeps the old description first and appends the new one.

It does not control long TextCategory/TextCluster content, which is published separately or stored in custom term meta.

Automatic category-mapping prompt

The prompt is used only when automatic mapping is started in the category dialog. {generated_json} receives Excel sections, while {wp_json} receives current WordPress categories loaded through REST. Both placeholders are required and no others are supported.

Double literal braces in any JSON example inside the prompt. A model response is accepted only when every Excel section has exactly one decision: map it to an existing WordPress ID or create a new category. The draft is shown in a table for manual review and correction before it is saved to the project.

Duplicate article slugs in the source workbook

Duplicate slugs applies when several articles inside the selected workbook have the same slug after cleanup. It does not check for collisions with content already in WordPress. The first article keeps the base slug and later ones receive a unique suffix:

  • Add -2/-3 uses predictable sequential numbering.
  • Add category/cluster slug prefers the cluster slug, then the section slug; without context it uses a number.
  • Add short hash uses a stable short code derived from slug, title, and parent context.

If the chosen suffix still collides, a number is added. Check this carefully before Update by slug: a changed slug creates or targets a different WordPress item instead of the original one.

Article publication schedule

Immediately publishes articles at once. N items per day limits the daily batch. Spread across N days divides the whole list across the requested number of days and rounds the daily count up.

Scheduled articles receive future status. Times within each day are distributed evenly from 09:00 to 21:00 using the configured timezone. The schedule applies to articles; categories, media, and service pages are uploaded without this distribution.

Featured Image, category thumbnail, and inline images

For an article, ImgName-1 can become the Featured Image. This is independent of inline insertion: it can remain only as the theme’s top image or also appear inside HTML content. For sections and clusters, ImgName-1 is written to the first category image field and ImgName-2 to a separate second field. Their defaults are category_thumbnail_id-1 and category_thumbnail_id-2. The legacy category_thumbnail_id field remains compatible.

Inline insertion is enabled separately for articles and category/cluster text and changes only the content sent to WordPress; Excel stays unchanged. ImgName-1 and ImgName-2 can use a preset position or Custom: before or after a selected h2, h3, or paragraph occurrence. If the file or target element does not exist, insertion is skipped.

Images must first exist in the Media Library; the full workflow uploads them before text. Test one post in the active theme because inserting the Featured Image inline can make it appear twice.

An empty ImgName-2 does not clear a second image stored by an earlier upload. Render it with the separate [sitetexter_category_thumbnail-2] shortcode; existing blocks and lists keep using the first image. Explicitly update SiteTexter Category Content before the first such upload.

WordPress tags from Excel

When tag upload is enabled, the app reads the selected Keywords* and IntentTerms* columns for each published row. Values are split on commas, semicolons, line breaks, and |; HTML and case-insensitive duplicates are removed.

The limit is the maximum number of unique tags per post. Each name reuses an existing exact WordPress tag or creates a new one. A disabled source or empty cell contributes nothing. The setting applies to the homepage, categories, clusters, and articles when they are published as posts.