WordPress.org

Ready to get started?Download WordPress

Forums

Site made up entirely of widgetized zones (7 posts)

  1. marenm
    Member
    Posted 2 years ago #

    Hi there!

    Was wondering if anyone has done something like this/if it's even possible:
    I want to create a site entirely made up of widgetized zones.

    Or, well, more specifically, I want to be able to pick arbitrary locations for any post on the home page - as in, not use the loop. I'm thinking I could do this with some kind of drag-and-drop functionality using the ID's of posts.

    Does that make sense? Any thoughts?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    In theory, it's possible but you would probably need to create your own custom Post Widget.

  3. marenm
    Member
    Posted 2 years ago #

    Yeah that's what I figured.
    So it's possible to make a site that entirely bypasses the loop?
    Can't find much info on this anywhere

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    So it's possible to make a site that entirely bypasses the loop?

    No. The Loop (or in this case "loops") would have to part of your custom widget.

  5. marenm
    Member
    Posted 2 years ago #

    Ohhhh ok I see what you mean (I think). So each time I call my custom post widget would be another loop?

    What about something like this plugin:
    http://wordpress.org/extend/plugins/single-post-widget/

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    So each time I call my custom post widget would be another loop?

    Yes. The widget would need to use get_posts() or
    WP_Query() to create a secondary loop. In theory, the only widget input you would need would be the post ID. There's a good tutorial on creating a custom widget here.

  7. gavintfn
    Member
    Posted 2 years ago #

    or you could make a second page.php, rename it ofcourse format it the way you like.. and auto forward from home to that page on arrival at your site..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags