WordPress.org

Ready to get started?Download WordPress

Forums

Spots
nested spots? (2 posts)

  1. SiteSubscribe
    Member
    Posted 2 years ago #

    Love the concept of this plugin.

    Any way to get nested spots...like a parent spot with a child spot inside it?

    I've been using the Sniplets plugin for managing reusable code snippets. It works great, but no visual editor. So I see a scenario of combining Spots with Sniplets as an alternative to nested spots. I've been trying to embed a sniplet shortcode inside a spot, but for some reason the sniplet doesn't render. Any ideas?

    Thanks,
    Jeff

    http://wordpress.org/extend/plugins/spots/

  2. sanchothefat
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Jeff,

    Nested spots is something we specifically blocked because of the problem of nesting a spot within itself which as you can imagine would have some pretty funky consequences!

    The spots themselves use the standard loop function like the_content() so shortcodes should work. Bear in mind however that spots are cached which can break some shortcode output so there may be a better way to do what you need.

    Try re-saving the spot with your shortcode in and if that doesn't help try adding this to your functions.php:

    define('SPOTS_CACHE_TIME',0);

    It will effectively turn off the cache.

    If it still doesn't work let me know as shortcodes should definitely be ok.

    Can you post the code for your spot template too if you're using one?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags