Support » Plugin: Uptime Robot Plugin for WordPress » Cannot display single monitor

  • Resolved sc456a

    (@sc456a)


    There doesn’t seem to be a shortcode to display a single monitor, so I used [uptime-robot monitors=”00001-00001″] to do it. That worked but it shows a “Paused” monitor above the real one. See here:

    Uptime robot monitor

    I’d also like to disable some of the columns, like “Type” and “7 Days”. Can I do that with a function or just with CSS?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aphotrax

    (@vlijmen)

    Hi,

    What is the exact shortcode you are currently using? Since you have a monitor called ‘0’ zero in the output I think you have entered two id’s?

    To hide the type you can use hide=”type”. To hide specific days you should do that the other way around. Instead of saying what you want to hide you have to tell the shortcode the days you want to show. Example days=”1-30-365″

    The full example would be:

    [uptime-robot monitors="777564793" hide="type" days="1-30-365"]

    Regards,
    Niels

    That worked – thanks.

    Note for others: I am using Advanced Custom Fields with this shortcode and in order for it to display properly on the front end the ACF needs to be set to “WYSIWYG editor”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot display single monitor’ is closed to new replies.