Skip to content

Social account and sharable social post links management via WordPress

License

Notifications You must be signed in to change notification settings

ItinerisLtd/acorn-socials

Repository files navigation

Acorn Socials Package

About

Social account and sharable social links management via customizer.

Installation

You can install this package with Composer:

composer require itinerisltd/acorn-socials

You can publish the config file with:

$ wp acorn vendor:publish --provider="Itineris\AcornSocials\Providers\AcornSocialsServiceProvider"

Excluding/Including Socials

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
+   ],

];

About

Social account and sharable social post links management via WordPress

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •