• Resolved diegobelohlavek

    (@diegobelohlavek)


    Hi,
    I have been using this plugin but when the post does not belong to the Administrator, the plugin show this message:
    Only admnistrator owned posts can execute the [includeme] shortcode. This message is shown only to administrators.
    What can I do?
    Thanks a lot.
    Great plugin.
    Diego.

Viewing 1 replies (of 1 total)
  • Thread Starter diegobelohlavek

    (@diegobelohlavek)

    I have commented these lines in plugins/include-me/plugin.php and works.

    if (!user_can($post->post_author, ‘administrator’)) {
    return ‘Only admnistrator owned posts can execute the [includeme] shortcode. This message is shown only to administrators.’;

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Only admnistrator owned posts can execute the [includeme] shortcode.’ is closed to new replies.