749579f32d
evenmt_social will use the first image from the entry for the OpenGrahp "og:image" meta property used by Facebook and Twitter; if there is none, it will fall back to the default image from the plugin configuration. The timeline and photo themes support setting a featured image that is used instead. Add the possibility to set a social media image for each entry, regardless of theme. If there is none set, fall back to timeline or photo featured images, or the first image in the enttry body, or the default image from the plugin configuration (in that order). Signed-off-by: Thomas Hochstein <thh@inter.net>
21 lines
1.6 KiB
PHP
21 lines
1.6 KiB
PHP
<?php #
|
|
|
|
@define('PLUGIN_EVENT_SOCIAL_NAME', 'Share Buttons');
|
|
@define('PLUGIN_EVENT_SOCIAL_DESC', 'Show social share buttons for services like Facebook and Twitter using shariff.');
|
|
@define('PLUGIN_EVENT_SOCIAL_SERVICES', 'Available Services');
|
|
@define('PLUGIN_EVENT_SOCIAL_SERVICES_DESC', 'Select the services for which you want to show a share button.');
|
|
@define('PLUGIN_EVENT_SOCIAL_THEME', 'Color theme');
|
|
@define('PLUGIN_EVENT_SOCIAL_THEME_DESC', 'Select a color theme for the share buttons.');
|
|
@define('PLUGIN_EVENT_SOCIAL_THEME_STD', 'Standard');
|
|
@define('PLUGIN_EVENT_SOCIAL_THEME_WHITE', 'White');
|
|
@define('PLUGIN_EVENT_SOCIAL_THEME_GREY', 'Grey');
|
|
@define('PLUGIN_EVENT_SOCIAL_OVERVIEW', 'Show on overview pages');
|
|
@define('PLUGIN_EVENT_SOCIAL_OVERVIEW_DESC', 'Also show the share buttons on overview pages (like i.e. the front page).');
|
|
@define('PLUGIN_EVENT_SOCIAL_TWITTERVIA', 'Twitter mention');
|
|
@define('PLUGIN_EVENT_SOCIAL_TWITTERVIA_DESC', 'Username of the twitter user that shall be mentioned (set to "none" to disable.');
|
|
@define('PLUGIN_EVENT_SOCIAL_LANG_DESC', 'Language of the share buttons');
|
|
@define('PLUGIN_EVENT_SOCIAL_BACKEND', 'Backend for share counter');
|
|
@define('PLUGIN_EVENT_SOCIAL_BACKEND_DESC', 'URL to a shariff backend, that provides some buttons (like Facebook) with a share counter. Set to "none" to deacivate. Default: "https://onli.columba.uberspace.de/s9y_shariff"');
|
|
@define('PLUGIN_EVENT_SOCIAL_IMAGE', 'Fallback Image');
|
|
@define('PLUGIN_EVENT_SOCIAL_IMAGE_DESC', 'Image shown on Twitter and Facebok if the entry contains no own image. Set to "none" to deacivate.');
|
|
@define('PLUGIN_EVENT_SOCIAL_ENTRY_IMAGE', 'Image shown on Social-Media');
|