Connections Widget Pack - WordPress Plugin
All widgets designed to be high performance to have very little impact on page load times. This is accomplished by utilizing fragment caching. Without going into great technical detail, this means the HTML for the widgets are built once and then served from a cache anytime they are needed. This reduces server load, response time, database queries and the memory required. The cache version is never out of date as it is recreated once a day or any time you update an entry or change a widget setting.

Plugin Features
The extension description is prepared.
Specifications:
| Release date: | 11-10-2020 | |
| Last updated: | 19-10-2023 | |
| Type: | Paid | |
| License: | GPL | |
| Subject: | Core Enhancements for Connections Pro | |
| Compatibility: | W5.x W6.x | |
| Includes: | Plugin | |
| Language packs: |
|
|
| Developer: | Connections Pro | |
| Rating: | ||
Share with your friends!
Connections Widget Pack Widget Setup Guide
This guide to Connections Widget Pack will help you prepare a directory for widget output, configure search and category navigation, build useful sidebar blocks, and confirm that visitors get the outcome you expect. Rather than repeating the add-on's marketing description, it walks through the practical path from a completed Connections Business Directory setup to a clear public page with up-to-date links, directory listings, and event dates.
Connections Widget Pack works on top of an already configured Connections Business Directory installation. It cannot be assessed separately from the directory data: search relies on entries, categories are built from assigned terms, and lists of recent or upcoming events appear only when the profiles contain the relevant information. This separation is useful. The main directory stores and displays entries, while the widget pack provides compact entry points to that data in a sidebar, footer area, or dedicated page.
It is easiest to think of the add-on as a navigation layer. It should not replace the directory page, and it does not need to fill every empty area in your theme. Its purpose is to shorten the visitor's path to the right entry: provide keyword search, show categories, display a small topical list, draw attention to recent updates, or highlight upcoming important dates. When widgets are chosen around a real user question, the directory becomes easier to browse. When they are added without a clear use case, the page quickly turns into a long column of repetitive links.
The safe approach below is to check the foundation first, install the extension next, configure only one or two widgets in a test area, and then replicate the successful setup. This makes it easier to see which setting affects the output, preserve a working configuration, and catch conflicts with the theme's widget area, caching, or incomplete entry data in time.
What the Widget Pack Solves in a Directory
A directory usually has two distinct jobs. First, it needs to show a detailed profile for an organization, professional, member, or another type of listing. Second, it needs to help someone narrow down the list quickly before they know the exact page address. A directory page handles the first job well, but without additional navigation cues, visitors may need to scroll through results or return to the general list. Connections Widget Pack adds ready-made interface elements for the second job and connects them to Connections data.
The practical value is clear on three common types of sites. In a local directory, visitors may want to choose a service category and find a provider by name. In an employee directory, it can be useful to show recently added professionals or upcoming birthdays without opening the whole directory. An association may need to guide people quickly to members in one section while keeping the main directory page as the central starting point. In every case, the widget does not create a new content type. It uses existing entries, categories, dates added, dates modified, or dates entered in profiles.
Search as a Quick Entry Point to an Existing Directory
The search widget places a keyword field where a visitor decides whether to keep browsing or refine their choice. This is usually the top of a sidebar next to results, the beginning of a directory page, or an area above a topical list. The user enters an organization name, last name, part of a specialty, or other text that is already present in the entry data. After submission, the query should lead to the assigned directory home page, not to an arbitrary theme URL.
This leads to an important check. If you add a search field without setting or verifying the directory page, visitors may see a blank page, the wrong template, or results that look like the site's general search. First, open the public Connections page without the widget and make sure the directory displays correctly and entry links work. Then add search and enter the name of a known test entry. Search should be tested against real data, not a random word. That lets you verify the route, searchable text, and the profile format in the result at the same time.
Categories Are Not Decorative Navigation
The category widget is especially useful when a directory contains several understandable groups, such as neighborhoods, service areas, specialties, service types, departments, or statuses. Its settings can show all categories or limit output to included and excluded terms, set a parent category, control tree depth, display entry counts, and hide empty items. These options should be used as an editorial rule, not as a way to display everything that has accumulated in the admin area.
For example, a page titled "Attorneys" may reasonably show subcategories such as "Family Law," "Real Estate," and "Corporate Disputes," but not every field in the entire directory. To do that, first organize the category hierarchy in Connections, then choose the appropriate parent in the widget and decide whether to show only direct child items or all descendants. If you see an overly long column, do not hide the problem with CSS alone. Check whether topical and technical categories have been mixed into the same branch.
The entry count next to a category can help visitors judge how much content a section contains, but it does not always improve the interface. In a small industry directory, numbers can build confidence. In a draft, internal, or rapidly changing list, they may only emphasize empty branches. A safe approach is to hide empty categories, then open the page as a logged-out visitor and make sure the menu no longer contains links to empty results.
Entry Lists, Dates, and Updates
The pack includes a limited entry list widget, widgets for today's and upcoming birthdays or anniversaries, and lists of recently added and recently updated entries. These blocks share one principle: they should explain why this small collection is appearing right now. A "New Members" list makes sense on a community page. Upcoming events are useful where dates are genuinely populated and suitable for public display. A recent updates block works well in a directory that visitors return to check regularly.
Lists can limit the number of rows, include or exclude entries from specific categories, choose an entry image or logo, set the name format, and determine whether a name links to the profile. This lets you configure the same widget type in different ways. One instance might show four new companies in the footer, while another shows six professionals from one selected section in the sidebar. Multiple instances of the same widget are perfectly normal when each has a clear audience, heading, and filter.
Do not display a date block simply because the option exists. Check whether the relevant information may be shown publicly, whether it is populated for most entries, and whether an infrequent date would look like an error. The widget can hide itself when there is nothing to display, which is especially valuable for "today" events. Test this first with an empty sample set, however. Users should not see an empty heading, unnecessary spacing, or an out-of-place theme container.
Key takeaway. A strong configuration starts not with the number of blocks, but with one question: what action will the visitor take after clicking? If the answer is unclear, it is better not to display the widget until there is a clear use case.
Who This Display Method Is For, and When Another Approach Is Better
Connections Widget Pack is a good fit for a site owner whose Connections Business Directory has already become a source of structured entries and who needs to make navigation to those entries more visible without developing a separate template. This may be a directory of organizations, association members, employees, professionals, partners, branches, or local services. The add-on is useful for an editor willing to keep categories and dates organized, and for an administrator who understands where the WordPress theme displays widget areas.
It works particularly well when the directory has one main page and several recurring visitor paths. A visitor arrives with a name and uses search. Someone who does not know the exact name chooses a category. Someone looking for updates opens a short list. Someone looking for an event opens upcoming dates. In this setup, each block removes a specific point of friction instead of repeating the same entry list in another location.
The add-on may be unnecessary if the theme does not use widget areas and content is built entirely with editor blocks, without a clear place for sidebar navigation. In that case, first check whether the theme supports Appearance > Widgets and where the selected area actually appears. Individual widgets can be displayed with shortcodes, but the documentation ties that capability to the classic widgets screen. If the site uses the modern widget editor, do not assume every shortcode will be available automatically. Check the working interface and, if needed, use a compatible classic-widget mechanism.
It is also not the right tool when you need complex filtering across many fields, a multi-step form, or an entirely different type of directory. Search and categories are useful as a straightforward path through Connections data, but they do not turn the add-on into a universal search builder. The right next step is to map the visitor's intended journey before rebuilding the theme, then compare that plan with the available widgets.
Preparing the Directory Before Installation and Completing the Initial Setup
Installing the add-on may be quick, but the quality of the outcome depends on preparation. Connections Widget Pack assumes that the core Connections Business Directory plugin is already installed, active, and assigned to a correctly configured directory home page. This is not a formality. Widgets that lead to categories, search, and entry profiles all interact with that page. If the foundation is not working yet, the widget will only make the problem more visible to visitors.
Start with a brief inventory rather than the extension ZIP file. Open the site in a normal browser window, find the directory page, and follow the path as a visitor: is the entry list visible, does an individual profile open, does a category link return the expected selection, and are there draft profiles or duplicates? Then open the Connections admin area and check which fields are actually populated in entries. Search depends on available text data, category navigation depends on a disciplined hierarchy, and date blocks require correctly entered dates that are permitted for public display.
Checklist Before Changing a Public Area
You do not need a full technical audit of WordPress. It is enough to check the elements that the widget layer specifically depends on. This avoids a common situation where an administrator tries to fix a display block even though the cause is an empty category or an incorrectly assigned directory page.
- The main directory opens. The public page contains at least a few testable entries, and profiles lead to valid addresses.
- Test categories contain entries. Prepare at least two categories with several entries each, plus one empty category to test the hide-empty behavior.
- There is a known test entry. Remember a unique part of its name so you can test search without an ambiguous query.
- The display area is clear. The theme has a visible sidebar, footer, or other widget area that can be checked on one page.
- There is a rollback point. Create a regular site backup or record the current widget settings so that rearranging blocks does not cause you to lose existing content.
The last item deserves attention. WordPress widgets often depend on the theme: when the active theme changes, areas may have different names or disappear from the public layout. The add-on itself may not be the reason a block disappears. Before experimenting, note which area contains the existing widgets and what the target area is called. If you are working on a production site, use a test area or an unpublished page first instead of immediately replacing navigation that visitors already use.
Why Categories Should Be Cleaned Up First
Categories become navigation links in the widget. If their names are inconsistent, contain temporary notes, are duplicated in singular and plural forms, or mix purpose with geography, visitors will see the history of your editing rather than a directory structure. Fixing this after the widget is placed is unpleasant because URLs, names, and results change at the same time, making it difficult to identify where an error was introduced.
Create a small tree. At the first level, keep the visitor's broader question, such as a service type or member type. At the second level, add refinements that genuinely help people choose. Do not create depth merely for the sake of depth. If a subcategory contains one entry and its parent contains two, decide first whether that level will be useful to people, then choose the widget's display depth. Fix the data and hierarchy first, then configure how they are displayed. This rule makes later settings predictable.
Installing the Archive as a WordPress Extension
Once the core directory is verified, installation follows the standard WordPress procedure for a ZIP-based add-on. In the admin area, open Plugins > Add New, click Upload Plugin, select the ZIP archive you received, then choose Install Now. When installation is complete, use the Activate Plugin link. Do not manually extract the archive over an existing folder or replace files unless you understand which version is already installed. The standard path preserves a clear change history and gives WordPress an opportunity to report an installation error.
Do not add every available widget immediately after activation. Go to the Connections settings page and make sure the directory home page is selected correctly. Then open Appearance > Widgets. The list of available elements should now include Connections widgets. That is the first sign that the add-on loaded. The second sign matters more: a test widget added to a selected area appears on the public page and interacts with your directory page.
If you use the block-based widget interface in the admin area, labels and button locations may differ from the classic-screen description. There is no need to guess. Find a theme area, add one element, save the changes, and immediately open the relevant site page in a separate tab. If necessary, the add-on documentation describes using shortcodes through a special Connections: Widget Shortcode area, but that path requires the classic widgets interface. Choose it only when you genuinely need to place a specifically configured widget inside page content rather than in a standard theme area.
Initial Check After Activation
A category or search widget is best for the first test because its expected behavior is the most obvious. Drag one element into an empty or low-visibility area, give it a clear heading, save it, and open the page while logged out. For categories, check that names match the Connections data and links lead to the right part of the directory. For search, enter a unique word from a test entry and make sure it is found. Then remove the test configuration, or keep it only if the location is genuinely useful to visitors.
Do not rely only on the admin preview. It is useful as a quick signal, but real behavior depends on the active theme, column width, directory pages, and what a logged-out visitor sees. Open the result in a new private window, check it in a regular browser on a phone, and make sure the widget heading has not become separated from its content. If the theme collapses the sidebar on mobile, that is not necessarily an add-on error, but you need to decide whether the search route remains accessible.
What Counts as a Successful Initial Setup
A successful setup is more than an activation message. It includes four confirmations: the main directory opens, the widget is added to a specific area, its data matches Connections data, and its link or search produces the expected public output. If even one link in that chain is not confirmed, do not move on to complex filters or styling. Return to the point where the chain broke. This order saves time: instead of making ten CSS adjustments, you may discover that the test entry has no category or that the home page is assigned incorrectly.
Verify the outcome. After the initial setup, take one screenshot of the page before and after adding the test widget, and note the theme area name and exact search query. This small piece of documentation helps you roll back an unsuccessful rearrangement and reproduce a successful configuration on another page.
Configuring Categories: From a Data Tree to a Clear Navigation Path
The category widget is one of the most flexible elements in Connections Widget Pack, but flexibility requires discipline. It can show the complete category list, retain only selected terms, remove specific branches, start from a parent category, limit nesting levels, display entry counts, and hide empty items. There is no need to enable everything at once. Start with the visitor question a particular area of the site is meant to answer, then choose the smallest set of settings that leads people to that answer.
Imagine a professional directory with top-level categories called "Consulting," "Training," and "Technical Support." On the general directory page, a top-level list helps people choose a category. On the "Training" section page, it is more useful to show only its child categories: "Courses," "Mentors," and "Webinars." The footer can retain a short list of the most important areas, but it should not automatically include the complete tree. The same data set can support different presentations when each one has a distinct purpose.
Choosing a Display Mode Without Hidden Confusion
First, create one widget in a test area and give it a neutral heading such as "Choose a Category." In the settings, define the display mode. When the purpose is to provide an overview of the whole directory, start with all categories but immediately hide empty ones. When an area is dedicated to a particular topic, include the needed categories or use a parent branch. When the directory contains technical categories for imports, moderation, or editors, exclude them at the widget level and also consider why they are available for public output at all.
The parent category setting is useful because it preserves the directory structure. Instead of manually collecting ten child items in a widget, you choose one understandable branch. You then decide whether to show only direct descendants or every level below it. One level is usually a better fit for a short sidebar menu. In a directory where people already understand the service tree, deeper descendants may be appropriate. Depth should match the width of the area and the way people read it: a long tree in a narrow sidebar rarely helps anyone get there faster.
How to Use Entry Counts
The number next to a category name does two different things: it indicates the size of the selection and shows that the link is not empty. This can be useful in large directories where visitors choose between similar categories. But counts also have a side effect: they can quickly feel outdated if editors add and remove entries unevenly. That is not necessarily an error. The number reflects the current state of the data. The important question is whether it needs to be visible on this particular page.
Check three cases: a category with several entries, one with a single entry, and an empty category. If showing counts disrupts the page's visual rhythm, turn them off and keep the names. If it is useful for visitors to know how much content is available, retain the count but hide empty branches. After saving, open every test link. A successful check is not just a correct number, but a match between the category name and the actual entries in the results.
When Excluding Categories Is Better Than Creating a Separate Menu
Exclusion works for a small number of clearly unsuitable categories. For example, a public directory page can exclude an internal category called "Requires Review" or a temporary branch used to prepare materials. But if you are excluding half the tree, the widget is beginning to hide an information architecture problem. In that situation, it is better to create a clearer parent structure, configure a dedicated visitor-facing theme menu, or move different use cases to separate directory pages.
Do not use exclusion as a substitute for access control. It affects what is visible in a particular widget, but it does not necessarily prevent access to the data elsewhere on the site. If an entry or category is not meant for public viewing, address that in the directory and its data. The widget should be the last navigation setting, not the only safeguard against publication.
Names, Links, and the Current Category State
A category list becomes easier to understand when visitors can see where they are. After someone opens a category, the theme may add classes to the current list item. The add-on's official documentation provides a safe CSS technique for highlighting the active category. It should not be inserted into plugin files. Add the rule in the theme's or child theme's custom CSS area after testing it on a copy of the site.
.widget_cnw_categories li.cat-item.current-cat {
background-color: #666;
padding: 6px 12px;
}
.widget_cnw_categories li.current-cat a {
color: #fff;
}
This snippet affects only the appearance of the active item. First, replace the color with one that has sufficient contrast in your theme. Then open a category and make sure that only the current link is highlighted, rather than every list item. To roll back the change, remove the two rules from the custom CSS. Do not modify the add-on's source files: an update will overwrite the changes, and the connection between the style and its behavior will become unclear.
For this highlighting to work correctly, the documentation notes an important dependency: the category widget's fragment cache must be disabled. This is not a reason to disable caching across the entire site. It refers to a targeted filter for this widget only. Add it through the safe code-snippet mechanism your site normally uses, after saving a backup of your settings:
add_filter(
'Connections_Directory/Widget_Pack/Widget/Category/Use_Fragment_Cache',
'__return_false'
);
This code is based on the category widget's documented filter. It disables fragment caching specifically for that widget so the active state can update with the current page. After enabling it, open two different categories one after the other in a new window and confirm that the highlight moves. If the site becomes slower or the highlighting is unnecessary, disable the code snippet and return to the standard configuration. Do not apply this technique to lists or search without separate confirmation of their behavior.
Step-by-Step Setup for an Industry Page
Suppose you are creating a "Medical Professionals" section in a large directory. The goal is not to display every category on the site, but to help someone choose a physician by specialty. Prepare one parent category called "Medical Professionals" and several child specialties. Add at least two real entries to every test branch. Then place the widget in the page's sidebar area or in an area that appears only next to the directory.
- Select the "Medical Professionals" parent category in the widget settings.
- Limit output to direct child categories so the full tree does not expand unnecessarily.
- Enable hiding for empty items and temporarily show entry counts to verify that branches are populated.
- Save the widget and open the public page while logged out.
- Click every link and compare the results heading, entry list, and active item state.
After the check, you can decide whether counts are needed in the final version. If the column becomes crowded, remove them, but do not change the tree and styles at the same time. One stage, one change, one check. That way, you know which setting improved the route and which merely added visual noise.
Key takeaway. The category widget works best as a short navigator through an already well-structured directory. It does not fix chaotic categories, but it can make a good directory noticeably easier to understand.
Search, Topical Lists, and Events: Configure Widgets by Purpose
After configuring categories, many people try to place every other available element alongside them. That is a natural impulse, but it rarely improves a directory. Search, List, Recently Added, Recently Updated, and date widgets have different roles. The first shortens the path to a known entry. The second builds a deliberately limited collection. Recent-change blocks communicate that the database is active. Date widgets only work with information already entered in profiles. Once you name the role of a block first, choosing its settings becomes much easier.
The Search Field: Test the Route, Not Just the Appearance
Directory search is especially appropriate where users arrive with an already formed query. That may be a company name, a member's last name, an uncommon service, or part of a name. Place the field near the area where visitors expect results. Good locations include the top of the directory page sidebar, the start of a section with a long result list, or a dedicated member-search page. A poor location is the footer, where the field exists visually but does not support the visitor's journey.
Prepare four queries before publishing. The first should find a test entry exactly. The second should return several entries containing a common word. The third should return no matches. The fourth should include a space or hyphen if names like that exist in your directory. After each query, check the destination URL, the results heading, the absence of unrelated site search results, and the ability to return to the full directory. If no match is found, assess more than the absence of entries. People should see that the search completed, rather than think the site is broken.
Do not promise that a search field will find information that is not in public data. If a name is stored in a draft, an entry is unpublished, or a category is hidden by the directory's own rules, the widget should not become a way to bypass those restrictions. When there is a problem, find the entry in the Connections admin area first, verify its availability on the public page, and only then test the search query.
The List Widget: A Short Selection With a Clear Rule
List displays a limited number of entries and can include or exclude entries from selected categories. This makes it useful for small, contextual collections, but not for duplicating the main directory. Instead of a heading such as "Our Entries," give the block a reason to exist: "Family Law Professionals," "New Partners," "Members in New York," or "Training Experts." Readers should understand why they are seeing these profiles and how they differ from the complete results list.
Start configuration with the category filter. Choose one testable group and limit the number of rows so the block does not compete with the page's main content. Then decide whether an entry image or logo is needed. A logo works well in a company directory where the brand helps people scan the list. A photo is appropriate in a people directory when images are consistently populated and comparable in quality. If half the entries have no image, it is often more honest not to enable this setting than to leave an uneven grid of empty spaces.
Decide separately how the name will appear. When it links to the profile, visitors get a logical next step. But this should be checked for every entry: open the profile in a new window and make sure it is published with the correct template and contains the needed information. If the widget shows a name without a link, make that a deliberate choice, such as for an informational footer collection, not because the destination was never checked.
One Type, Several Independent Instances
Support for multiple instances means you do not need to find another module for every small collection. You can create one list for new members, a second for a selected specialty, and a third for an organizational department. Independent instances do increase the risk of confusion, however, because an editor may not remember which filter is set in each area. Two practices help. First, use clear internal titles. Second, keep a short configuration table: theme area, widget, category, row limit, image setting, profile link, and date last checked.
| Use Case | Configuration | What to Check |
|---|---|---|
| Specialty collection | Include one topical category and use a small limit | Every entry genuinely belongs to the stated topic |
| Excluding technical data | Exclude technical categories from the public area | Those entries do not appear in the list and are not available through the widget |
| Footer block | Use a short list without heavy images | The column does not break the theme's responsive grid |
| Block next to the directory | Show the name as a profile link | The destination opens the correct public profile |
After saving, do not stop at the first entry. Check the lower limit: if you specify five rows but only two remain after filtering, should the block appear in that form? If the answer is no, change the use case or category instead of hiding the issue with styling.
Recently Added and Recently Updated Entries
The Recently Added and Recently Updated widgets can give visitors a reason to return to the directory, but it is important not to blur the distinction between them. "Recently Added" works for a new member base, new branches, companies, or professionals. "Recently Updated" is justified when entries are updated regularly and visitors genuinely expect changes, such as updated contact information, a new status, or a revised description. If data almost never changes, the second block will either be empty or become noise.
Limit the number of rows and use a heading that does not overstate recency. Do not write "Most Important" if the underlying order is actually based on the date added or modified. Within the chosen area, test the widget with several entry types: with a logo, without a logo, with a short name, and with a long name. On mobile widths, it becomes especially apparent whether names wrap too aggressively or links become separated from images.
Birthdays, Anniversaries, and Upcoming Events
Widgets for today's and upcoming dates are useful for community, club, association, and team directories where this information is published intentionally. They should not become automatic decoration in a business directory. Before enabling one, ask yourself why visitors need this information, who is allowed to see the dates, whether the data is populated consistently, and what heading will explain the collection. An upcoming-events block may lead to a greeting, a community calendar, or attention for a member. If there is no next step, it may be better to keep dates inside the profile.
Date widgets need a setting that hides them when no matching entries exist. It prevents an empty container, but it does not eliminate the need to check the theme. Add a test date and make sure the block appears, then test the state with no dates. The site should cleanly remove not only the rows but also the heading and its spacing. If your theme leaves an empty frame behind, solve that through the area configuration or theme styling rather than trying to alter the plugin's behavior.
Key takeaway. Search answers a specific query, a list presents a justified collection, and date and update blocks communicate change. If one widget is trying to fill all three roles, it is better to split it into several clearer elements.
Practical Example: A Local Professional Directory With Search and Three Paths
To keep the settings from becoming a collection of isolated switches, let us build a practical example. Imagine a directory of local professionals: therapists, attorneys, accountants, and tutors. The main page already contains published entries, their profiles, photos or logos, and categories organized by area of practice. The goal is to help a visitor find a familiar professional in a few actions, narrow the list by specialty, or notice recently added members.
This example intentionally does not use every widget. On the directory page, search is placed at the top of the sidebar, specialty categories appear below it, and a short list of recently added entries goes at the bottom. This order mirrors a realistic choice process: visitors can first enter a known name, then choose a broad category, and finally see what has changed in the directory. The blocks do not compete with one another or duplicate the full results list.
Goal and Data Preparation
The goal is to create a page where someone with a known name immediately uses search, someone with a general need selects a category, and a returning visitor notices new profiles. Before configuration, prepare at least six test entries: two for each of three specialties. Give each a clear name, assign only the categories you want to display, and make sure every public profile opens. Add one new entry later than the others to test the recently added block.
Also prepare two non-public checks. The first is an empty category so you can verify hiding behavior. The second is an entry with a long name to test a narrow column and mobile width. If the real directory uses logos, add an image to at least several test profiles. This will help you decide whether an image-based list supports your data or emphasizes its incompleteness.
Step 1. Configure the Directory Home Page
Open the Connections settings and make sure the assigned home page actually displays the directory. Then copy its address into a working note, but do not insert it as a technical path in the widget. Your task is to verify that every add-on element interacts with one known destination. Open the page in a private window, open a profile, and go back. If a profile link already leads to an error at this point, stop: widgets cannot make the route more reliable.
Create a simple outcome map: "Name - search - directory page - profile," "Specialty - category - filtered directory - profile," and "New entry - short list - profile." This may seem excessive, but it helps you assess every setting. After adding a widget, you do not simply ask whether the block appeared. You verify whether the visitor journey was completed.
Step 2. Add Search as the Main Route for an Exact Query
In Appearance > Widgets, choose an area visible next to the directory. Place the Search widget there and save it. Keep the heading short: "Find a Professional" or "Search the Directory." A longer heading will not explain more, but it will take up vertical space. Open the public page and enter a unique part of one test entry's name. Then test a common word that appears in two entries and a query with no matches.
The expected outcome is this: an exact query shows the right entry, a general query does not lead to unrelated site posts, and a zero-result response looks like an honest search result rather than a blank page. If search displays the wrong context, return to checking the directory home page and the public availability of the test entry. Do not compensate for the issue by changing the heading text or adding the widget again.
Step 3. Build Compact Specialty Navigation
Place Category below search. Choose a parent branch if one exists, or include only the "Therapists," "Attorneys," and "Tutors" categories. Enable hiding for empty categories. During testing, you can show entry counts to verify that all category assignments are correct. Keep the tree depth minimal: in this use case, visitors choose a broad specialty, while further refinement happens in the directory list.
Click every category. Do not check only whether a new page opened. Check five details: whether the heading remains clear, whether the number of entries matches expectations, whether profiles work, whether the current item is highlighted when the style is applied, and whether an empty technical category appears. If one entry is in the wrong selection, correct its assignment in Connections rather than changing the widget filter to hide the exception.
Step 4. Add a Recently Added Entries Block
Place Recently Added in the lower part of the same area. Use a small limit, such as the number of rows that fit without turning the sidebar into a second directory. If needed, limit it to a topical category when the page applies to only one specialty. Choose image display only after reviewing the data. If entry images are inconsistent, begin with names and profile links. It is faster and cleaner, and images can be enabled after the directory is made more consistent.
The expected outcome is that the most recently added entry appears at the top of the list and its name links to the profile. To test this, add or temporarily update a test profile in a non-public environment, then refresh the page without using the browser cache. Do not manually change entry dates merely for a demonstration on a production site. If the block does not show the expected item, first check publication status, category, row limit, and the actual order in which entries were added.
Testing With Three Visitor Roles
After building the setup, ask three people to complete different tasks, or do it yourself in separate browser sessions. The first task is: "Find Jane Carter by name." The second is: "Find any legal professional without knowing a last name." The third is: "Check who was added recently." Note the time until the first understandable outcome and the point at which each user hesitated. This kind of test is much more valuable than a general question such as "Do you like the page?"
If someone with an exact query goes to categories first, the search field may be too subtle or labeled unclearly. If someone opens the full directory instead of a category, reduce visual noise around the navigation. If people mistake the new entries block for advertising, revise the heading and make it more understated. The important part is not changing all three widgets at once. Start with one hypothesis, then repeat only the relevant test.
Mobile Checks and Accessibility Considerations
On a wide page, a sidebar provides a horizontal point of reference, while on a mobile device it often moves below the main list or is hidden behind another theme element. Open the directory on a phone or in a narrow browser window. Check whether search appears before a very long list of results, whether category links are easy to tap, and whether the widget heading is clipped. If navigation moves to the very bottom, decide whether you need an alternative block on the directory page through a supported shortcode and the classic widgets interface, or whether it is better to adapt the theme's own layout.
Make sure category names are self-explanatory and do not require knowledge of internal terminology. The search field should have a clear heading rather than an icon alone. Links in lists should not use vague text such as "Learn More" without the entry name. These choices are not special plugin features, but they determine whether a widget can do its job for visitors using a keyboard, screen magnification, or limited attention.
Key takeaway. A practical setup is assembled correctly when three different visitors reach a profile through different short paths and each widget explains only one of those paths.
Cache, Shortcodes, and the Theme: Keeping Widget Behavior Predictable
In a prominent directory, the same widget participates in two processes at once: it retrieves data from Connections and becomes part of the active theme's markup. Caching sits between them. Connections Widget Pack uses fragment caching for its widgets so it does not assemble the same HTML on every view. According to the developer's description, a cached fragment is rebuilt once per day and also after an entry is updated or widget settings are changed. This can reduce repeated queries, but it requires a clear understanding of when to expect an immediate change on the page and when to verify an update event or a special setting.
Cache should not be treated as an enemy. For a normal category list or recent-entry block, it reduces repeated work without manual maintenance. The problem appears when a widget must change based on the current page context. An example is active category highlighting: a visitor opens one section while the widget shows a state retained from another context. For that situation, the documentation provides a dedicated filter for disabling fragment caching specifically for Category. This narrow solution is better than disabling everything related to the site.
How to Tell a Cache Delay From a Data Error
After updating an entry, administrators often see an old list and immediately change settings or clear everything indiscriminately. Stop and follow a short verification chain. First, open the entry profile itself: does it contain the new value? Then make sure the entry matches the widget filter and its category is not excluded. After that, check the list limit: the new entry may exist but not appear in the top few rows. Only after these steps should you assess the cache.
For repeatable checks, it is useful to record four times: when the entry was changed, when the widget was saved, when the page was opened while logged out, and when the updated output appeared. You do not need a complicated monitoring system. A regular note in an editorial task can prevent false conclusions. If the output updates after saving the widget, the issue may be in its configuration. If the profile changes but the category does not, check the category assignment. If active styling does not match the page even though links work, consider the documented Category filter rather than clearing caches through a random collection of plugins.
A Sensible Fragment Cache Strategy
Leave caching enabled by default for standard blocks where visitors see the same collection regardless of the current page. This includes a short list of recently added entries, a stable category menu without an active background, and an upcoming-events block. After making a change, test the behavior as a visitor and give the system time to complete its standard update cycle. Do not edit extension files or add global cache-clearing commands unless the cause has been demonstrated.
Disable the Category cache only when you use a current-section-dependent display state and have confirmed that it remains incorrect without doing so. Install the filter from the earlier section through a reversible code-snippet mechanism. Give it a clear name, such as "Connections - active category without fragment cache," and leave a note explaining why it exists. Before updating the theme or add-on pack, temporarily disable the snippet if you are diagnosing an issue. That will help you determine whether the adjustment affects the problem.
Do not carry this technique into every installation out of habit. Disabling targeted caching has a cost in additional work per request, and not everyone needs the outcome. If the directory has no visible active state or implements it differently, it is safer to retain standard optimization. Prove the visitor need first, then change cache behavior.
Shortcodes: When a Widget Needs to Live Inside a Page
A widget is usually placed in a theme area. Sometimes that is inconvenient: the directory page has no sidebar, you need to show one short list within editorial content, or you need to create a dedicated landing page for a specific audience. Widget Pack documentation describes a shortcode path: in the widget administration interface, use the area named Connections: Widget Shortcode, then add and configure the required widget there. After saving, the system provides a shortcode that can be placed on a page.
This mechanism should not be confused with copying arbitrary code from examples online. First, make sure the classic widgets interface is available, as the documentation requires. Then add just one widget to the special area, configure it as carefully as you would in a sidebar, save it, and use the shortcode generated by the system itself. Insert it into a test page or appropriate editor block, publish it, and check the public output. If the block appears twice, make sure you did not leave the same configuration in both a standard theme area and the shortcode area.
Example: Displaying a Category Widget on an Editorial Page
Suppose you are writing a page for new association members and want to show links to member categories after the introduction. First, create a separate Category widget in the Connections: Widget Shortcode area, limit it to the required branch, enable hiding for empty categories, and save it. Insert the resulting shortcode only where navigation supports the content. After publishing, open the page in a private window, check every link, and compare it with the same widget in the site's general area.
The advantage of this approach is that a specific block becomes part of the content and does not depend on a sidebar. The limitation is that editors need to remember where these configured instances are placed. Record the page, widget name, and purpose in your working documentation. When you change categories months later, this will let you find every output location instead of wondering why an old list remains inside a page published long ago.
Theme Compatibility Without Risky Changes
A widget's appearance is determined by its HTML, the theme's styles, and the width of its area. The same configuration may therefore look neat in a standard sidebar and poor in a narrow footer. Do not rush to add CSS before answering three questions. Is there enough room for category names? Does the theme support nested lists? Does a link retain sufficient contrast when an item is active or hovered?
Start with the theme's built-in controls: area width, block heading, typography, and custom CSS. If you need a custom style, tie the rule to the specific widget class rather than every list on the site. The category widget has the distinctive widget_cnw_categories class, which helps limit the scope. Before adding a rule, open your browser's developer tools and confirm that the class is present in your markup. Do not guess at selectors or use overly broad rules such as li a.
Check more than the desktop version. At mobile widths, long names may wrap and a nested tree may run outside its container. If that happens, first reduce the depth or clean up category names. Styles should refine a useful structure, not disguise overloaded navigation. For rollback, save the original custom CSS in a note, remove only the related snippet, and refresh the page in a private window.
Using the Core Directory Alongside Other Add-Ons
A practical combination is not created by pairing random plugins, but by using Connections Business Directory as the data store and Widget Pack as the access layer. If your directory uses another official or built-in mechanism to extend entry data, such as adding business hours, languages, or other details to profiles, first check exactly where that information is displayed. Widget Pack should not be described as an official integration with every add-on simply because they relate to the same directory. It is more accurate to say that core entries and categories must be correct, while the widget can guide visitors to the profile where additional fields are already displayed.
The sequence for this setup is simple. First, configure the core profile and make sure the additional field appears where it should. Then assign the entry to a category. After that, use Search, Category, or List as a route to the profile. Verify it from the public outcome back to the data: a visitor opens the widget, finds an entry, goes to the profile, and sees the expected information. If the field is missing from the profile, do not look for its setting in Widget Pack. Return to the add-on responsible for the field itself and to its publication permissions.
Key takeaway. Leave caching enabled until it interferes with a specific confirmed use case. Use a shortcode for meaningful output within page content, and make theme styling changes through reversible local adjustments.
Troubleshooting: Why Widgets Do Not Show the Expected Data
Problems with Connections Widget Pack rarely have one universal cause. The same symptom may result from entry status, category structure, widget placement, a theme area, caching, or an incompatible widget-management interface. Reliable troubleshooting begins with an observable fact and follows a short chain: what the visitor sees, which data should support it, where the setting is located, and what change can be safely reversed. Do not start by reinstalling the add-on before checking the simple connections.
The Widget Is Installed but Does Not Appear on the Public Page
Symptom: the widget is visible in Appearance > Widgets, its settings are saved, but the block is absent from the site. Likely cause: the selected area is not displayed on the page being checked, the theme shows it only in a different template, or the changes were not saved in the intended instance. Sometimes the block is below lengthy content or in a disabled footer area, so it only appears to be missing.
What to check: open the page associated with the specific theme area and temporarily add a simple standard widget with a noticeable heading. If even that widget does not appear, the issue is not related to Connections. Then return to the intended element and check the area name, save state, and its order within the list. Open the page while logged out, because editor and preview modes do not always match what visitors see.
How to fix it: move one test widget to an area you know is visible, confirm that it appears, and then return the element to the intended location. If the theme has no suitable area, use the supported shortcode approach only after checking the classic widgets screen. When to roll back: if the move displaced an existing useful block or made the layout worse on mobile, return the widget to its original area and reconsider placement at the theme level.
Categories Exist in the Admin Area, but the List Is Empty or Incomplete
Symptom: the widget displays fewer items than expected, or no items at all. Likely cause: hiding empty categories is enabled and those categories contain no published entries; a parent section is too narrow; category inclusion or exclusion is configured incorrectly; or the tree depth does not reach the needed branch. An empty block is often a signal about the data, not a styling error.
What to check: open every expected category in Connections, count its published entries, and compare them with the widget settings. Then simplify the configuration temporarily: show all categories without limits while retaining only hide-empty behavior. If the needed item appears, restore restrictions one at a time. If it does not appear, check whether the category is assigned to a published test entry and whether the branch name is correct.
How to fix it: restore a logical hierarchy, assign categories to real entries, then select the parent and depth again. Do not create a duplicate category solely for the widget. When to roll back: if a new structure changes familiar URLs and navigation in a large directory without an approved plan, restore the previous tree and prepare the migration on a test site first.
Search Does Not Find a Known Entry
Symptom: a visitor enters a name or last name, but the needed profile is absent from the results. Likely cause: the tested text is not in public data; the entry is unpublished; the wrong directory home page is selected; another theme search is active on the page; or the query contains unusual characters but only one version of the name was tested.
What to check: first open the needed entry's profile through its direct public link. Then take an exact, unique part of the name visible in the profile and repeat the query through Widget Pack. If search leads to a different page, check the directory home page setting. Also test a general query and a zero-result query. This helps distinguish a problem with one entry from an incorrect search route.
How to fix it: correct the entry's data or publication status, confirm the directory route, and test again in a private window. Do not add unclear helper text to the widget in an attempt to fix the result behavior. When to roll back: if changing the home page breaks other directory routes, restore the previous value and first determine which template should actually serve as the public entry point.
The Entry List Shows the Wrong Selection
Symptom: the List widget displays extra profiles, omits expected ones, or feels like a duplicate of the full directory. Likely cause: the category inclusion and exclusion filter is not configured as intended, the list limit is too high, or test entries have incorrect categories. Sometimes the cause is simpler: the heading promises one collection while the configuration creates another.
What to check: write down the expected five entries and their categories. Then temporarily use the smallest limit and one filter. Compare every list row with the source entry. Check that the name leads to the correct profile and that the image or logo does not obscure the meaning of the profile. Only then increase the limit if the column truly has room.
How to fix it: configure the selection using one category, then add exclusions only when clearly necessary. Rewrite the heading so it names the actual selection rule. When to roll back: if the widget remains longer and more complicated than the main directory, remove it from that page and retain a short route through categories or search.
The Active Category Is Not Highlighted or Is Highlighted Incorrectly
Symptom: a user opens a category, but the active item background does not change, remains from the previous page, or highlights several links. Likely cause: the CSS rule does not match the theme markup, the Category fragment cache retains HTML without the current state, or links lead to the wrong route. Styles cannot be diagnosed in the editor alone because they depend on public HTML.
What to check: first make sure the link itself opens the correct category. Then inspect whether the current-item class appears in the markup. Only after that should you apply local CSS. If the class is present but the state does not update when moving between two categories, check the documented filter for disabling Category fragment caching.
How to fix it: keep CSS in the theme's custom styling area and the targeted filter in a reversible code snippet. Test movement through two or three categories in sequence in a new window. When to roll back: if disabling the cache does not solve the issue or harms page performance, disable the snippet and remove the experimental style, then return to analyzing links and the template.
The Date Block Is Empty or Appears at the Wrong Time
Symptom: a birthday, anniversary, or upcoming-event widget does not show an expected entry or disappears unexpectedly. Likely cause: the date is not populated, the field is not available for public output, the wrong date type is being tested, or hide-empty output is enabled. For "today" blocks, having no row is often the correct state.
What to check: open the test entry in the admin area, make sure the date is entered in the correct field, and compare it with the behavior of the selected widget. Check profile visibility and the availability of other candidates. In a test environment, you can use a date that is known to match, but do not alter personal information on a production site merely for testing.
How to fix it: clarify data-entry rules with editors, use a neutral widget without personal dates where those dates have no public purpose, or retain the setting that hides an empty block. When to roll back: if the block requires sensitive data to be published or creates an awkward empty theme section, remove it and use a regular entry collection instead.
Troubleshooting rule. Change one variable at a time and repeat the same test route. If you change the category, theme area, styles, and cache at once, even a successful outcome will not tell you what fixed it.
Questions That Come Up When Configuring Widgets
Do I need Connections Business Directory before installing Widget Pack?
Yes. The add-on is designed for an installed and configured Connections Business Directory. The directory home page, published entries, and categories should exist first. If the core setup is not ready, start there. Widgets do not create a standalone directory or fill entry profiles with data.
Can I add the same widget more than once?
Yes. The pack supports multiple widget instances. Each instance should have a separate role, however. For example, one list can show new members while another displays entries from one category. Use clear names and record the theme area, filters, and limit so configurations do not get confused during later editing.
Why does a category not show an active state?
First, check the category link and current-item class in the public markup. Then add local CSS in the theme's custom styling area. If you use styling that depends on the current page, the add-on documentation provides a targeted way to disable Category fragment caching through a filter. Do not disable cache globally or edit plugin files.
Can I display a widget in the middle of a regular page?
The documentation describes shortcode output after configuring the widget in the special Connections: Widget Shortcode area. This approach requires the classic widgets interface. First configure one test element, obtain the shortcode generated by the system, and check the page while logged out. Do not insert unverified shortcode variants from third-party examples.
Should I show entry counts next to categories?
Only when the number helps people choose a section. In a large directory, it indicates the size of the selection. In a short or unevenly populated directory, numbers can be distracting. Test categories with several, one, and zero entries, enable hiding for empty items, then assess the page at a mobile width.
Why does an events block sometimes disappear?
Widgets for today's and upcoming dates may not display content when no matching entries exist. That is normal, especially when hiding for an empty output is enabled. Check whether the required date field is populated, public display is permitted, and the entry matches the selected event type.
Do widgets affect site performance?
The developer states that widgets use fragment caching to reduce repeated load while they are built. Standard settings are best left alone unless there is a clear reason to change them. If performance becomes a concern after a targeted adjustment for an active category, disable only that reversible snippet, compare the public page, and do not draw conclusions from a single view in a logged-in admin session.
When is it better not to use Connections Widget Pack?
Do not add it if the site has no functioning Connections directory, if the theme provides no meaningful place for navigation and the use case cannot be confirmed with a shortcode, or if you need an entirely different system with complex filtering and a new data model. In these situations, define the directory architecture first instead of masking its problem with a new sidebar block.
When Connections Widget Pack Is a Good Choice
Connections Widget Pack is useful when Connections Business Directory already contains active data but visitors need shorter, clearer paths to it. Begin with one visitor question, one theme area, and one widget. Then confirm the entire route, from the search field or category link to the public profile. After that, you can add a second independent use case, such as recent entries or a topical collection.
The most reliable outcome comes not from the maximum number of widgets, but from consistent editorial work: clean categories, complete entries, test routes, careful mobile checks, and reversible theme adjustments. Leave cache in its standard mode unless there is a confirmed reason to change it. Use shortcodes as a way to place an already configured widget in content, not as a replacement for the site's information architecture.
Once the core directory is verified, categories are clear, and the first test route ends at the intended entry, you can download the installation file and repeat the setup on your own copy of the site. Keep a short note for every area, filter, and check so future changes do not turn into a search for the cause among similar blocks.


