Support » Plugin: Client Dash » Shortcodes in admin pages?

  • Resolved menathor

    (@menathor)


    Hi guys,

    Just wondering if plugin shortcodes that display things like graphs and other content on the front end will work in the custom admin pages?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author d4mation

    (@d4mation)

    @menathor

    You can technically use shortcodes from other plugins and such on Client Dash Admin Pages, they just may not appear properly. See https://wordpress.org/support/topic/use-a-builder-to-create-custom-pages/#post-10853060

    If this plugin happens to load all the CSS and JS necessary within the WordPress Dashboard to render the graph it should work. But generally speaking, I would assume that it does not. This is because you have to intentionally tell WordPress whether to load CSS or JS on the frontend or backend of the site. Often times these CSS or JS files will be very specific to either the frontend or the backend, so forcing a frontend script to load on the backend or vice-versa could have some unintended side-effects.

    Feel free to try running the shortcode on the built-in Admin Page. If it works there, it will work in Custom Admin Pages within Client Dash Pro 🙂

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.