• Resolved mcntech9

    (@mcntech9)


    So, after an update to workdpress(Version 4.5.2) – a multi user site, now shows “There are no shared snippets” in the PHP Code For Posts area ( for the user)
    Also, the user profile can no longer add any php snippits to the plugin.

    There is still the code in the database but the user does not have access to it any longer.

    After checking the regular support faq’s I have disabled all of the plugins for the user – deleted the plug in / re-installed it etc.

    Can someone provide some more ideas on this?

    More info can be provided upon request.

    Thank you.

    https://wordpress.org/plugins/php-code-for-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mcntech9

    (@mcntech9)

    Oh I should point out I have the latest version of the plugin:
    /**
    * Plugin Name: PHP Code For Posts
    * Description: Insert and Execute PHP Code in WordPress Content. This plugin also enables shortcodes for the text widget.
    * Version: 2.1.2
    * Author: Jamie Fraser
    * Author uri: http://www.jamiefraser.co.uk/?utm-campaign=PHPCodeForPosts
    * Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SFQZ3KDJ4LQBA
    * Text Domain: phpcodeforposts
    **/

    Thanks!

    Thread Starter mcntech9

    (@mcntech9)

    Okay – this was not in ANY documentation that I could find (maybe I missed something?) – but the answer is this:

    1. As the multi site admin, you have to enable the plugin for a site that you own ( the main admin for the multi user blog install).

    2. You then have to navigate to the PHP Code For Posts and click on “Options”.

    3. Check mark the box for “Allow custom snippets for sub-sites?”

    4. Disable the plugin as the multi user admin if you do not use it on a site that you own.

    5. Now the multi user site admin can have access to their PHP Code for posts again!

    6. Go to the pub you did it!

    This is ODD that it was not the case in a previous version. ( or was it and I did not notice?)

    Bummer that this was NOT easy to find – hope it helps someone in the future!

    Feedback is appreciated, however if there ia better way to do this etc – let me know!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘There are no shared snippets…’ is closed to new replies.