Wordpress
Node: wordpress · Full type: n8n-nodes-base.wordpress · Version: 1
Credentials
wordpressApi (alias: @wordpress)
CREDENTIAL @wordpress = wordpressApi "My Wordpress"
Operations
Resource: post
create
| Parameter |
Type |
Default |
Details |
title |
string |
"" |
required |
additionalFields |
collection |
{} |
keys: authorId, content, slug, password, status, date, ... |
get
| Parameter |
Type |
Default |
Details |
postId |
string |
"" |
required |
options |
collection |
{} |
keys: password, context |
getAll
| Parameter |
Type |
Default |
Details |
returnAll |
boolean |
false |
|
limit |
number |
5 |
|
options |
collection |
{} |
keys: after, author, before, categories, context, excludedCategories, ... |
update
| Parameter |
Type |
Default |
Details |
postId |
string |
"" |
required |
updateFields |
collection |
{} |
keys: authorId, title, content, slug, password, status, ... |
Resource: page
create
| Parameter |
Type |
Default |
Details |
title |
string |
"" |
required |
additionalFields |
collection |
{} |
keys: authorId, parent, content, slug, password, status, ... |
get
| Parameter |
Type |
Default |
Details |
pageId |
string |
"" |
required |
options |
collection |
{} |
keys: password, context |
getAll
| Parameter |
Type |
Default |
Details |
returnAll |
boolean |
false |
|
limit |
number |
5 |
|
options |
collection |
{} |
keys: after, author, before, context, menuOrder, order, ... |
update
| Parameter |
Type |
Default |
Details |
pageId |
string |
"" |
required |
updateFields |
collection |
{} |
keys: authorId, parent, title, content, slug, password, ... |
Resource: user
create
| Parameter |
Type |
Default |
Details |
username |
string |
"" |
required |
name |
string |
"" |
required |
firstName |
string |
"" |
required |
lastName |
string |
"" |
required |
email |
string |
"" |
required |
password |
string |
"" |
required |
additionalFields |
collection |
{} |
keys: url, description, nickname, slug |
get
| Parameter |
Type |
Default |
Details |
userId |
string |
"" |
required |
options |
collection |
{} |
keys: context |
getAll
| Parameter |
Type |
Default |
Details |
returnAll |
boolean |
false |
|
limit |
number |
5 |
|
options |
collection |
{} |
keys: context, orderBy, order, search, who |
update
| Parameter |
Type |
Default |
Details |
userId |
string |
"" |
required |
updateFields |
collection |
{} |
keys: username, name, firstName, lastName, email, password, ... |
Parameter Details
additionalFields children:
| Parameter |
Type |
Default |
Details |
authorId |
options |
"" |
|
content |
string |
"" |
|
slug |
string |
"" |
|
password |
string |
"" |
|
status |
options |
"draft" |
draft, future, pending, private, publish |
date |
dateTime |
"" |
|
commentStatus |
options |
"open" |
open, closed |
pingStatus |
options |
"open" |
open, closed |
format |
options |
"standard" |
aside, audio, chat, gallery, image, link, quote, standard, ... (10 total) |
sticky |
boolean |
false |
|
categories |
multiOptions |
[] |
|
tags |
multiOptions |
[] |
|
postTemplate |
fixedCollection |
{} |
groups: values |
updateFields children:
| Parameter |
Type |
Default |
Details |
authorId |
options |
"" |
|
title |
string |
"" |
|
content |
string |
"" |
|
slug |
string |
"" |
|
password |
string |
"" |
|
status |
options |
"draft" |
draft, future, pending, private, publish |
date |
dateTime |
"" |
|
commentStatus |
options |
"open" |
open, closed |
pingStatus |
options |
"open" |
open, closed |
format |
options |
"standard" |
aside, audio, chat, gallery, image, link, quote, standard, ... (10 total) |
sticky |
boolean |
false |
|
categories |
multiOptions |
[] |
|
tags |
multiOptions |
[] |
|
postTemplate |
fixedCollection |
{} |
groups: values |
options children:
| Parameter |
Type |
Default |
Details |
password |
string |
"" |
|
context |
options |
"view" |
view, embed, edit |
Example
NODE "wordpress" @wordpress AS "Wordpress" {
resource: "post",
operation: "get",
title: {{ $json.title }},
postId: {{ $json.postId }},
pageId: {{ $json.pageId }}
}