Support » Plugin: BP Better Messages » BP Messages shortcode

  • In one of the change log I saw that you added a shortcode possiblity. ? How it works? Where I can find the shortcode?
    [bp-better-messages] – this one doesn’t seem to be working.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wordplus

    (@wordplus)

    williamdjamieson

    (@williamdjamieson)

    I searched through all the code in the plugin. There is no shortcode registered in the script called “bp-better-messages”. The shortcode wasn’t added dynamically either. I think this only works on the authors local. They never published this in the installable file.

    williamdjamieson

    (@williamdjamieson)

    The author posted the code to add the shortcode though.

    just put this in the main script

    add_shortcode(‘bp-better-messages’,’message_short’);
    function message_short(){
    echo BP_Better_Messages()->functions->get_page();
    }

    Plugin Author wordplus

    (@wordplus)

    Hi there!

    @williamdjamieson, but you found also hook to make that page you are using main page.

    So all notifications urls, etc pointing there?

    Thanks!

    • This reply was modified 4 days, 23 hours ago by wordplus.
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.