Skip to content

Fixing Shortcode Display Issues

If you have copied and pasted one of the Charitable shortcodes into your content there can sometimes be extra HTML tags that are copied across. These can cause the shortcode output to look strange, often with monospaced fonts.

Extra HTML tags can also cause issues with the campaigns columns shortcode. You may have set four columns like this: [campaigns columns=4], but they’re only displaying in two columns.

Here’s how you can fix it:

  1. In your WordPress dashboard, edit the page.
  2. Switch to Text view for the editor.
  3. In the content area, look for any tags like this: <code>, </code>, <pre> or </pre>. If you find these or any other HTML tags around the shortcode, remove them.

After removing these and saving the page again, the issue should be fixed.