Support » Plugins » Hacks » Duplicating half-body/half-category pages

  • Hi everyone,

    I’m working on, using a child of the “Responsive” theme, and I can’t wrap my head around this problem. I want to make 3 pages (Alvarez, Central, and Hope United, for those who look at the site), where the half-page sidebar (these pages come as templates with “Responsive” but the concept should be understandable) for each page should display the posts for the corresponding category — left side of X page is X’s content and the right side is posts pertaining to X’s category, like so:
    “Content A” / “Category A”
    “Content B” / “Category B”
    “Content C” / “Category C”

    Problem is, I can only succeed on one page. Responsive’s “Content/Sidebar Half Page” template works perfectly, but I wind up with:
    “Content A” / “Category A”
    “Content B” / “Category A”
    “Content C” / “Category A”

    This is the plugin I’m using: I have to specify which category (say “Category A”) I want the widget to display. But duplicating the plugin won’t solve the problem (even though I tried and failed at that) because there is only one sidebar to place it into.

    Does this make sense? How can I solve this? Do I need to copy two new half-page templates, two corresponding sidebars, and place the widget in each? Just logically, I don’t know where to begin on this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz


    You should be able to put most widgets multiple times into the same sidebar. But if the widgets are defined without the Widgets API, they would need to be updated. See this recent thread:

    Adding more sidebars would be another solution, you don’t need to replicate the entire template, just replicate the sidebar portion and register each one with a new unique id.

    Thanks, I figured it out with a combination of ‘Dynamic Widgets’ and ‘Widgets on Pages’ and the ‘category posts’ widget I mentioned above. I put the category posts widget into the sidebar multiple times, defined separate content for each, and then set each specific widget to be shown only on its corresponding page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicating half-body/half-category pages’ is closed to new replies.