preface = " Google is making a change to its APIs, which make them unusable for browsing on the web. This will prevent Photonic from working after 31st March 2025. Please switch to a different platform to avoid disruption.
media parameter in the shortcode:',
'id' => 'google_media',
'grouping' => 'google-settings',
'type' => 'select',
'options' => Utilities::media_options()
],
[
'name' => "Hide Photo Count in Album Title Display",
'desc' => "This will hide the number of photos in your Album's title.",
'id' => 'google_hide_album_photo_count_display',
'grouping' => 'google-settings',
'type' => 'checkbox'
],
[
'name' => "Photo titles and captions for the galleries / slideshows",
'desc' => "What do you want to show as the photo title in the gallery / slideshow? This is used for the tooltips and title displays.",
'id' => 'google_title_caption',
'grouping' => 'google-settings',
'type' => 'select',
'options' => [
'none' => esc_html__('No title / caption / description', 'photonic'),
'title' => esc_html__('Always use the photo title, even if blank', 'photonic'),
]
],
[
'name' => "Chain queries",
'desc' => "When you use Photonic to display a selected list of albums, Photonic will only display the matches from the first page of results. Select this option to let it display albums from later pages.",
'id' => 'google_chain_queries',
'grouping' => 'google-settings',
'type' => 'checkbox'
],
$this->get_layout_engine_options('google_layout_engine', 'google-settings'),
[
'name' => "Photos (Main Page)",
'preface' => $this->preface,
'desc' => "Control settings for photos from Google Photos when displayed in your page",
'category' => 'google-photos',
'type' => 'section',
],
[
'name' => "What is this section?",
'desc' => "Options in this section are in effect when you use the shortcode format [gallery type='google' view='photos']. In other words, the photos are printed directly on the page.",
'grouping' => 'google-photos',
'type' => "blurb",
],
[
'name' => "Photo Title Display",
'desc' => "How do you want the title of the photos?",
'id' => 'google_photo_title_display',
'grouping' => 'google-photos',
'type' => 'radio',
'options' => $this->title_styles()
],
[
'name' => "Constrain Photos Per Row",
'desc' => "How do you want the control the number of photo thumbnails per row by default? This can be overridden by adding the 'columns' parameter to the 'gallery' shortcode.",
'id' => 'google_photos_per_row_constraint',
'grouping' => 'google-photos',
'type' => 'select',
'options' => [
'padding' => 'Automatically calculate thumbnails per row',
'count' => 'Fix the number of thumbnails per row',
]
],
[
'name' => "Fixed number of thumbnails",
'desc' => " If you have fixed the number of thumbnails per row above, enter the number of thumbnails",
'id' => 'google_photos_constrain_by_count',
'grouping' => 'google-photos',
'type' => 'select',
'options' => $this->selection_range(1, 10)
],
[
'name' => "Photos (Overlaid Popup Panel)",
'preface' => $this->preface,
'desc' => "Control settings for photos from Google Photos when displayed in a popup",
'category' => 'google-photos-pop',
'type' => 'section',
],
[
'name' => "What is this section?",
'desc' => "Options in this section are in effect when you use the shortcode format [gallery type='google' view='albums'], then click on an album to show an overlaid panel. In other words, the photos are printed directly in the overlaid panel.",
'grouping' => 'google-photos-pop',
'type' => "blurb",
],
[
'name' => "Photo Title Display",
'desc' => "How do you want the title of the photos?",
'id' => 'google_photo_pop_title_display',
'grouping' => 'google-photos-pop',
'type' => 'radio',
'options' => $this->title_styles()
],
];
}
}