Skip to content

Twitter theme: add second widget area in right column#657

Merged
akirk merged 2 commits intomainfrom
twitter-theme-second-sidebar
Apr 21, 2026
Merged

Twitter theme: add second widget area in right column#657
akirk merged 2 commits intomainfrom
twitter-theme-second-sidebar

Conversation

@akirk
Copy link
Copy Markdown
Owner

@akirk akirk commented Apr 21, 2026

Summary

  • Registers a new "Friends Sidebar 2" widget area (friends-sidebar-2) alongside the existing friends-sidebar.
  • Renders it in the Twitter theme's right column between the search box and the customize link, styled as a Twitter-style rounded card that hides when empty.
  • Points the right column's "customize sidebar" link at the new widget area (the left column still links to friends-sidebar).

Gives users a place to drop widgets (trends, follow suggestions, etc.) in the previously-empty right column of the Twitter theme.

Test plan

  • Switch to the Twitter theme on the Friends page.
  • Open Appearance → Widgets (or the Customizer) and confirm "Friends Sidebar 2 (Twitter theme)" is listed.
  • Add a widget to it and verify it appears in the right column, styled in the rounded card container.
  • With no widgets added, confirm the container is hidden (no empty card).
  • Click "customize sidebar" in the right column — verify the customizer opens focused on the new widget area.
  • Confirm the left column's "customize sidebar" still points at the original friends-sidebar.

Test in WordPress Playground

akirk added 2 commits April 21, 2026 12:45
Registers a new "Friends Sidebar 2" widget area and renders it in
the Twitter theme's right column, giving users a place to drop
widgets (trends, follow suggestions, etc.) alongside the search box.
@akirk akirk merged commit c747e35 into main Apr 21, 2026
26 checks passed
@akirk akirk deleted the twitter-theme-second-sidebar branch April 21, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant