Shortcodes can do quite a lot in your website’s content. Here’s all the shortcodes added by Print My Blog.
These shortcodes are for adding PMB’s print buttons to your posts and pages.
|[pmb_print_buttons]||Add PMB’s Print Buttons to a post (using settings set on PMB’s Settings page). See this FAQ.||Somewhere inside your theme’s PHP file, add |
|[pmb_print_page_url]||Just gets the URL of the print page for more advanced integrations. You can supply it with the ID of a different post, and the |
Add to posts, pages, and custom post type to customize how the content will appear differently depending on whether it’s viewed on your website or in print/pdf/ebook.
|The words between the opening and closing shortcode will only appear on the website, not in PMB projects. Best used on individual words within a paragraph, not entire blocks of text or other content.||I hope you enjoyed this[pmb_web_only_text] post[/pmb_web_only_text]!|
|The blocks between the opening and closing shortcode will only appear on the website, not in PMB projects. Best used on entire blocks of text and other content, not individual words.||[pmb_web_only_blocks]|
Welcome back readers! Today I have a special post for you on frogs!
…video of a frog and other blocks…
Frogs are amphibians, usually green…
|The words between the opening and closing shortcode will only appear on the PMB projects, not on your website. Best used on individual words within a paragraph, not entire blocks of text or other content.||I hope you enjoyed this [pmb_print_only_text] chapter[/pmb_print_only_text]!|
| [pmb_print_only_blocks] |
|The blocks between the opening and closing shortcode will only appear in PMB projects, not on your website. Best used on entire blocks of text and other content, not individual words.|| [pmb_print_only_blocks]|
For more information about frogs, please see my other book.
…picture of other book about frogs and other blocks…
Now we move onto salamanders…
Use in your PMB Pro projects for dynamic content.
|[pmb_project_title]||Inserts the current project’s title. If the project has a metadatum called “Title” it is used instead. Especially useful for custom title pages, or referring to the project itself elsewhere in the project.||Praise for [pmb_project_title]|
|[pmb_toc]||Inserts the project’s table of contents. The table of contents is generated dynamically, and styled by your design. Useful in case you want to customize the table of contents page.||Topics covered:|
|[pmb_title_page]||Insert’s the design’s entire dynamic title page. Each design generates the title page differently, usually using project metadata.|
If you want to customize the title page, you should probably instead use <-- pmb there is no project title because this post is not being viewed as part of a project. You should probably not show this post to site visitors by making it private.-->
|[pmb_byline]||Gets the project’s metadatum “Byline” which normally contains the project’s author(s).||A Tale of Two Thumbs|
|Places the content between the opening and closing shortcode in a footnote when a project is printed. Useful for including content besides URLs in footnotes.||Print My Blog makes WordPress a replacement for Microsoft Word![pmb_footnote]Note: Print My Blog is not part of the WordPress Foundation. It is a plugin that extends WordPress[/pmb_footnote]|