Skip to:
Content
Pages
Categories
Search
Top
Bottom

idea to improve theme integration process


  • Dwenaus
    Participant

    @dwenaus

    an idea for the insanely productive @boonebgorges, or any others up to the task.
    When trying to integrate buddypress into any other theme, the page wrapper divs ‘content’ and ‘padder’ invariably conflict and much editing is necessary to figure it out. This is true even for default wordpress themes like twenty ten and twenty eleven (whose wrapper divs are primary and content; and container and main). An easy backwards compatible solution would be to echo out the bp-default divs using php rather than hard code them. the defaults would be BP defaults, however buddypress or the BP Template Pack plugin could intelligently guess the correct divs for the most popular themes. And for all other themes, you could simply enter the div names your theme uses. WIth this small change BuddyPress could be made to work much more seamlessly with a large number of themes out of the box.

Viewing 2 replies - 1 through 2 (of 2 total)

  • Boone Gorges
    Keymaster

    @boonebgorges

    Interesting idea. Patches welcome :)


    modemlooper
    Moderator

    @modemlooper

    I had another idea using get_template_part for the meat and just have files with the structure markup. This would, on the n00b eye, look easier to fix.

    get_header

    content
    padder
    get_template_part
    padder
    content

    get_footer

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘idea to improve theme integration process’ is closed to new replies.
Skip to toolbar