When they search, make sure they find you!

Shortcode Reference

The [[id_logo_scroller]] shortcode renders a logo scroller anywhere WordPress processes shortcodes — posts, pages, widgets, and custom templates (via do_shortcode()).

Full Example

[[id_logo_scroller images="101,102,103,104" links="https://example.com
https://example.org

https://example.net" speed="medium" logo_height="60" gap="60"]]

Attributes

Attribute Type Default Description
images String (empty) Comma-separated WordPress attachment IDs. Required — the shortcode outputs nothing if this is empty.
links String (empty) Newline-separated URLs, one per image in matching order. Leave a line blank for no link on that image.
speed String medium Animation speed. Accepted values: slow (40s), medium (25s), fast (15s).
logo_height Integer 60 Height of each logo image in pixels. Width scales to maintain aspect ratio.
gap Integer 60 Horizontal space between logos in pixels.

Using in Templates

To render a logo scroller in a PHP template file:

<?php echo do_shortcode( '[[id_logo_scroller images="101,102,103" speed="fast" logo_height="40"]]' ); ?>

Notes

  • Only the images attribute is required. All other attributes fall back to their defaults if omitted.
  • Attributes that match their default value are omitted from the generated shortcode when using WPBakery or IDVE, keeping the shortcode clean.
  • Invalid attachment IDs are silently skipped — if an ID does not correspond to a media library image, that slot is simply not rendered.