The instructions and videos shown in the HOW TO section of each camper product page come from a separate HOW TO post.
This means you only need to update the HOW TO post. Any changes made to that post will automatically appear on the connected camper product page.
Updating an Existing HOW TO Guide (post)
- From the WordPress Dashboard, go to Posts → All Posts.
- Find the HOW TO post connected to the camper or accessory.
- Click Edit.
- Update the instructions, images or videos as required.
- Click Update to save the changes.
You do not need to edit the product. Once the HOW TO post has been updated, the new content will automatically appear on the product page.
Important: Do Not Change the Existing Shortcode
Each product has a field called How To. This field contains a shortcode similar to:
[hch_post_content slug="accessory-how-to-guides"]
Do not remove or change this shortcode on an existing product. It is the connection between the product and its HOW TO post.
If the shortcode is deleted or the slug is changed incorrectly, the HOW TO information will no longer appear on the product page.
Connecting a HOW TO Post to a New Product
When adding a new camper or product, first create its HOW TO post.
- Go to Posts → Add New Post.
- Enter a clear title for the HOW TO guide.
- Add the instructions, images and videos.
- Click Publish.
- Find and copy the post’s slug.
- Open the new product for editing.
- Find the field called How To.
- Enter the shortcode using the new post’s slug.
- Update or publish the product.
For example, if the HOW TO post slug is:
fortescue-setup-guide
The shortcode entered into the product’s How To field must be:
[hch_post_content slug="fortescue-setup-guide"]
Only replace the text between the quotation marks. Do not change any other part of the shortcode.
How to Find the Post Slug
The slug is the final part of the post’s web address.
For example, if the post address is:
https://hillscamperhire.com.au/fortescue-setup-guide/
The slug is:
fortescue-setup-guide
Method 1: Find the Slug in the Post Editor
- Open the HOW TO post for editing.
- Open the Post settings on the right-hand side.
- Find Link or URL.
- Copy only the final part of the address.
Method 2: Use Quick Edit
- Go to Posts → All Posts.
- Move your mouse over the HOW TO post.
- Click Quick Edit.
- Find the field labelled Slug.
- Copy the slug exactly as displayed.
Before Finishing
- Make sure there are no spaces inside the slug.
- Keep the quotation marks around the slug.
- Do not change
hch_post_content. - Do not paste the complete web address into the shortcode.
- Update the product after entering the shortcode.
- View the product page and check the HOW TO section.
Remember: Edit the HOW TO post whenever the instructions need changing. The connected product page will then update automatically.