1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[365],{26176:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/codex/wordpress",function(){return s(87784)}])},87784:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return v}});var o=s(85893),a=s(67294),i=s(9008),n=s.n(i),r=s(25675),d=s.n(r),l=s(41664),p=s.n(l),c=s(56969),x=s(86245),h=s(57465),m=s(58866);let u=[{field:"__type",type:"string",required:!0,description:'Must be "wordpress"'},{field:"title",type:"string",required:!0,description:"Post or page title (min 2 characters)"},{field:"main_image",type:"object",required:!1,description:"Featured image: {id: string, path: string}"},{field:"type",type:"string",required:!0,description:'Content type: "post" or "page"'}],g=[{question:"How do I post to WordPress from Codex?",answer:"Install the Postiz skill with npx skills add gitroomhq/postiz-agent, or add the Postiz MCP server with codex mcp add postiz --url https://mcp.postiz.com/mcp-oauth-dynamic. Connect WordPress in Postiz once, then ask Codex in plain English what to post and when. Codex resolves the WordPress settings, uploads any media, and schedules the post."},{question:"Can Codex create WordPress pages as well as posts?",answer:"Yes. The type setting takes post or page, and Codex picks it from your wording. Posts show up in your blog feed and RSS; pages are standalone, like a changelog or landing page. Both accept a title and a featured image, and both can be scheduled for a later publish time."},{question:"How does Codex add a featured image to a WordPress post?",answer:"Codex runs postiz upload on the image file and passes the returned id and path in the main_image setting. WordPress then uses it as the featured image for the post or page. Local paths and external URLs are not accepted directly, so the upload step always happens first."},{question:"Can Codex post to WordPress on a schedule without me watching?",answer:"Yes. Postiz stores scheduled WordPress posts and publishes them at the chosen time, so Codex does not need to stay open. For unattended runs, call codex exec with your prompt from a script or cron job. Keep a human reviewing the output, since Codex will publish exactly what it is told to publish."},{question:"Do I need a Postiz API key to post to WordPress from Codex?",answer:"Not with the MCP route. Run codex mcp login postiz and Codex signs in to your Postiz account over OAuth, so it only reaches channels you already connected, including WordPress. The CLI skill route needs either postiz auth:login or a POSTIZ_API_KEY environment variable. Your WordPress login itself never leaves Postiz."},{question:"Is posting to WordPress from Codex the same as posting from ChatGPT?",answer:"No. Codex is OpenAI's coding agent for your terminal and IDE, and it reaches Postiz through the Postiz skill or MCP server. ChatGPT is the chat assistant on chatgpt.com, which connects to Postiz as an app or custom MCP connector. Both can publish to WordPress; see the ChatGPT guide for that setup."}],f=["title is required, at least 2 characters.","type is required: post for blog entries or page for standalone pages.","The featured image goes through postiz upload, then main_image takes its id and path.","The body of your prompt or file becomes the post content."],w=[{href:"/codex",title:"Codex + Postiz overview",description:"Setup, skill vs MCP comparison, codex exec automation, and FAQ for OpenAI Codex."},{href:"/codex/medium",title:"Post to Medium from Codex",description:"Medium settings, prompts, and rules for Codex."},{href:"/codex/devto",title:"Post to Dev.to from Codex",description:"Dev.to settings, prompts, and rules for Codex."},{href:"/codex/hashnode",title:"Post to Hashnode from Codex",description:"Hashnode settings, prompts, and rules for Codex."},{href:"/codex/linkedin",title:"Post to LinkedIn from Codex",description:"LinkedIn settings, prompts, and rules for Codex."},{href:"/channels/wordpress",title:"WordPress channel on Postiz",description:"How Postiz connects to WordPress, features, and setup outside of any agent."},{href:"/mcp",title:"Postiz MCP server",description:"The OAuth MCP endpoint Codex, ChatGPT, Claude, and Cursor can all connect to."},{href:"/agent",title:"Postiz Agent CLI",description:"The postiz CLI and skill that any AI agent can drive from a shell."},{href:"/chatgpt",title:"Post to social media from ChatGPT",description:"The chat-app route, for when you are not in a terminal."},{href:"/pricing",title:"Postiz pricing",description:"7-day free trial, with MCP, CLI and API access on every plan."}],y={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"How do I post to WordPress from Codex?",acceptedA
1nswer:{"@type":"Answer",text:"Install the Postiz skill with npx skills add gitroomhq/postiz-agent, or add the Postiz MCP server with codex mcp add postiz --url https://mcp.postiz.com/mcp-oauth-dynamic. Connect WordPress in Postiz once, then ask Codex in plain English what to post and when. Codex resolves the WordPress settings, uploads any media, and schedules the post."}},{"@type":"Question",name:"Can Codex create WordPress pages as well as posts?",acceptedAnswer:{"@type":"Answer",text:"Yes. The type setting takes post or page, and Codex picks it from your wording. Posts show up in your blog feed and RSS; pages are standalone, like a changelog or landing page. Both accept a title and a featured image, and both can be scheduled for a later publish time."}},{"@type":"Question",name:"How does Codex add a featured image to a WordPress post?",acceptedAnswer:{"@type":"Answer",text:"Codex runs postiz upload on the image file and passes the returned id and path in the main_image setting. WordPress then uses it as the featured image for the post or page. Local paths and external URLs are not accepted directly, so the upload step always happens first."}},{"@type":"Question",name:"Can Codex post to WordPress on a schedule without me watching?",acceptedAnswer:{"@type":"Answer",text:"Yes. Postiz stores scheduled WordPress posts and publishes them at the chosen time, so Codex does not need to stay open. For unattended runs, call codex exec with your prompt from a script or cron job. Keep a human reviewing the output, since Codex will publish exactly what it is told to publish."}},{"@type":"Question",name:"Do I need a Postiz API key to post to WordPress from Codex?",acceptedAnswer:{"@type":"Answer",text:"Not with the MCP route. Run codex mcp login postiz and Codex signs in to your Postiz account over OAuth, so it only reaches channels you already connected, including WordPress. The CLI skill route needs either postiz auth:login or a POSTIZ_API_KEY environment variable. Your WordPress login itself never leaves Postiz."}},{"@type":"Question",name:"Is posting to WordPress from Codex the same as posting from ChatGPT?",acceptedAnswer:{"@type":"Answer",text:"No. Codex is OpenAI's coding agent for your terminal and IDE, and it reaches Postiz through the Postiz skill or MCP server. ChatGPT is the chat assistant on chatgpt.com, which connects to Postiz as an app or custom MCP connector. Both can publish to WordPress; see the ChatGPT guide for that setup."}}]},P={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://postiz.com/"},{"@type":"ListItem",position:2,name:"Codex",item:"https://postiz.com/codex"},{"@type":"ListItem",position:3,name:"WordPress",item:"https://postiz.com/codex/wordpress"}]},j={"@context":"https://schema.org","@type":"WebPage",name:"Publish to WordPress from Codex: Schedule Posts with Postiz",url:"https://postiz.com/codex/wordpress",description:"Ask OpenAI Codex to create and schedule WordPress posts and pages through Postiz with a title and featured image. Skill or MCP setup, prompts, and FAQ.",dateModified:"2026-09-23",isPartOf:{"@type":"WebSite",name:"Postiz",url:"https://postiz.com"},about:{"@type":"SoftwareApplication",name:"Postiz",applicationCategory:"BusinessApplication",operatingSystem:"Web",url:"https://postiz.com"}},b=e=>{let{children:t,title:s}=e;return(0,o.jsxs)("div",{className:"rounded-[16px] overflow-hidden border border-white border-opacity-10",children:[s&&(0,o.jsx)("div",{className:"bg-[#1A1919] px-5 py-3 border-b border-white border-opacity-10",children:(0,o.jsx)("p",{className:"text-[14px] text-[#d1d1d1] font-mono",children:s})}),(0,o.jsx)("pre",{className:"bg-[#0e0e0e] p-5 overflow-x-auto",children:(0,o.jsx)("code",{className:"text-[14px] leading-[22px] text-[#d1d1d1] font-mono whitespace-pre",children:t})})]})},C=e=>{let{number:t,title:s,description:a,code:i,codeTitle:n}=e;return(0,o.jsxs)("div",{className:"flex flex-col lg:flex-row gap-6 lg:gap-10 items-start",children:[(0,o.jsxs)("div",{className:"flex-1 space-y-3",children:[(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)("div",{className:"w-10 h-10 flex items-center justify-center bg-gradient-to-br from-[#682EE1] to-[#2A0772] rounded-full shrink-0",children:(0,o.jsx)("span",{className:"text-[16px] font-jakarta font-bold",children:t})}),(0,o.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:s})]}),(0,o.jsx)("p",{className:"text-[16px] leading-[24px] sm:text-[18px] sm:leading-[27px] text-[#d1d1d1] pl-[52px]",children:a})]}),(0,o.jsx)("div",{className:"flex-1 w-full",children:(0,o.jsx)(b,{title:n,children:i})})]})},N=e=>{let{icon:t,title:s,description:a}=e;return(0,o.jsxs)("div",{className:"flex flex-col gap-4 p-6 sm:p-8 bg-[#1A1919] rounded-[16px] sm:rou
1nded-[20px] border border-white border-opacity-10",children:[(0,o.jsx)("div",{className:"w-12 h-12 sm:w-14 sm:h-14 flex items-center justify-center bg-gradient-to-br from-[#682EE1] to-[#2A0772] rounded-xl",children:(0,o.jsx)("span",{className:"text-2xl sm:text-3xl",children:t})}),(0,o.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:s}),(0,o.jsx)("p",{className:"text-[16px] leading-[20.83px] sm:text-[18px] sm:leading-[23.44px] text-[#d1d1d1]",children:a})]})};var v=!0;t.default=(0,c.C)(()=>{let[e,t]=(0,a.useState)(!1),s=(0,a.useCallback)(()=>{navigator.clipboard.writeText("npx skills add gitroomhq/postiz-agent"),t(!0),setTimeout(()=>t(!1),2e3)},[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(n(),{children:[(0,o.jsx)("title",{children:"Publish to WordPress from Codex: Schedule Posts with Postiz"}),(0,o.jsx)("meta",{name:"description",content:"Ask OpenAI Codex to create and schedule WordPress posts and pages through Postiz with a title and featured image. Skill or MCP setup, prompts, and FAQ."}),(0,o.jsx)("link",{rel:"canonical",href:"https://postiz.com/codex/wordpress"}),(0,o.jsx)("meta",{property:"og:type",content:"website"}),(0,o.jsx)("meta",{property:"og:url",content:"https://postiz.com/codex/wordpress"}),(0,o.jsx)("meta",{property:"og:title",content:"Publish to WordPress from Codex: Schedule Posts with Postiz"}),(0,o.jsx)("meta",{property:"og:description",content:"Ask OpenAI Codex to create and schedule WordPress posts and pages through Postiz with a title and featured image. Skill or MCP setup, prompts, and FAQ."}),(0,o.jsx)("meta",{property:"og:image",content:"https://postiz.com/api/og?title=Publish%20to%20WordPress%20from%20Codex%3A%20Schedule%20Posts%20with%20Postiz"}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:title",content:"Publish to WordPress from Codex: Schedule Posts with Postiz"}),(0,o.jsx)("meta",{name:"twitter:description",content:"Ask OpenAI Codex to create and schedule WordPress posts and pages through Postiz with a title and featured image. Skill or MCP setup, prompts, and FAQ."}),(0,o.jsx)("meta",{name:"twitter:image",content:"https://postiz.com/api/og?title=Publish%20to%20WordPress%20from%20Codex%3A%20Schedule%20Posts%20with%20Postiz"}),(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(y)}}),(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(P)}}),(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(j)}})]}),(0,o.jsxs)("div",{className:"flex flex-col items-center max-w-[1440px] mx-auto overflow-hidden",children:[(0,o.jsxs)("section",{className:"!mt-[73px] sm:!mt-[120px] !pt-0 !pb-0 space-y-[30px] px-5",children:[(0,o.jsxs)("div",{className:"flex justify-center",children:[(0,o.jsx)(d(),{src:h.WW,alt:"doodle top",className:"hidden lg:block"}),(0,o.jsx)(d(),{src:h.Of,alt:"doodle top mobile",className:"block lg:hidden"})]}),(0,o.jsxs)("div",{className:"flex flex-col items-center",children:[(0,o.jsx)("div",{className:"min-h-[12px] sm:min-h-[10px]"}),(0,o.jsxs)("div",{className:"max-w-[900px] relative",children:[(0,o.jsx)("h1",{className:"text-center",children:"Post to WordPress from Codex"}),(0,o.jsx)(d(),{src:h.ai,alt:"doodle underline",className:"absolute left-[50%] -translate-x-[50%] hidden lg:block"})]}),(0,o.jsx)("div",{className:"min-h-[24px] sm:min-h-[32px]"}),(0,o.jsx)("p",{className:"max-w-[700px] text-[18px] leading-[23.44px] sm:text-[22px] sm:leading-[28.64px] font-[400] text-[#d1d1d1] text-center",children:"Codex can publish to WordPress through Postiz. Install the Postiz skill or add the Postiz MCP server to Codex, connect your WordPress site in Postiz, then give Codex the content or a markdown file. It sets the title, chooses post or page, uploads the featured image, and schedules the entry on your site."}),(0,o.jsx)("div",{className:"min-h-[32px] sm:min-h-[40px]"}),(0,o.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 w-full sm:w-auto",children:[(0,o.jsx)(x.zx,{variant:"primary",size:"lg",className:"!w-full sm:!w-fit",asLink:"https://docs.postiz.com/providers/wordpress",alt:"View WordPress setup guide",children:"Setup Guide"}),(0,o.jsx)(x.zx,{variant:"secondary",size:"lg",className:"!w-full sm:!w-fit",asLink:"https://github.com/openai/codex",alt:"View on GitHub",children:"GitHub"}),(0,o.jsx)(x.zx,{variant:"secondary",size:"lg",className:"!w-full sm:!w-fit",alt:"Copy install c
1ommand",onClick:s,children:e?"Copied!":"npx skills add gitroomhq/postiz-agent"})]}),(0,o.jsx)("div",{className:"min-h-[16px] sm:min-h-[24px]"}),(0,o.jsx)("p",{className:"text-[14px] leading-[18.23px] text-[#d1d1d1] text-center",children:"Please make sure there is always a human in the loop."}),(0,o.jsx)(m.O9,{as:"p",className:"text-[14px] leading-[18.23px] text-[#d1d1d1] text-center",date:"2026-09-23"}),(0,o.jsxs)("nav",{"aria-label":"Breadcrumb",className:"text-[14px] leading-[18.23px] text-[#d1d1d1] text-center",children:[(0,o.jsx)(p(),{href:"/",className:"hover:text-white",children:"Home"}),(0,o.jsx)("span",{className:"mx-2",children:"/"}),(0,o.jsx)(p(),{href:"/codex",className:"hover:text-white",children:"Codex"}),(0,o.jsx)("span",{className:"mx-2",children:"/"}),(0,o.jsx)("span",{children:"WordPress"})]})]}),(0,o.jsx)(d(),{src:h.eP,alt:"doodle left",className:"hidden lg:block absolute top-[320px] left-0"}),(0,o.jsx)(d(),{src:h.IB,alt:"doodle left mobile",className:"block sm:hidden absolute bottom-[73px] left-0"}),(0,o.jsx)(d(),{src:h.cW,alt:"doodle right",className:"hidden lg:block absolute top-[120px] right-0"}),(0,o.jsx)(d(),{src:h.lh,alt:"doodle right mobile",className:"block sm:hidden absolute bottom-[233px] right-0"})]}),(0,o.jsx)("section",{className:"py-[40px] sm:py-[60px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[900px] mx-auto space-y-6",children:[(0,o.jsx)("h2",{className:"text-center",children:"How do I post to WordPress from Codex?"}),(0,o.jsx)("p",{className:"max-w-[700px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Set up Codex once with the Postiz skill or the Postiz MCP server, connect WordPress in Postiz, then ask. The whole setup takes a few minutes."}),(0,o.jsx)("div",{className:"min-h-[10px] sm:min-h-[20px]"}),(0,o.jsx)(b,{title:"Setup, then just ask",children:"# One-time setup, option A: Postiz skill + CLI\nnpx skills add gitroomhq/postiz-agent\nexport POSTIZ_API_KEY=your_api_key # or: postiz auth:login\n\n# One-time setup, option B: Postiz MCP server (OAuth, no key)\ncodex mcp add postiz --url https://mcp.postiz.com/mcp-oauth-dynamic\ncodex mcp login postiz\n\n# Then just ask Codex:\n> Publish this post on WordPress with\n a featured image, tomorrow at 9am\n\nCodex: Done! Your WordPress post is scheduled."})]})}),(0,o.jsxs)("section",{className:"space-y-[40px] sm:space-y-[60px] py-[50px] sm:py-[90px] px-5 w-full",children:[(0,o.jsx)("h2",{className:"text-center",children:"WordPress-Specific Features"}),(0,o.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 max-w-[1200px] mx-auto",children:[(0,o.jsx)(N,{icon:"\uD83D\uDCDD",title:"Posts & Pages",description:"Create both blog posts and static pages. Just say which one you want."}),(0,o.jsx)(N,{icon:"\uD83D\uDDBC",title:"Featured Images",description:"Upload and set featured images for your posts and pages. Eye-catching thumbnails drive more clicks from your site."}),(0,o.jsx)(N,{icon:"\uD83D\uDCC4",title:"Content Management",description:"Manage your WordPress content by asking Codex. Create, schedule, and organize posts without touching the admin panel."}),(0,o.jsx)(N,{icon:"\uD83D\uDCC5",title:"Scheduled Publishing",description:"Schedule posts and pages for future publication with precise timestamps. Plan your content calendar in advance."}),(0,o.jsx)(N,{icon:"\uD83E\uDD16",title:"AI-Powered Workflows",description:"Let AI agents draft, format, and publish your WordPress content. From idea to published post without manual intervention."}),(0,o.jsx)(N,{icon:"\uD83D\uDD04",title:"Multi-Site Support",description:"Connect multiple WordPress sites and publish to any of them. Manage all your sites from a single Postiz account."})]})]}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[1200px] mx-auto space-y-[40px] sm:space-y-[60px]",children:[(0,o.jsx)("h2",{className:"text-center",children:"How does Codex post to WordPress?"}),(0,o.jsx)("p",{className:"max-w-[700px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"You describe what you want in plain language and Codex handles the Postiz calls for you. Here is how a typical conversation goes."}),(0,o.jsxs)("div",{className:"space-y-10 sm:space-y-16",children:[(0,o.jsx)(C,{number:1,title:"Find Your WordPress Integration",description:"Ask Codex whether your WordPress account is connected. It also checks which options the platform supports.",code:">
1 Is my WordPress account connected to Postiz?\n\nCodex: Yes â your WordPress account is connected\n and ready. Want me to post something?",codeTitle:"Example conversation"}),(0,o.jsx)(C,{number:2,title:"Prepare Your Content",description:"Write your content and optionally upload a featured image. WordPress supports HTML content for rich formatting.",code:'> Draft a WordPress post about our new\n feature launch\n\nCodex: Here\'s a draft for WordPress:\n "We just shipped something big..."\n Want me to add media and schedule it?',codeTitle:"Example conversation"}),(0,o.jsx)(C,{number:3,title:"Create Your Post",description:"Create a WordPress post or page with your content, title, featured image, and content type settings.",code:"> Yes â add screenshot.png and schedule\n it for tomorrow at 9am\n\nCodex: Done! Scheduled on WordPress for\n tomorrow at 9:00 AM.",codeTitle:"Example conversation"})]})]})}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[1200px] mx-auto space-y-[40px]",children:[(0,o.jsx)("h2",{className:"text-center",children:"WordPress Settings Reference"}),(0,o.jsx)("p",{className:"max-w-[600px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Mention any of these in plain language and Codex sets them for you. These are the WordPress options it can apply to any post."}),(0,o.jsx)("div",{className:"overflow-x-auto",children:(0,o.jsxs)("table",{className:"w-full border-collapse",children:[(0,o.jsx)("thead",{children:(0,o.jsxs)("tr",{children:[(0,o.jsx)("th",{className:"text-left p-4 border-b border-white border-opacity-10 text-[16px] font-jakarta font-semibold",children:"Field"}),(0,o.jsx)("th",{className:"text-left p-4 border-b border-white border-opacity-10 text-[16px] font-jakarta font-semibold",children:"Type"}),(0,o.jsx)("th",{className:"text-left p-4 border-b border-white border-opacity-10 text-[16px] font-jakarta font-semibold hidden sm:table-cell",children:"Required"}),(0,o.jsx)("th",{className:"text-left p-4 border-b border-white border-opacity-10 text-[16px] font-jakarta font-semibold",children:"Description"})]})}),(0,o.jsx)("tbody",{children:u.map((e,t)=>{let{field:s,type:a,required:i,description:n}=e;return(0,o.jsxs)("tr",{children:[(0,o.jsx)("td",{className:"p-4 border-b border-white border-opacity-5",children:(0,o.jsx)("code",{className:"text-[14px] font-mono text-white bg-white bg-opacity-5 px-2 py-1 rounded",children:s})}),(0,o.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[#d1d1d1] text-[14px] font-mono",children:a}),(0,o.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[#d1d1d1] text-[14px] hidden sm:table-cell",children:i?"Yes":"No"}),(0,o.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[#d1d1d1] text-[16px]",children:n})]},t)})})]})})]})}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[900px] mx-auto space-y-[40px]",children:[(0,o.jsx)("h2",{className:"text-center",children:"Common Configurations"}),(0,o.jsx)("p",{className:"max-w-[600px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Ask Codex for any of these common WordPress publishing scenarios and it applies the matching settings."}),(0,o.jsxs)("div",{className:"space-y-6",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{className:"text-[18px] sm:text-[20px] font-jakarta font-semibold mb-3",children:"Simple Blog Post"}),(0,o.jsx)(b,{title:"Just ask",children:"> Post it with: Simple Blog Post\n\nCodex: Got it. Applying:\n title: Getting Started with WordPress Automation\n type: post"})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{className:"text-[18px] sm:text-[20px] font-jakarta font-semibold mb-3",children:"Blog Post with Featured Image"}),(0,o.jsx)(b,{title:"Just ask",children:"> Post it with: Blog Post with Featured Image\n\nCodex: Got it. Applying:\n title: 10 Tips for Better Code Reviews\n main_image: id=img-abc123, path=https://uploads.postiz.com/code-reviews.jpg\n type: post"})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{className:"text-[18px] sm:text-[20px] font-jakarta font-semibold mb-3",children:"Static Page"}),(0,o.jsx)(b,{title:"Just ask",children:"> Post it with: Static Page\n\nCodex: Got it. Applying:\n title: About Our Company\n main_image: id=img-xyz789, path=https://uploads.postiz.com/about-hero.jpg\n type: page"})]})]})]})}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[1200px] mx-auto
1space-y-[40px] sm:space-y-[60px]",children:[(0,o.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,o.jsx)("h2",{className:"text-center",children:"What is Codex?"}),(0,o.jsxs)("p",{className:"max-w-[700px] text-center text-[18px] leading-[23.44px] sm:text-[22px] sm:leading-[28.64px] text-[#d1d1d1]",children:["Codex is OpenAI's coding agent. It runs as the Codex CLI in your terminal (npm install -g @openai/codex), as an IDE extension, and in the cloud, and it can run shell commands and call MCP servers, which is how it drives Postiz. Codex is not ChatGPT: ChatGPT is the chat assistant on chatgpt.com and connects to Postiz differently (see the"," ",(0,o.jsx)(p(),{href:"/chatgpt",className:"underline hover:text-white",children:"ChatGPT guide"}),"). For the full setup, start at the"," ",(0,o.jsx)(p(),{href:"/codex",className:"underline hover:text-white",children:"Codex + Postiz hub"}),"."]})]}),(0,o.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[(0,o.jsx)(N,{icon:"\uD83D\uDCBB",title:"Terminal & IDE Native",description:"Codex runs in your terminal or IDE. You type what you want in plain English and it handles Postiz for you â no extra configuration needed."}),(0,o.jsx)(N,{icon:"\uD83D\uDD27",title:"Autonomous Execution",description:"Codex runs commands inside a sandbox with approval rules you control, and works through multi-step tasks like discovering channels, uploading media, and scheduling WordPress posts."}),(0,o.jsx)(N,{icon:"â¡",title:"Parallel Tasks",description:"Run multiple Codex tasks simultaneously. Schedule posts to different platforms in parallel while Codex handles other coding work."})]}),(0,o.jsx)("div",{className:"bg-[#0e0e0e] rounded-[20px] p-6 sm:p-10 border border-white border-opacity-10",children:(0,o.jsxs)("div",{className:"flex flex-col md:flex-row gap-8",children:[(0,o.jsxs)("div",{className:"flex-1 space-y-4",children:[(0,o.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:"How Postiz Works with Codex"}),(0,o.jsx)("p",{className:"text-[16px] leading-[24px] text-[#d1d1d1]",children:"Codex discovers Postiz two ways: the postiz skill, which it loads from .agents/skills or ~/.agents/skills and which you can invoke with $postiz, or the Postiz MCP server added with codex mcp add. Either way it learns the available tools and chains them for WordPress workflows."}),(0,o.jsx)("ul",{className:"space-y-3",children:["Install the Postiz skill with npx skills add, or add the Postiz MCP server with codex mcp add","Codex loads skills from .agents/skills and reads SKILL.md to learn the Postiz CLI","Authenticate with POSTIZ_API_KEY or postiz auth:login; the MCP route uses OAuth instead","Codex runs commands in its sandbox and asks for approval based on your permission settings","Works alongside your coding tasks in parallel"].map((e,t)=>(0,o.jsxs)("li",{className:"flex items-start gap-3 text-[16px] leading-[24px] text-[#d1d1d1]",children:[(0,o.jsx)("span",{className:"text-[#682EE1] mt-1 shrink-0",children:"â"}),e]},t))})]}),(0,o.jsx)("div",{className:"flex-1",children:(0,o.jsx)(b,{title:"Install Postiz",children:'# Install the Postiz skill\nnpx skills add gitroomhq/postiz-agent\n\n# Set your API key\nexport POSTIZ_API_KEY=your_api_key\n\n# Or add the Postiz MCP server instead (OAuth, no API key)\ncodex mcp add postiz --url https://mcp.postiz.com/mcp-oauth-dynamic\ncodex mcp login postiz\n\n# Then ask, interactively or headless\ncodex "list my social media integrations"\ncodex exec "post today\'s changelog to WordPress"'})})]})})]})}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[1200px] mx-auto space-y-[40px] sm:space-y-[60px]",children:[(0,o.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,o.jsx)("h2",{className:"text-center",children:"WordPress Publishing with Codex"}),(0,o.jsx)("p",{className:"max-w-[700px] text-center text-[18px] leading-[23.44px] sm:text-[22px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Tell Codex what to post from your terminal or IDE â it discovers your integrations via Postiz and handles the entire publishing workflow."})]}),(0,o.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,o.jsxs)("div",{className:"flex flex-col gap-6 p-6 sm:p-8 bg-[#1A1919] rounded-[20px] border border-white border-opacity-10",children:[(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)("div",{className:"w-12 h-12 sm:w-14 sm:h-14 flex items-center justify-center bg-[#10A37F] rounded-xl",children:(0,o.jsx)("span",{className:"text-2xl sm:text-3xl",children:"\uD83D\uDCBB"})}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:"Just Ask Codex"}),(0,o.jsx)("p",{className:"text-[14px] text-[#d1d1d1]",children:"Terminal and IDE integration"})]})]}),(0,o.jsx)("p",{className:"text-[16px] leading-[24px] sm:text-[18px] sm:leading-[27px] text-[#d1d1d1]",children:"Tell Codex what to post from your terminal or IDE â it discovers your integrations via Postiz and handles the entire publishing workflow."}),(0,o.jsx)(b,{title:"Codex CLI",children:'$ codex "Post to Wordpress about our\n new feature launch, schedule for\n tomorrow at 9am"\n\nCodex: I\'ll handle that.\n Found your Wordpress integration.\n Composing and scheduling the post.\n\n Done! Your post is scheduled.\n Post ID: abc-123'})]}),(0,o.jsxs)("div",{className:"flex flex-col gap-6 p-6 sm:p-8 bg-[#1A1919] rounded-[20px] border border-white border-opacity-10",children:[(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)("div",{className:"w-12 h-12 sm:w-14 sm:h-14 flex items-center justify-center bg-[#10A37F] rounded-xl",children:(0,o.jsx)("span",{className:"text-2xl sm:text-3xl",children:"\uD83D\uDCBB"})}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:"Parallel Tasks"}),(0,o.jsx)("p",{className:"text-[14px] text-[#d1d1d1]",children:"Multiple tasks at once"})]})]}),(0,o.jsx)("p",{className:"text-[16px] leading-[24px] sm:text-[18px] sm:leading-[27px] text-[#d1d1d1]",children:"Codex can handle multiple tasks in parallel. Schedule posts to different platforms while it works on other coding tasks simultaneously."}),(0,o.jsx)(b,{title:"Codex Parallel Tasks",children:'# Run multiple posting tasks in parallel\n$ codex "Schedule a post about our\n launch to X for tomorrow 9am" &\n\n$ codex "Write a LinkedIn article\n about our new feature and schedule\n for tomorrow noon" &\n\n$ codex "Fix the bug in auth.ts"\n\n# All three tasks run simultaneously'})]})]}),(0,o.jsx)("div",{className:"bg-[#0e0e0e] rounded-[20px] p-6 sm:p-10 border border-white border-opacity-10",children:(0,o.jsxs)("div",{className:"flex flex-col md:flex-row gap-8",children:[(0,o.jsxs)("div",{className:"flex-1 space-y-4",children:[(0,o.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:"Why Codex + Postiz for WordPress"}),(0,o.jsx)("p",{className:"text-[16px] leading-[24px] text-[#d1d1d1]",children:"Codex's autonomous execution makes Postiz a natural fit. The agent reads the SKILL.md to understand every available command, then autonomously chains them together for WordPress workflows."}),(0,o.jsx)("ul",{className:"space-y-3",children:["Runs in your terminal or IDE â just type what you want","Autonomous execution in sandboxed environments","Parallel task support â post while coding","Featured images uploaded and attached automatically","Cross-post to WordPress + other platforms in a single session","Powered by OpenAI's most capable models"].map((e,t)=>(0,o.jsxs)("li",{className:"flex items-start gap-3 text-[16px] leading-[24px] text-[#d1d1d1]",children:[(0,o.jsx)("span",{className:"text-[#682EE1] mt-1 shrink-0",children:"â"}),e]},t))})]}),(0,o.jsx)("div",{className:"flex-1",children:(0,o.jsx)(b,{title:"SKILL.md (loaded by Codex from .agents/skills)",children:"---\nname: postiz\ndescription: Social media automation\n CLI for scheduling posts across\n 30+ platforms including WordPress\nhomepage: https://docs.postiz.com/public-api/introduction\n---\n\n# Loaded by Codex from .agents/skills\n# Invoke explicitly with $postiz\n\n# Available Commands\n- postiz integrations:list\n- postiz integrations:settings <id>\n- postiz posts:create\n- postiz upload <file>\n- postiz analytics:platform <id>\n\n# WordPress Settings\ntitle, main_image, type"})})]})})]})}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[1200px] mx-auto
1space-y-[40px] sm:space-y-[60px]",children:[(0,o.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,o.jsx)("h2",{className:"text-center",children:"Also Works with Claude Code"}),(0,o.jsxs)("p",{className:"max-w-[700px] text-center text-[18px] leading-[23.44px] sm:text-[22px] sm:leading-[28.64px] text-[#d1d1d1]",children:["Postiz works with any AI agent that can run commands or call MCP tools â you ask, the agent does the work. That includes Anthropic's Claude Code: see the"," ",(0,o.jsx)(p(),{href:"/claude-code/wordpress",className:"underline hover:text-white",children:"Claude Code WordPress guide"}),", or the"," ",(0,o.jsx)(p(),{href:"/agent",className:"underline hover:text-white",children:"Postiz Agent"})," ","page for any other agent."]})]}),(0,o.jsx)("div",{className:"max-w-[900px] mx-auto",children:(0,o.jsxs)("div",{className:"flex flex-col gap-6 p-6 sm:p-8 bg-[#1A1919] rounded-[20px] border border-white border-opacity-10",children:[(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)("div",{className:"w-12 h-12 sm:w-14 sm:h-14 flex items-center justify-center bg-[#D97757] rounded-xl",children:(0,o.jsx)("span",{className:"text-2xl sm:text-3xl font-bold text-white",children:"C"})}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:"Claude Code"}),(0,o.jsx)("p",{className:"text-[14px] text-[#d1d1d1]",children:"by Anthropic"})]})]}),(0,o.jsx)("p",{className:"text-[16px] leading-[24px] sm:text-[18px] sm:leading-[27px] text-[#d1d1d1]",children:"Claude reads the Postiz skill so it knows what it can do, then autonomously discovers your WordPress integration, uploads your featured image, sets the content type, and publishes the post."}),(0,o.jsx)(b,{title:"Claude Code",children:"> Publish my code review tips article\n to WordPress as a blog post with\n a featured image\n\nClaude: Done! Scheduled on WordPress for\n tomorrow at 9:00 AM."})]})})]})}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[900px] mx-auto space-y-6",children:[(0,o.jsx)("h2",{className:"text-center",children:"Can Codex post to WordPress and other platforms at once?"}),(0,o.jsx)("p",{className:"max-w-[600px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Publish the same content to WordPress and other platforms in a single request. Each platform gets its own settings."}),(0,o.jsx)("div",{className:"min-h-[10px] sm:min-h-[20px]"}),(0,o.jsx)(b,{title:"Example",children:'> Post "Excited to announce our new feature!" to\n WordPress and LinkedIn tomorrow at 9am, then schedule\n a daily tip on WordPress every weekday at 10am\n\nCodex: Done! Scheduled:\n - WordPress + LinkedIn: tomorrow 9:00 AM\n - Daily tips on WordPress: Mon-Fri 10:00 AM'})]})}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[900px] mx-auto space-y-6",children:[(0,o.jsx)("h2",{className:"text-center",children:"What can I ask Codex to post on WordPress?"}),(0,o.jsx)("p",{className:"max-w-[700px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Codex takes plain-English prompts in an interactive session, as a one-off codex exec command, or through the $postiz skill. These are the kinds of prompts people type for WordPress."}),(0,o.jsx)("div",{className:"min-h-[10px] sm:min-h-[20px]"}),(0,o.jsx)(b,{title:"Prompts for WordPress",children:"> Publish ./posts/release-2-4.md as a WordPress post with\n ./assets/hero.png as the featured image, tomorrow 9am\n\n$ codex exec \"Create a WordPress page titled 'Changelog' from CHANGELOG.md\n and publish it now\"\n\n> $postiz Schedule the three drafts in ./content/blog as WordPress\n posts on Monday, Wednesday, and Friday at 10am"})]})}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[900px] mx-auto
1space-y-[30px]",children:[(0,o.jsx)("h2",{className:"text-center",children:"What WordPress rules should Codex follow?"}),(0,o.jsx)("p",{className:"max-w-[700px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"These are the WordPress limits and required settings Postiz enforces. Codex reads them from postiz integrations:settings, and you can mention any of them in your prompt."}),(0,o.jsx)("ul",{className:"space-y-3 p-6 sm:p-8 bg-[#1A1919] rounded-[16px] sm:rounded-[20px] border border-white border-opacity-10",children:f.map((e,t)=>(0,o.jsxs)("li",{className:"flex items-start gap-3 text-[16px] leading-[24px] text-[#d1d1d1]",children:[(0,o.jsx)("span",{className:"text-[#682EE1] mt-1 shrink-0",children:"â"}),e]},t))})]})}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[900px] mx-auto space-y-[30px] sm:space-y-[40px]",children:[(0,o.jsx)("h2",{className:"text-center",children:"Codex and WordPress FAQ"}),(0,o.jsx)("div",{className:"space-y-4",children:g.map((e,t)=>{let{question:s,answer:a}=e;return(0,o.jsxs)("div",{className:"p-6 sm:p-8 bg-[#1A1919] rounded-[16px] sm:rounded-[20px] border border-white border-opacity-10",children:[(0,o.jsx)("h3",{className:"text-[18px] leading-[24px] sm:text-[20px] sm:leading-[26px] font-jakarta font-semibold",children:s}),(0,o.jsx)("p",{className:"mt-3 text-[16px] leading-[24px] sm:text-[18px] sm:leading-[27px] text-[#d1d1d1]",children:a})]},t)})})]})}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,o.jsxs)("div",{className:"max-w-[1200px] mx-auto space-y-[40px]",children:[(0,o.jsx)("h2",{className:"text-center",children:"Related Codex and WordPress guides"}),(0,o.jsx)("p",{className:"max-w-[600px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Start at the Codex hub for setup, or jump to another platform Codex can post to through Postiz."}),(0,o.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:w.map(e=>{let{href:t,title:s,description:a}=e;return(0,o.jsxs)(p(),{href:t,className:"flex flex-col gap-2 p-5 bg-[#1A1919] rounded-[16px] border border-white border-opacity-10 hover:border-[#682EE1] hover:border-opacity-50 transition-all group",children:[(0,o.jsxs)("div",{className:"flex items-center justify-between",children:[(0,o.jsx)("h4",{className:"text-[18px] font-jakarta font-semibold group-hover:text-[#a87fef] transition-colors",children:s}),(0,o.jsx)("span",{className:"text-[#d1d1d1] group-hover:text-[#682EE1] transition-colors",children:"â"})]}),(0,o.jsx)("p",{className:"text-[14px] leading-[20px] text-[#d1d1d1]",children:a})]},t)})})]})}),(0,o.jsx)("section",{className:"py-[50px] sm:py-[90px] sm:px-5 w-full",children:(0,o.jsxs)("div",{className:"flex flex-col lg:flex-row justify-between items-left lg:items-center gap-10 px-5 py-10 sm:p-15 rounded-none sm:rounded-[20px] w-full max-w-[1200px] mx-auto",style:{backgroundColor:"#682EE1"},children:[(0,o.jsxs)("div",{className:"space-y-5 sm:space-y-4",children:[(0,o.jsx)("h3",{className:"text-left text-[30px] leading-[33px] sm:text-[48px] sm:leading-[52.8px] font-jakarta font-[700]",children:"Start publishing to WordPress"}),(0,o.jsx)("p",{className:"max-w-[620px] text-white text-left text-[18px] leading-[23.44px] sm:text-[22px] sm:leading-[28.64px] font-[400]",children:"Install Postiz Agent and automate your WordPress content strategy with AI-powered scheduling and publishing."})]}),(0,o.jsx)("div",{className:"flex flex-col sm:flex-row gap-4",children:(0,o.jsx)(x.zx,{variant:"primary",size:"lg",asLink:"https://docs.postiz.com/providers/wordpress",alt:"Get started with WordPress",reverseColor:!0,children:"Get Started"})})]})})]})]})})}},function(e){e.O(0,[7947,1766,6969,2888,9774,179],function(){return e(e.s=26176)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.