-
Notifications
You must be signed in to change notification settings - Fork 2
Division Sites
Various Council Divisions each have their own site in the WordPress multisite network. Each Division site uses its corresponding child theme.
These Division child themes call remove-in-child-theme.php
in the parent theme, which does the following:
- Disables various admin screens (Committees, Caucuses, Reports, Features)
- Unregisters the main navigation menu
- Disables various page templates (Committees, Caucuses, District…)
The Budget site uses the "NYCC Budget" child theme (wp-nycc-budget
).
The budget site has two widget areas:
- Posts Sidebar - appears on the Budget front page and on every post
- Front Page Sidebar - appears only on the Budget front page
The Legislation site uses the "NYCC Legislation" child theme (wp-nycc-legislation
).
The Land Use site uses the "NYCC Land Use" child theme (wp-nycc-land-use
).
Plans are a custom post type, similar to pages. To add/edit a Plan, go to the Land Use site's Admin > Plans. Edit the content as you would a regular page. The following settings will determine how the plan displays:
- Excerpt (optional) - appears as a subheading under the title (excerpts also appear in search results, which default to the first ~55 words of the content if the excerpt is empty)
-
Attributes
- Parent (optional) - plans can be hierarchical; if a parent is set, a link to the plan and its excerpt will display alongside the parent plan's content
- Order - order by which child plans appear in their parent plan
-
Event Meta (optional) - if there is an event (such as a public hearing) associated with the plan
- Event Location - where the event is located
- Event Map Link - an external link to directions (e.g. City Hall on Google Maps is https://goo.gl/maps/bmEBStJY7fx)
The Press site uses the "NYCC Press" child theme (wp-nycc-press
).
In the "NYCC Press" theme, WordPress Posts have been renamed Press Releases. They function just as regular Posts do, except that they do not use categories (they do use tags).
By selecting "All Images" in the Page Attributes > Template menu (in the righthand sidebar), a page will display a paginated list of all images in the Press Media Library. Page content is optional, and it will only display on the first page if it exists.
The Jobs site uses the "NYCC Jobs" child theme:
wp-content/themes/wp-nycc-jobs/
When setting up the Jobs site, create a page (e.g. "Job Opportunities") for the front page. Then, in the Job site's Admin > Settings > Reading, the "Front page displays" settings should set this page as the front page. The posts page should be left null, as posts are disabled for this theme.
On the Jobs site, pages are used to create job postings through a custom taxonomy called Job Divisions.
When adding a new page, the Job Division is set to "N/A (regular page)" by default. Leave this as-is for regular pages (e.g. the front page or a page about policies).
To turn a page into a job posting, simply choose one of the taxonomy terms. The page will then appear in the Jobs List sidebar widget.
To edit the available terms in the Job Divisions taxonomy, go to the Job site's Admin > Pages > Job Divisions.
The Jobs List widget should be included in the sidebar widget area in Admin > Appearance > Widgets. This widget displays a list of job postings grouped by Job Divisions taxonomy terms.
- Page Templates
- Excerpts
- Font Size Classes
- Foundation Components
- The Map
- Social Media Share Images
- Comments Disabled
- Front Page
- Features
- Global Top Bar
- Global Site Footer
- The Sidebar
- Council Members & Districts Page
- District Pages
- Committees
- Caucuses
- Reports
- Editor User Role
- District Options
- Member Site vs District Page
- Member Front Page
- Member Header Image
- Member Sidebar
- Changes in Office
- PB Admin Role
- The PB Cycle Process
- Ballot Items
- Vote Sites
- Member Site Cycle View
- PB Site Page Templates
- PB Placeholder Markup