• Good Day,

    Does your plugin offer a feature where we can run code snippets on specific pages or posts? Your plugin’s description is not quite clear about this.

    If so, can you explain how can we achieve this with your plugin? (e.g., via settings, code, etc.)

    Note: If not yet implemented, it would be great to run code snippets on specific pages or posts by applying them to specific Page or Post IDs.

    Thank you!

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

    (@bungeshea)

    Currently, you can achieve this by adding some code to the start of your snippet function:

    if ( ! is_page( 'something ) && ! is_single( 42 ) ) {
    return;
    }

    We’re currently working on building out a full UI for achieving this with a simpler process, but that’s not released in the plugin just yet.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.