LLM Prompts

ACF-Powered Content Generation for WordPress

Generate content for WordPress based on ACF field definitions, including post content and reusable snippets.

The method

Use these prompts directly in ChatGPT. First, define your ACF field structure (name, type, instructions). Then, use Prompt 1 to generate content for a specific post, or Prompt 2 to create reusable content snippets. Tailor the tone and length as needed.

The prompts

Prompt 1
I am building a WordPress website using Advanced Custom Fields (ACF). I have defined the following ACF fields for my 'product' custom post type:

* `product_name` (text): The name of the product.
* `product_description` (wysiwyg): A detailed description of the product.
* `product_image` (image): An image of the product.
* `product_price` (number): The price of the product.
* `product_specifications` (repeater): A repeater field containing `specification_name` (text) and `specification_value` (text) fields.

Generate content for a new product post called 'Awesome Widget'. Provide a compelling product description, a reasonable price, and at least three specifications. Make the description engaging and persuasive to potential buyers. The tone should be professional but friendly. The output should be formatted as a JSON object, with each ACF field as a key and the generated content as the value. Do not include any explanations or introductory text; only provide the JSON object.
Prompt 2
I am creating a WordPress theme and using ACF to manage reusable content snippets. I have created an options page in ACF with the following fields:

* `company_name` (text): The name of the company.
* `company_tagline` (text): A catchy tagline for the company.
* `company_address` (textarea): The full address of the company.
* `company_phone` (text): The company's phone number.
* `company_email` (email): The company's email address.

Generate content for these fields. The company name is 'Innovate Solutions'. The tagline should be short and memorable, conveying innovation and problem-solving. The address is '123 Main Street, Anytown, CA 91234'. The phone number is '555-123-4567' and the email address is '[email protected]'. The output should be formatted as a JSON object suitable for directly populating the ACF fields. Ensure the tagline is creative and impactful. Do not include any introductory text or explanations; only provide the JSON object.