Documentation for the way you actually build.
Start with installation and FileMaker connection setup, then move through shortcodes, parameters, scripts, containers, helpers, troubleshooting, and hosted WP-CLI operations.
Getting Started
This guide will walk you through the process of installing and activating CWP Snippets, and creating your first snippet.
Installation and Activation
- Download: Download the plugin zip file from the cwpsnippets.com download page.
- Upload: In your WordPress admin, go to Plugins > Add New > Upload Plugin.
- Select File: Choose the downloaded zip file and click Install Now.
- Activate: Once installed, click the Activate Plugin button.
Upon activation, a new "Snippets" menu will appear in your WordPress admin sidebar.
Your First Snippet
Let's create a simple "Hello World" snippet to see how easy it is to get started.
- Navigate: Go to Snippets > Add New in your WordPress admin.
- Title: Enter a title for your snippet. Let's use
Hello World. The plugin will use this title to generate the shortcode. - Code: In the code editor, type the following PHP code:
<?php echo "Hello, World!"; ?> - Snippet Type: For this example, set the type to Snippet.
- Create Snippet: Click the Create Snippet button to save it.
After saving, the page will reload in edit mode. Now you can preview your work or use the shortcode.
Previewing Your Snippet
Before using a shortcode, it's a good practice to preview it.
- Find the Preview Button: On the snippet edit screen, click the "Preview" button.
- Review Output: A new browser tab will open showing the raw output of your snippet. This is a safe way to test your code.
- Admin-Only: Remember, this preview is only visible to administrators. It is a development tool and will not be visible to your site visitors.
Using the Shortcode
Once you are happy with the preview, you can place your snippet on your site.
- Find the Shortcode: On the snippet edit screen, you will see a read-only "Shortcode" field. For a title of "Hello World" and type "Snippet", it will be
[cwp-snip-hello-world]. - Copy Shortcode: Copy this value.
- Edit Page: Go to the page or post where you want to display the snippet.
- Paste Shortcode: Paste the copied shortcode into the content editor.
- Update & View: Save your changes and view the page. You should see "Hello, World!" displayed.
Congratulations! You've installed CWP Snippets and created your first snippet. In the next section, we'll explore the plugin's features in more detail.
Free tools, backed by real integration experience.
CWP Snippets, restCWP, and ODataCWP are provided free by RGC Data to help developers build better FileMaker-connected websites.
They are shaped by the same practical experience we bring to custom FileMaker, WordPress, PHP, Data API, and OData projects.
Bring us your integration project.
Whether you need a complete FileMaker-to-web application or help with one difficult part, RGC Data can help you plan, build, troubleshoot, and deploy it.
Architecture, custom development, API integration, security, deployment, and ongoing support—all shaped around your solution.
Tell us what you are building and where you would like help.