Soliloquy Slider – Check If ID Exists

Why Use?
If you randomly try to load/show a slide ID that doesn’t exists, an error message will appear indicating that the ID doesn’t exists. So if you try to validate the ID first before loading, you can avoid showing the error message.

Recommended Use:

  • Integrate on Category Archives to automatically load/show soliloquy slider based on category name/slug.
  • Other custom theme integration.

To check if an ID exists or valid.

Example: