Subject Course Link Instructions
7 February 2025
This guide explains how to connect subjects to a course page in both WordPress Admin (for Subject Unit Search functionality) and Bricks Builder (for front-end display). These steps apply whether you are adding subjects to a new course page or editing an existing course page.
https://youtu.be/cg5iPGFpXzQ
Note: specific access is required to perform this task.
Step 1: Connecting Subjects in WordPress Admin (For Subject Unit Search)
The first step is to link subjects to a course in the WordPress Admin area. This ensures that the subjects appear in the Subject Unit Search, allowing users to filter and view subjects based on study level and area.
Connecting Subjects in WordPress Admin
- Navigate to "Courses" in the WordPress Admin Panel.
- Find and open the course you want to update.
- Scroll down to the Subjects Connection Section.
- Add subjects to the course by selecting them from the available list.
- Save the course page to apply the changes.
🚀 Once this is done, subjects will appear in the Subject Unit Search on the website, but they still need to be added in Bricks Builder to appear on the course page itself.
Step 2: Displaying Subjects on the Course Page in Bricks Builder
After subjects are connected in WordPress Admin, you must ensure they are displayed correctly on the course page using Bricks Builder.
Adding Subjects to a New Course Page in Bricks
If you are adding subjects to a new course page, follow these steps:
Step 1: Accessing Bricks Builder
- Open the course page in WordPress.
- Click "Edit with Bricks" to open the visual builder.
Step 2: Adding the Subject Display Section
- In Bricks Builder, click the "+" icon (Add Element).
- Search for "AC Advanced Accordion" and add it to the page.
- This will appear in the right-hand panel (page structure view).
- Click on the newly added AC Advanced Accordion – it will highlight yellow when selected, opening the left-hand settings panel.
Step 3: Configuring the Subject Accordion
- Adjust the following settings in the left-hand panel:
- Subject Group – Name the subject category (e.g., Core, Elective, Specialisation).
- Subject Count – Leave empty or define a count limit.
- Group Credit Points – Define the credit points if necessary.
- Accordion Icon – Can be changed but is not recommended.
- Subcategories (Subject Query) – This is where subjects are pulled dynamically.
- Add a Subject Query:
- Click Add Item under Subcategories.
- Set Display Type to Subjects.
- Set Post Type to Subjects.
- Set Order By to Post Include Order.
- Set Posts Per Page to -1 (ensures all subjects are included).
- Apply Subject Filters (if needed):
- Use Subject Codes to include specific subjects.
- Use Subject Level (e.g., BIB 200) to include all subjects at a certain level.
- Use Study Area to filter by discipline.
- Choosing "Equal" or "Like" in the Query
- Use "Equal" when selecting one specific subject code (e.g., "BIB101").
- Use "Like" when selecting a group of subjects that start with the same prefix (e.g., "BIB2" to include all 200-level Bible subjects).
- ✅ Selecting "Like" ensures that any new subjects matching the pattern will automatically appear in the results.
- Save the page and check the front-end display.
Adding Sub-Accordions for Further Subject Grouping
The AC Advanced Accordion allows multiple levels of accordions for further grouping of subjects within a course.
Use Case Example
A Business Analytics course may have Majors like:
- Marketing Major
- Subject 1
- Subject 2
- Accounting Major
- Subject 1
- Subject 2
In this case, each Major would be a sub-accordion inside the main Electives accordion.
Steps to Add Sub-Accordions
- Locate the AC Advanced Accordion in Bricks Builder.
- Under Subcategories, instead of adding a normal subject query:
- Change Display Type to "Subjects with Accordion".
- Enter a Title for the sub-accordion (e.g., "Marketing Major").
- Add Subject Queries under this accordion to pull in subjects for that group.
- Repeat for other groups (e.g., "Accounting Major").
- Save and check the front-end display.
🚀 Bricks allows up to 4 levels of nested accordions, useful for deeply structured course subjects.
Editing an Existing Course Page to Update Subjects in Bricks
If a course page already exists and needs subject updates:
Step 1: Accessing Bricks Builder
- Open the course page in WordPress.
- Click "Edit with Bricks".
Step 2: Editing the Subject Display
- Locate the AC Advanced Accordion in the right-hand panel (page structure).
- Click to select it (it turns yellow), which opens the settings in the left-hand panel.
Step 3: Updating the Subject Query
- Find the existing subject query under Subcategories.
- Modify the subject selection by:
- Adding or removing subject codes.
- Changing the query filter (e.g., updating the subject level or study area).
- Ensure "Posts Per Page" is set to -1 to display all subjects.
- Confirm "Equal" or "Like" is set correctly:
- Use "Equal" for a single subject code.
- Use "Like" for all subjects with a common prefix.
- Save the page and check the front-end display.
Troubleshooting Common Issues
Issue
Cause
Fix
A subject does not appear
Not connected in WordPress Admin
Connect it under the course settings in WP Admin
A subject is missing from the front-end
Bricks Builder query does not include it
Update the accordion query in Bricks Builder
Duplicate subjects appearing
Subject is duplicated in WordPress Admin
Remove duplicate connections in WordPress
A newly added subject does not show
Query is set to include only a specific subject level
Modify the query to include the new subject
Sub-accordion does not display correctly
Missing grouping settings in Bricks
Ensure "Subjects with Accordion" is selected and contains subcategories
Query is not picking up new subjects automatically
Query is set to "Equal" instead of "Like"
Change query type to "Like"
Final Notes
✅ Both WordPress Admin and Bricks Builder must be updated for subjects to display correctly.
✅ Connecting subjects in WordPress Admin ensures they appear in Subject Unit Search.
✅ Bricks Builder must be updated for subjects to appear on the course page.
✅ Use "Like" in queries to dynamically include subjects that match a pattern.
✅ Sub-Accordions can be used to group subjects within categories.
✅ Always check the front-end display after making changes.
Ready to take the next step?
Explore courses that equip you for your calling.