After writing the project page for wpSMS I didn’t have much more to say in a blog post announcing it. The cool thing about writing Pages in WordPress is that I can create a taxonomy like /projects/wpsms/
to place them in. The downside is that new pages never appear in the RSS feed.
So I need both the page and a blog post to announce it. I could have simply copied the content from the wpSMS page into a blog post, but that creates confusion and splits the audience between the two pages. Instead, I’m using two bSuite features: the [inclu``de]
shortcode and the post redirection support.
- Create the page.
- Start a new post.
- In the post body put the
include
shortcode like this:[inclu``de post_id="123" field="post_content"]
. - In the custom fields put an entry with the key: “redirect” and the full URL to to your page.
- In the post body put the
- Relax, you’re done.
The include shortcode will copy all the content from the page (so you don’t have to manage it twice), and the redirect custom field will tell bSuite to redirect anybody trying to read that post to your page.