• Resolved daleoshea

    (@daleoshea)


    Hi

    I have just installed your plugin and have added a snippet.

    Its a simple hello world program written in C.

    The snippet is saved and activated but how do I add the snippet to a blog post I am working on ? Is there some sort of short code that gets generated when you save the snippet ??

    I look forward to hearing back from you.

    Thank you

    https://www.ads-software.com/plugins/code-snippets/

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

    (@bungeshea)

    Hi,

    This plugin isn’t designed to allow you to insert snippets in a post or display them on your site. Rather it accepts PHP code snippets that actually execute on your site like plugins do.

    Thread Starter daleoshea

    (@daleoshea)

    Hi

    Thank you for getting back to me.

    When I tried to remove the plugin I get the following error message.

    Fatal error: Call to a member function remove_cap() on a non-object in /home/d563757/public_html/wp-content/plugins/code-snippets/code-snippets.php on line 580

    Is there a work around to remove it ??

    Plugin Author Shea Bunge

    (@bungeshea)

    This looks like an error in the current version of the plugin. I’ll have it fixed in version 2.0.

    Plugin Author Shea Bunge

    (@bungeshea)

    This should be fixed in the latest version of the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to I add a snippet to a post’ is closed to new replies.