• Companion Auto Update
  • Companion Sitemap Generator
  • Companion Revision Manager
  • Companion Portfolio

Papin Schipper (CodeerMeneer)

Coffee addict & WordPress developer

  • Hello
  • Plugins
  • Blog
  • Documentation
  • Contact me
  • Menu

How to use the shortcode in Companion Sitemap Generator

  1. 1 Home
  2. 2 Documentation and Tutorials
  3. 3 How to use the shortcode in Companion Sitemap Generator
Companion Sitemap Generator - XML & HTML Sitemap

Since version 3.7 we’ve introduced a block for the new gutenberg editor that comes with WordPress since version 5.0. While we will continue to update this block with more features and thus recommend this block over the shortcode we will not drop the shortcode.

But, we will remove the shortcode generator from the plugin in a future update. Instead, we’ll explain how to use the shortcode on this page.

[show_ads]

Use the basic version

The basic shortcode will load the the sitemap with default settings. (1 column, orderby date (ASC) ).

html-sitemap

Double columns

With the shortcode you can display two columns (the gutenberg block offers up to four). This can be done by using the columns=”2″ argument.

html-sitemap columns="2"

Order by title instead of by date

By default the shortcode orders by date, but you can change this to title using the orderby=”name” argument.

html-sitemap orderby="name"

Changing the order

You can invert the sorting order by using the sort=”desc” argument.

html-sitemap sort="desc"

Limits

You can limit the number of posts to display per block. (-1 for all posts)

html-sitemap limit="100"

The full shortcode

The full shortcode with all arguments is as follows:

html-sitemap columns="2" orderby="name" sort="desc" limit="100"
Papin Schipper 28 February 2019

Continue reading

Known issues & fixes for Companion Auto Update

A plugin of this scale can’t go without at least a few issues. All known issues are listed here with a fix for it (if we have one). Issues with paid plugins & themes Issues with plugins Automatic updates are disabled Issues with paid plugins & themes Right now paid plugins & themes might not […]

Papin Schipper 28 February 2019

How to use custom hooks in Companion Auto Update

If  you’re a plugin or theme developer and would like to extend the features of Companion Auto Update you can do so by using custom hooks and filters. If you have any idea on new hooks that should be added to this plugin please reach out to me and I’ll see what I can do. […]

Papin Schipper 28 February 2019

Companion WordPress Plugins

Helping you get the most out of your WordPress website, that’s what the Companion Plugins for WordPress are all about.

Check out my portfolio for all the plugins.

I’m always looking for new ideas as to what I can create next, or what can be improved to one of my existing plugins so don’t hesitate to contact me about any idea!

Recent posts

  • WordPress 5.5 versus Companion Auto Update
  • Companion Auto Updates’ most requested feature is here (sort of)
  • Add more intervals to the options in Companion Auto Update
  • How to use the shortcode in Companion Portfolio
  • Companion Sitemap Generator <3 Gutenberg

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Papin Schipper (CodeerMeneer)Coffee addict & WordPress developer
  • HTML Sitemap
  • Curriculum Vitae
  • Plugins for WordPress
  • Hire me?