Description
Showcase | Documentation | Support | Templates | Extensions
Connections Business Directory is one of the best business directory plugins available for WordPress. Its simplicity in design and function, vast array of unique features and versatility are the reasons more and more people are turning to Connections Business Directory for their directory needs. You can use Connections to create a simple address book, maintain a staff or member directory and run a business directory or link directory. Connections Business Directory was built bottom up to be as configurable as possible while providing the features you need. Read on to learn about some of the best features Connections Business Directory has to offer…
Features
- Highly rated support.
- Continuously updated bringing you new features for free.
- Compatible with all themes including popular themes such as Avada, Divi, Enfold and OceanWP.
- Compatible with most popular page builders such as Elementor, Beaver Builder, Brizy, Visual Composer, Fusion, SiteOrigin, etc…
- SEO. Every entry in your business directory outputs following the hCard spec. Soon to be updated to following Schema.org.
- Supports the native sitemaps feature available in WordPress versions 5.5 and newer.
- Yoast SEO and Rank Math sitemaps integration.
- Event Logging Integrates with the Simple History plugin; logging directory related events such as creating a new entry, modifying an entry, and deleting an entry.
- Supports the WordPress Block (Gutenberg) Editor with the following blocks.
- Carousel Block :: Display your directory as a carousel.
- Directory Block :: Use this block to embed your directory in a page.
- Team Block :: It’s easy to use Connections to build your team page! Team Block is a full-featured block with multiple layout styles. While premium team plugins can set you back $20 or more, Team Block is free for all Connections users.
- Upcoming List Block :: Use this block to display an upcoming list of anniversaries, birthdays or other events.
- A growing selection of Content Blocks:
- Related Entries:: Display related Entries in a mobile responsive carousel.
- Nearby Entries:: Increase discoverability of Entries by displaying nearby Entries in a mobile responsive carousel.
- Recently Viewed:: A list a directory Entries the user has recently viewed.
- Last Viewed:: The last directory Entry the user viewed.
- Frontend Entry Management:: Management options include a quick link to edit the Entry and a Delete option.
- Entry Meta:: Display details such as when the Entry was added nad last modified and by whom.
- Dashboard admin page where you can see at a glance today’s anniversaries and birthdays as well as upcoming anniversaries and birthdays of members in your directory.
- Multiple entry types from which to choose; such as individual, organization and family. The family entry type is unique to Connections. This entry type allows you to group individuals together as a family which makes Connections ideally suited for creating a church directory.
- You control which entries are viewable to the public and which entries are private, viewable for logged-in users only. You can even have entries set as unlisted so only admins can view them.
- Repeatable fields for address, phone numbers, email, instant messenger, social media, links and dates which allow you to add as much or as little as you need for each business in your business directory.
- Hierarchical (nested) category support. Businesses and members in your business directory can be added to any number of categories.
- Include a biographical text for an individual member or business description for each entry in your business directory using an easy-to-use rich text editor.
- You can easily add a business logo or photo of the staff member for each entry in your business directory or staff directory. The photo and logo images are fully responsive with HiDPI (Retina) display support.
- Scalable, manage directories which contain hundreds of thousands of entries.
- CSV Export of addresses, phone numbers, email addresses and dates.
- CSV Import of nested categories.
- Role capability support.
- Displaying your business directory on the frontend is as simple as putting a shortcode on a page. Don’t let this simplicity fool you. The shortcode provides a large array of options that are just too numerous to list. To learn more, go here.
- Extensible and developer friendly.
- Robust templating support with the Template Customizer. Several basic templates are provided to get you started with you business directory with many more premium templates available to really make your business directory shine.
Extensible
Here are some great free extensions (with more on the way) that enhance your experience with Connections Business Directory:
Utility
- Toolbar :: Provides quick links to the admin pages from the admin bar.
- Login :: Provides a simple-to-use login shortcode and widget.
- Anniversary and Birthday Emails :: Add the ability to automatically send a customizable email to entries on their anniversary or birthday.
Custom Fields
- Business Open Hours :: Add the business open hours.
- Certifications :: Create and assign certifications to individuals in your directory.
- Local Time :: Add the business local time.
- Facilities :: Add the business facilities.
- Income Level :: Add an income level.
- Education Level :: Add an education level.
- Languages :: Add languages spoken.
- Hobbies :: Add hobbies.
Misc
- Face Detect :: Applies face detection before cropping an image.
- Authored :: Displays a list of blog posts written by the entry on their profile page.
- Contact :: Displays a contact form on the entry’s profile page to allow your visitors to contact the entry without revealing their email address.
- CSV Import :: Bulk import your data in to your directory.
- Custom Category Order :: Order your categories exactly as you need them.
- Custom Entry Order :: Allows you to easily define the order that your business directory entries should be displayed.
- Enhanced Categories :: Adds many features to the categories.
- Form :: Allow site visitor to submit entries to your directory. Also provides frontend editing support.
- Link :: Links a WordPress user to an entry so that user can maintain their entry with or without moderation.
- ROT13 Encryption :: Protect email addresses from being harvested from your business directory by spambots.
- SiteShot :: Show a screen capture of the entry’s website.
- Widget Pack :: A set of feature rich, versatile and highly configurable widgets that can be used to enhance your directory.
Connections Business Directory comes with a couple templates to get you started which fully support the Template Customizer. In addition to these free templates there are many premium templates available to take your business directory the level visually.
- Circled :: A simple but bold template specifically designed for displaying small team or staff directory.
- cMap :: Our most popular go to template for a business directory and chamber of commerce business directory, featuring full Template Customizer support.
- Excerpt Plus :: Simple design which features a directory entry name, photo thumbnail and excerpt.
- Gridder :: Another simple but bold template which displays the directory in a grid layout. Perfect for displaying a small team or staff directory
- Slim Plus :: Specifically designed to take up as little space on the page as possible.
- Tile Plus :: This template was purposely designed to display the directory in a grid or column layout.
Developer Friendly
- Open development on GitHub.
- Access to 180 action hooks and over 300 filters … and counting.
- Term API.
- Custom Metabox and Fields API.
- Template Engine and API.
- Fragment Cache API.
- Log API (stateless and stateful).
- Admin Notices API.
- Email API.
- Settings API.
Connections Business Directory has a very flexible template engine. The loading of template and CSS are context aware. This means you could create specific templates that load when a user visits a specific entry, category, postal code and more.
Templates and CSS overriding is very granular and update safe. Check out these links for the details:
Languages
Connections Business Directory has been embraced around the world and has been translated by its users in the following languages.
- Arabic [60% Complete]
- Catalan [52% Complete]
- Croatian (Croatia) [22% Complete]
- Danish [31% Complete]
- Danish (Denmark) [29% Complete]
- Dutch (Netherlands) [49% Complete]
- Finnish [78% Complete]
- French (France) [90% Complete]
- German (Germany) [86% Complete]
- Greek (Greece) [69% Complete]
- Hebrew (Israel) [61% Complete]
- Hungarian (Hungry) [52% Complete]
- Italian (Italy) [58% Complete]
- Norwegian [13% Complete]
- Persian (Iran) [52% Complete]
- Polish (Poland) [52% Complete]
- Portuguese (Brazil) [77% Complete]
- Portuguese (Portugal) [24% Complete]
- Romanian (Romania) [69% Complete]
- Russian (Russia) [40% Complete]
- Serbian (Latin) [2% Complete]
- Spanish (Latin America) [49% Complete]
- Spanish (Mexico) [99% Complete]
- Spanish (Spain) [99% Complete]
- Sweden (Swedish) [96% Complete]
- Turkish (Turkey) [58% Complete]
Credits:
- Connection Business Directory was based off LBB, “Little Black Book”; which was based on Addressbook, both of which can be found in the Plugin Directory.
- vCard class is a modified version by Troy Wolf.
- Update Notice in plugin admin inspired by Changelogger 1.2.8 by Oliver SchlΓΆbe.
- Screen Options class by Janis Elsts.
- $.goMap() jQuery Google Maps Plugin by Jevgenijs Shtrauss.
- MarkerClustererPlus jQuery Google Maps Marker Clustering Plugin by Gary Little.
- Validation jQuery plugin by JΓΆrn Zaefferer.
- Chosen jQuery plugin by Harvest.
- qTip jQuery plugin by Craig Thompson.
- Email and URL validation methods by Gizmo Digital Fusion.
- Social media icons by WPZOOM.com; license CC BY-SA 3.0.
- iTunes icon by Paul Robert Lloyd; license Attribution-ShareAlike 2.0 UK: England & Wales (CC BY-SA 2.0).
- Podcast icon by schollidesign; license GNU/GPL.
- CSS theme and image used for the jQuery UI Datepicker by helenhousandi.
Screenshots
The many possible faces of your business directory. Connections Business Directory supports templates. This screenshot showcases (left to right) Excerpt Plus, Circled, Gridder, Tile Plus and Slim Plus. Another screenshot showcasing the different templates that can be used to style your business directory. Left to right; Circled, cMap and Gridder. The Dashboard admin page. A snapshot of important information about the business directory. The Manage admin page. Here you can manage all the entries within the address book. The Add New Entry admin page. From here you can add new entries to the addressbook. The Categories admin page. Add as many categories as you wish to the directory. Categories do support parent/child relationships. The Templates admin page. Here you choose which template that the business directory should use when displaying the directory. The Settings admin page where you can configure the business directory options. The Role and Capabilities admin page. Here you can assign which roles have which capabilities in viewing and managing the directory. The Tools :: Export admin page contains many CSV export tools to allow you to easily export the data from your business directory. The Tools :: Import admin page allows you to quickly bulk import nested categories into your business directory. In the event that you need support the Tools :: System Information admin page contains all the information needs about your directory installation which can be easily and quickly shared. Need to move the configuration of your business directory from one site to another? The Tools : Settings Import/Export admin page allows you to do it with zero fuss. This will even migrate the Template Customizer settings applied to template and any of the settings for the premium extensions.
FAQ
A comprehensive list of FAQs can be found here.
-
How do I install Connections?
-
Installation instructions can be found here.
Using the WordPress Plugin Search
- Navigate to the
Add New
sub-page under the Plugins admin page. - Search for
connections business directory
. - The plugin should be listed first in the search results.
- Click the
Install Now
link. - Lastly click the
Activate Plugin
link to activate the plugin.
Uploading in WordPress Admin
- Download the plugin zip file and save it to your computer.
- Navigate to the
Add New
sub-page under the Plugins admin page. - Click the
Upload
link. - Select Connections Business Directory zip file from where you saved the zip file on your computer.
- Click the
Install Now
button. - Lastly click the
Activate Plugin
link to activate the plugin.
Using FTP
- Download the plugin zip file and save it to your computer.
- Extract the Connections Business Directory zip file.
- Create a new directory named
connections
directory in the../wp-content/plugins/
directory. - Upload the files from the folder extracted in Step 2.
- Activate the plugin on the Plugins admin page.
- Navigate to the
-
How do I display the business directory on my site?
-
We have a QuickStart available that’ll walk you through the most basic setup. Basically all you need to do is, create a page, and add the
[connections]
shortcode and then start adding entries to your directory. -
Will it work with my theme?
-
Connections Business Directory has been designed to work with any theme.
-
Is Connections Business Directory translation-ready?
-
Yes it is. Connections Business Directory comes with many user supplied translations. We use Transifex to manage translations. This service make it easy for us manage and easy for you to translate. To read more, see this page.
-
Is Connections Business Directory compatible with WordPress Multisite?
-
Yes it is. However, do not Network activate Connections. Activate it on only the subsites that you wish to use Connections.
-
Yes this is possible but there is a special setup required to do so. It is recommended this is done before added entries to your business directory.
- Activate Connections Business Directory the primary site.
- Add
define( 'CN_MULTISITE_ENABLED', FALSE );
to yourwp-config.php
file. NOTE: If you have added any entries to any of your subsites, that data will be lost as Connections will read the directory entry data from the primary site’s database tables. - Activate Connections Business Directory on the subsites you wish to use Connections.
-
What are the requirements to run Connections?
-
- WordPress version: >= 2.3
- PHP version: >= 5.6.20 ( 7.1 is highly recommended)
Reviews
Contributors & Developers
“Connections Business Directory” is open source software. The following people have contributed to this plugin.
Contributors“Connections Business Directory” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “Connections Business Directory” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
Complete Changelog can be found here.
10.4.59 12/01/2023
- NEW: Introduce
Request::isSingle()
. - TWEAK: Replace
cnEntry_Action
with\Hook\Action\Admin_Bar::addEditEntry()
. - TWEAK: Refactor
\Form\Field\Option
to support theclass
andstyle
attributes. - TWEAK: Refactor
CN_Walker_Term_Select_List_Enhanced::do_el()
to utilize\Form\Field\Option
. - TWEAK: Refactor
CN_Walker_Term_Select_List_Enhanced
to ensure inherited method parameter names match. - TWEAK: Remove unused import.
- DEV: phpDoc corrections.
- DEV: phpDoc updates.
- WPCS: Add method return type.
- WPCS: It is recommended not to use reserved keyword “default” as function parameter name. Found: $default.
- WPCS: Add missing parameter type declaration.
- WPCS: Exclude a few WP VOP Go sniffs.
- WPCS: Inline comments must end in full-stops, exclamation marks, or question marks.
10.4.58 11/27/2023
- TWEAK: Delete extra trailing period from inline code comment.
- OTHER: Correct misspellings.
- OTHER: Update the dist files.
- WPCS: A single space must follow the
function
keyword. - WPCS: Update phpcs ignore.
- WPCS: Spaces must be used for mid-line alignment; tabs are not allowed.
- DEV: Update WPCS to version 3.0.
- DEV: npm audit fix.
- DEV: Update webpack.
- DEV: Add the custom role capability properties to phpcs.xml.
- DEV: phpDoc corrections.
10.4.57 11/17/2023
- NEW: Introduce
CN_Walker_Term_Select_List_Enhanced::generatePlaceholder()
. - TWEAK: Ensure the
\Simple_History\Simple_History
class exists before adding the Simple History logger registration hook to prevent possible fatal errors when older version of Simple History are installed. - TWEAK: Ensure the core WP default filters exists for WP User authentication during the REST API request.
- TWEAK: Simply direct access exit.
- TWEAK: Refactor
\Form\Field\Option::prepareAttributes()
to process custom attributes. - TWEAK: Refactor
CN_Walker_Term_Select_List_Enhanced::render()
to utilizegeneratePlaceholder()
.
10.4.56 11/10/2023
- BUG: Correct parameter used when defining the “remember me” checkbox in the login form.
- BUG: Prevent fatal PHP error if
wp_signon()
returns and instance ofWP_Error
instead of an instance ofWP_User
.
10.4.55 10/26/2023
- NEW: Introduce
Shortcode
abstract class to reduce code duplication when registering shortcodes with WordPress. - TWEAK: Replace instances of
strip_tags()
withwp_strip_all_tags()
. - TWEAK: Add an
is_string()
check to_string::stripTags()
to help ensure no PHP deprecation notices are thrown. - TWEAK: Utilize
_string::stripTags()
instead ofstrip_tags()
to help ensure no PHP deprecations notices. - TWEAK: Remove unused commented out code referencing a method long removed in
cnRetrieve
. - TWEAK: Remove use of deprecated
cnShortcode::addFilterRegistry()
calls inShortcode\Entry
. - TWEAK: Refactor
Shortcode\Entry
to utilizeShortcode
to reduce code duplication. - BUG: Do not overwrite the
category
shortcode value if thecn-cat
request variable is empty. - DEV: phpDoc corrections.
10.4.54 10/20/2023
- BUG: Use
Request::setVar()
to reset the pagination value when the offset count is greater than the total row count to prevent a potential query loop and PHP fatal error.
10.4.53 10/16/2023
- FEATURE: Add integration and support for the Simple History plugin.
- TWEAK: Pass the
$args
parameter to thecn_edit_terms
filter. - TWEAK: Pass the
$args
parameter to thecn_edit_terms
filter. - BUG: Merge provided taxonomy labels with the default labels.
- OTHER: Correct misspellings.
10.4.52 09/29/2023
- TWEAK: Add webp as a valid image type when validating image uploads.
- BUG: Revert specificity CSS for icons to be more targeted to the Connections Brandicons (Icomoon).
10.4.51 09/28/2023
- TWEAK: Update Twitter to reflect the brand change to π. Add Google Scholar, ORCiD, ResearchGate, and π.
- TWEAK: Allow the Number metabox field type to be registered for the keyword search field.
- TWEAK: Apply CSS Lint style fixes.
- BUG: Ensure the
number
metabox field value is properly sanitized. - DEV: Update the
dist
assets.
10.4.50 09/08/2023
- NEW: Introduce the
number
field type in the Metabox API. - NEW: Introduce
Request\Input::setDefault()
. - NEW: Introduce
User_Login::maybeRedirect()
. - TWEAK: Ensure both the username and user email request values are sanitized before user.
- TWEAK: Move the permission check to the
permission_callback
for theaccount/login
REST API endpoint. - TWEAK: Ensure the
remember
parameter for the login form is properly coerced into a boolean. - TWEAK: Remove unnecessary user login check before user sign on.
- TWEAK: Refactor the
account/login
endpoint to support thelogin_redirect
filter. - TWEAK: Rename the
redirect
property toredirect_to
in theaccount
REST API route to match the core WordPress naming convention. - TWEAK: Remove use of
Request\Redirect
in theAccount REST API
and utilize the requestredirect_to
property. - TWEAK: If the URL passed into
From/setRedirect()
fails validation set theredirect
property to an empty string. - TWEAK: Refactor the default
redirect_to
value to match WordPress core in the REST APIAccount\Login
endpoint. - TWEAK: Change the priority of the
parse_request
from10
to11
to stop Event Espresso from breaking the ability to parse the request variables. - BUG: Correct the default address name return value.
- DEV: Update
dist
files.
10.4.49 08/25/2023
- NEW: Introduce the
Email
field to the Fields API. - NEW: Introduce
Request\Redirect
. - NEW: Introduce the
account\register
REST API endpoint. - NEW: Introduce the Register User form.
- TWEAK: Rename the callback for the
account/login
endpoint touserLogin
for consistency in naming. - TWEAK: Move the confirmation message for the Request Reset Password form to the JSON response of the
account/request-reset-password
endpoint. - TWEAK: Refactoring of the client-side JS form processing to allow confirmation messages to be passed via the REST API response.
- TWEAK: Refactor the core form submit event listener use of apiFetch, disabling the default parsing of API responses and use a private parse callback instead to ensure consistent request responses.
- BUG: Initialize the correct form in the
account/login
REST endpoint for validation. - OTHER: Correct misspelling.
- DEV: phpDoc corrections.
- DEV: Inline comments must end in full-stops, exclamation marks, or question marks.
- DEV: Parameter comment must end with a full stop.
- DEV: Remove unnecessary inline var phpDoc comment.
- DEV: Remove unnecessary import.
- DEV: Update the
dist
files.
10.4.48 08/10/2023
- NEW: Bump tested to WordPress version 6.3.
- NEW: Introduce the
account/reset-password
REST API endpoint. - TWEAK: Refactor the toggle weak password confirm to use a boolean vs using the weak password score when determining whether to display or not.
- TWEAK: Add the default value and the field validation schema to the weak password confirmation.
- TWEAK: Remove the
login
hidden field from the reset password form. - TWEAK: Set password reset key cookie after rendering the reset password form.
- OTHER: Add punctuation to sentences.
10.4.47 08/04/2023
- NEW: Add support for the “Remember Me” checkbox in the login form.
- NEW: Introduce the
account/request-reset-password
REST API endpoint. - NEW: Introduce the Account Request Reset Password form.
- NEW: Introduce
Form::getHeader()
andForm::getFooter()
so the sections of the form be overridden. - NEW: Introduce the Reset Password form.
- TWEAK: Add support for
implicit/after
andimplicit/before
when defining field label positioning. - TWEAK: Minor CSS tweaks, adding gaps between fields and a space between a checkbox field and its label.
- TWEAK: Set form description in the constructor.
- TWEAK: Removed unused class property.
- TWEAK: Add default styling for form confirmation and error messages.
- TWEAK: Refactor the Form API JavaScript to support multiple forms on a page when attaching event listeners.
- TWEAK: Remove unused
message
property from the baseForm
object. - TWEAK: Set the default value of the
header
andfooter
properties to be an empty string in theForm
object. - TWEAK: Refactor
Form::getShortname()
to not use a static variable as each new form instance must return the current instance class shortname. - TWEAK: Add output buffering to the
Form
object actions. - TWEAK: Add action before and after rendering a form field in the
Form
object. - TWEAK: Add a space between a checkbox field and its label.
- TWEAK: Add current user can check before registering an admin message.
- TWEAK: Change filter name from
Connections_Directory/Form/{Form_Name}/Render/Field/Before
toConnections_Directory/Form/{Form_Name}/Field
. - OTHER: Correct misspellings.
- DEV: Remove @todo.
- DEV: phpDoc corrections.
- DEV: Update .eslintrc.
- DEV: Update the
dist
files.
10.4.46 07/07/2023
- NEW: Introduce the Password form field.
- NEW: Introduce the Button form element.
- NEW: Introduce the Schema trait for form fields.
- NEW: Introduce
Label::setLabelPosition()
. - NEW: Introduce
Attributes::addAttributes()
. - NEW: Introduce
Label::getText()
. - NEW: Introduce
Form
base class. - NEW: Introduce the Entry Moderate REST API Route.
- NEW: Introduce the User Account REST API route with the login endpoint and a login form utilizing the Form/Fields API for form generation and field schema validation during the REST request.
- NEW: Introduce
_::getClassShortName()
. - NEW: Introduce
_::callstack()
. - TWEAK: Remove unnecessary direct access check.
- TWEAK: Remove deprecated use of
cnArray
. - TWEAK: Qualifier can be replaced with an import.
- TWEAK: Remove error log function call. Should not be in production code.
- TWEAK: Rename class
CN_REST_Autocomplete_Controller
toConnections_Directory\API\REST\Endpoint\Autocomplete
. - TWEAK: Rename file
class.cn-rest-autocomplete-controller.php
toAutocomplete.php
. - TWEAK: Move REST API related files into the
API/REST
folder and update the namespace to match. - TWEAK: Update hook names to match namespace.
- TWEAK: Capitalize the
api
folder name. - TWEAK: Remove unused
api
property fromConnections_Directory
. - TWEAK: Change the
$label
property in the Label trait to public, so the methods for theField_Label
form field are accessible. - TWEAK: Add return type declaration to
Label::getLabelHTML()
. - TWEAK: Add declare strict types to
Label
. - TWEAK: Add declare strict types to
Field
. - TWEAK: Add declare strict types to
Input
. - TWEAK: Add declare strict types to
Attributes
. - TWEAK: Add declare strict types to
Label
. - TWEAK: Add declare strict types to
Select
. - TWEAK: Add declare strict types to
Text
. - TWEAK: Add declare strict types to
Autocomplete
. - TWEAK: Add the
Schema
trait to theInput
form field. - TWEAK: Remove the
AutoComplete
attribute from theSelect
form field. - TWEAK: Add the
Autocomplete
attribute to theText
form field. - TWEAK: Add constructor to the
Text
form field. - TWEAK: Refactor the
Input
form field to initiate its properties using the constructor instead fgo the create method. - TWEAK: Refactor
Field
constructor and create method to require the properties parameter. - TWEAK: Remove unused variable.
- DEV: phpDoc updates.
- DEV: Inline comments must end in full-stops, exclamation marks, or question marks.
- DEV: Removed unused commented out code.
- DEV: Add function return type.
- DEV: Add parameter type declaration.
- DEV: Remove unused import.
- DEV: Add dev @todo.
- DEV: Add commented out code required for testing CSV exports.
- DEV: Array alignment.
10.4.45 06/08/2023
- TWEAK: Remove unnecessary direct access check.
- TWEAK: Add the
detailed
query argument schema to the Countries collection parameters. - TWEAK: Add
code
query argument schema to the Countries collections endpoint parameters. - TWEAK: Remove deprecated use of
cnArray
. - TWEAK: Rename class
CN_REST_Countries_Controller
toConnections_Directory\API\REST\Endpoint\Countries
. - TWEAK: Rename file
class.cn-rest-countries-controller.php
toCountries.php
. - TWEAK: Refactor how REST Routes and Endpoints are registered to optimize loading using a trait to reduce code duplication.
- DEV: phpDoc updates.
- DEV: Add return type declaration.
10.4.44 06/05/2023
- NEW: Add the
exclude
,include
,offset
,categories
, andcategories_exclude
parameters toEntry::get_collection_params()
. - TWEAK: Remove instances of using parameter default value.
- TWEAK: Remove unused and unnecessary parameter from
Entry::get_entries()
. - TWEAK: Add the format parameter to the email and social schema.
- TWEAK: Deprecate the
id
parameter in favor of theinclude
parameter. Theid
parameter will be used as the default parameter value if set. - TWEAK: Deprecate the
category_in
parameter in favor of thetax_relation
parameter. Thecategory_in
(defaultfalse
) will be used as the default parameter value if set. - TWEAK: Rename action from
Connections_Directory/API/REST/Entry/After_Update
toConnections_Directory/API/REST/Controller/Entry/Update/After
. - TWEAK: Rename action
rest_delete_cn_entry
toConnections_Directory/API/REST/Controller/Entry/Delete/After
. - TWEAK: Rename action from
rest_prepare_cn_entry
toConnections_Directory/API/REST/Controller/Entry/Prepare_Item/Response
. - TWEAK: Add deprecated action/filter for renamed hooks.
- TWEAK: Remove direct access check.
- TWEAK: Remove deprecated use of
cnArray
. - TWEAK: Rename
class.settings.php
toSettings.php
. - TWEAK: Permit the admin role to utilize an expanded range of HTML tags with term descriptions.
- TWEAK: Rename the REST Settings API filters.
- BUG: Correct the namespace name for the Settings REST API Route.
- OTHER: Correct misspellings.
- DEV: Remove unused commented out code.
- DEV: Rename variable to make it more clear of its purpose.
- DEV: Add a todo.
- DEV: Remove use of unnecessary local variable.
- DEV: Inline comments must end in full-stops, exclamation marks, or question marks.
- DEV: Move file phpDoc to file head.
- DEV: Correct placement of IDE
@noinspection
tag. - DEV: phpDoc corrections.
- DEV: phpDoc updates.
10.4.43 05/24/2023
- NEW: Introduce
CN_REST_Entry_Controller::_sanitize()
andCN_REST_Entry_Controller::_validate()
. - NEW: Introduce the
Connections_Directory/API/REST/Controller/Entry/Get_Items/Arguments
filter. - TWEAK: Remove unnecessary local variables.
- TWEAK: Make
cnEntry_Action::copyImages()
public. - TWEAK: Assign local variable to object property and then return.
- TWEAK: Tweak string concatenation.
- TWEAK: Minor optimization to check for the existing entry slugs within similar slugs before creating an indexed iteration of the slug.
- TWEAK: If the supplied entry slug is the same as th existing entry slug, do not attempt to a unique slug.
- TWEAK: Remove unnecessary parentheses.
- TWEAK: Replace deprecated
cnArray::get()
with_array::get()
. - TWEAK: Type cast is redundant.
- TWEAK: Remove use of deprecated
cnOutput
object. Replaced withcnEntry_HTML
. - TWEAK: Move REST controllers classes to the autoloader.
- TWEAK: Move the REST register routes hook into
Connections_Directory::hooks()
. - TWEAK: Rename
cnAPI
to\API\REST\Routes
. - TWEAK: Cache the result of
CN_REST_Entry_Controller::get_item_schema()
. - TWEAK: Replace deprecated
cnFormatting::toBoolean()
with_format::toBoolean()
. - TWEAK: The value returned from
cnEntry::getStatus()
does not require sanitization each time it is called. - TWEAK: Improve validation in
cnEntry::setStatus()
. - TWEAK: Minor optimization in
cnEntry_Action::process()
. Call$entry->getStatus()
only once instead of multiple times. - TWEAK: Refactor
cnEntry_Action::copyImages()
to support whether to copy the image variations. - TWEAK: First pass at implementing update entry item via a REST API request.
- TWEAK: Rename class
CN_REST_Entry_Controller
toConnections_Directory\API\REST\Endpoint\Entry
. - TWEAK: Rename file
class.cn-rest-entry-controller.php
toEntry.php
. - BUG: Ensure the directory homepage base URL is set when returning the REST API request results.
- OTHER: Correct misspellings.
- DEV: phpDoc corrections.
- DEV: phpDoc updates.
- DEV: Remove unused commented out code.
- DEV: When a multi-item array uses associative keys, each value should start on a new line.
- DEV: Add method and return types.
- DEV: Correct code formatting.
- DEV: Fix phpDoc alignment.
10.4.42 05/08/2023
- NEW: Introduce
Shortcode\Get_HTML
. - TWEAK: Move
cnShortcode_Connections
to the deprecated folder. - TWEAK: The replacement property should be optional in
_deprecated::_file()
. - TWEAK: No need to register the
[cn-directory]
shortcode with WP since it is only used in the view controller. - TWEAK: Add the private tag property to
Entry_Directory
and pass it to the filters. - TWEAK: Utilize
\Shortcode\Entry_Directory
instead of the deprecatedcnShortcode_Connections::shortcode()
method when rendering the directory. - TWEAK: Refactor deprecated
cnShortcode_Connections::shortcode()
to call its replacementShortcode\Entry_Directory
. - TWEAK: Utilize
Shortcode\Get_HTML
in all shortcode objects to reduce code duplication. - TWEAK: Remove usage of deprecated
cnShortcode::clearFilterRegistry()
. - DEV: Add file header.
- DEV: Optimize imports.
- DEV: Add method return type.
- DEV: phpDoc corrections.
10.4.41 05/02/2023
- NEW: Introduce the
\Shortcode\Entry_Directory
shortcode; the eventual replacement code forcnShortcode_Connections::shortcode()
. - NEW: Introduce
\Shortcode\Directory_View
and use it as teh callback for the[connections]
shortcode. - TWEAK: Remove the experimental
[cn_thumb]
and[cn_thumbr]
shortcodes from the plugin, moving them to a separate plugin. - TWEAK: Remove experimental
[cn-mapblock]
shortcode. - TWEAK: Remove
cnShortcode::register()
and register shortcodes inConnections_Directory::hooks()
on theinit
hook to consistent with current coding standards. - TWEAK: Change folder capitalization from
includes/shortcode
toincludes/Shortcode
to match current naming conventions. - TWEAK: Remove use of deprecated methods in
cnTemplate_Customizer::controlStrings()
. - TWEAK: Change
Entry::prepareAttributes()
from public to private. - TWEAK: Replace deprecated
cnShortcode_Connections::shortcode()
incnDashboardMetabox::recent()
. - BUG: Ensure
cnScript::maybeEnqueueStyle()
returns true when the[cn-entry]
shortcode is used. - BUG: Pass the correct attributes in
cnTemplatePart::loadTemplateError()
when initiatingUpcoming_List
. - BUG: The
connectionsEntryList()
method (template tag) should callcnShortcode_Connections::view()
notcnShortcode_Connections::shortcode()
. - OTHER: Correct misspellings.
- DEV: phpDoc corrections.
- DEV: Correct inline comment.
- DEV: Remove commented out debug code.
- DEV: phpDoc updates.
- DEV: Deprecate
cnShortcode_Connections::shortcode()
.