Skip to content

Wp dashboard link

Wordpress WP: add link to popup with Dashboard

You need to perform the following steps:

  1. publish the report to web and copy the secret report ID
    wp-dashboard-link-publish-to-web.png

  2. create a button in your post by adding an HTML element in WP

  3. add the html code

    <div align="center" class="popmake-3156" ><a class="pp-yellow-button wp-block-button__link has-background" href="?pbiURL={{code}}#popmake-3156">Try Dashboard</a></div>
    

  4. replace the report link
    wp-dashboard-link-1.png

Background

This involves the following components:

  1. PopupMaker
    wp-dashboard-link-popup.png

  2. js
    wp-dashboard-link-js.png

  3. functions.php
    wp-dashboard-link-functions.png

TODO

  1. Add a possibility to link to a page.