Social account and sharable social links management via customizer.
You can install this package with Composer:
composer require itinerisltd/acorn-socialsYou can publish the config file with:
$ wp acorn vendor:publish --provider="Itineris\AcornSocials\Providers\AcornSocialsServiceProvider"Edit config/acorn-socials.php to exclude/include Socials
<?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Socials
|--------------------------------------------------------------------------
|
| Here, you can define which socials will be used only
|
*/
- 'socials' => [],
+ 'socials' => [
+ 'facebook' => [
+ 'social' => true/false, // Controls accessibility on AcornSocials::getSocialPages()
+ 'sharable' => true/false, // Controls accessibility on AcornSocials::getSharableSocials()
+ ],
+ 'email' => [], // Empty array will make accessible on both
+ ],
];