-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HelpHub] [6.4] Social Icon Block #1211
Comments
Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels. |
Heads up @femkreations - the "block editor" label was applied to this issue. |
@femkreations Please assign me to this issue. Thanks. |
Thank you for volunteering @cgarofalo |
Hello @cgarofalo just checking in for how you are getting on with this update. Thanks so much. |
@abhansnuk I'm still working on it. I've got a massive markdown document, as well as taking new screenshots. There are also videos. I'm continuing to work on it today. |
@abhansnuk, here is the write-up in markdown: Social Icons BlockThe Social Icons block allows you to add icons linking to your social media profiles or sites. This helps to increase the visibility of your social media profiles and drive traffic to them. [social_icons_block.png] How to add Social Icons block
You can also type [add_social_icons_block.png]
[add_social_icons.png] Detailed instructions on adding blocks How to add social icons and links
[search_social_icons.png]
[searchbox_social_icons.png]
[social_icons_url_input.png]
Note: When adding a Mail icon, you only need to type the email address. WordPress will automatically create a link that will open a new email screen in an email client when clicked on. Available social media icons
Block toolbarEach block has its own block-specific controls that allow you to manipulate the block right in the editor. The Social Icons block has two toolbars. One is the parent toolbar that appears when you select the Social Icons block. The other toolbar appears when you click on the individual social icons in the block. The block toolbar for the Social Icons blockThe Social Icons block toolbar has five buttons: [social_icons_toolbar.png] Transform toYou can transform the Social Icons block into a Group or Columns. You can also transform the style of the Social Icons block. Three styles are available: Default, Logos only, and Pill Shape. [social_icons_tranform_to.png] Drag Icon[social_icon_toolbar_drag.png] To drag and drop the block to a new location on the page template, click and hold the rectangle of dots, then drag to the new location. The blue separator line indicates where the block will be placed. Release the left mouse button when you find the new location to place the block. Move handles[social_icon_toolbar_move_handles.png] The up and down arrow icons can be used to move a block up and down on the page. Get more information about moving a block within the editor. Change items justification[social_icon_toolbar_justification.png] The change items justification tool lets you change the horizontal placement of the items inside the Social Icons block. There are four options to choose from:
Change alignment[social_icon_toolbar_alignment.png] The change alignment tool allows you to change the alignment of the social icons in the block. Here are the options available:
Size[social_icon_toolbar_size.png] You can change the size of the icons by choosing one of the four preset icon sizes:
More optionssocial_icons_sizes.mp4[social_icons_sizes.mp4] These controls allow you to copy, duplicate, and edit your block as HTML. Read about these and other settings. The block toolbar for the individual social iconsThe toolbar that appears when you press on the individual icons has four buttons: [social_icon_toolbar_individual_icon.png] Select Social Icons[social_icon_toolbar_individual_icon_selected.png] This will take you to the parent Social Icons block toolbar. You will have the option to drag, move, and change item justification and alignment. Each social icon toolbar also has more options explained above. [social_icon_toolbar_individual_icon_more_options] Block SettingsEvery block has specific options in the editor sidebar besides those found in the block toolbar. If you do not see the sidebar, click the ‘sidebar’ icon. [social_icons_block_settings.png] There are two different sets of Block settings for the Social Icons block.
The block settings for the Social Icons blockWhen you select the Social Icons block, you will see the following settings in the sidebar. [social_icons_sidebar_block_options.png] Layout settingsWith Layout settings, you can add justification to the social icons within the Social Icons block.
You can also change the orientation of the social icons to horizontal or stack them vertically, one below the other, if you have multiple social icons within the Social Icons block. Allow to wrap to multiple lines toggle button lets you display the social icons in multiple lines when needed. Link settingsOpen links in a new tab: Using the toggle switch, you control whether or not the linked profile will open in a new browser tab. Show labels: Using this toggle switch, you can show or hide the labels for the social icons. [social_icon_with_label.png] Advanced settings[social_icons_advanced_tab_with_css_class.png] The HTML Anchor is a helpful tool for creating page jumps. If you toggle the block to its HTML view, you’ll see that the HTML Anchor input is added as a CSS ID to the heading tag. You can also see the CSS class in the block's HTML. The advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and style the block as you see fit. Based on which style you choose for the Social Icons block in the Styles settings, WordPress automatically adds a CSS class to the Social Icons block in the Advanced settings panel under Additional CSS class(es). Styles settings[social_icons_sidebar_block_style_options.png] The Styles settings allow you to change the style of the icons in the block. You can choose among three styles: Default, Logos only, and Pill shape. Hover over the Styles buttons to get a preview of the styles. social_icons_styles.mp4[social_icons_styles.mp4] Color settingsDefault icons have their respective brand colors. With the Color settings, you can change the background and foreground color for all icons in the block to match your website branding. Pick a color from the suggestions, or add a custom color using the color picker or by adding a color code. [social_icons_color_styles_sidebar.png] Alpha filterClicking on the selected color allows you to set the alpha filter, which creates a certain level of color transparency. [social_icons_alpha_filter.png] social_icons_alpha_filter.mp4[social_icons_alpha_filter.mp4] Background colorBesides color settings for individual icons, it is possible to set the background color for the entire Social icons block. [social_icons_background_color.mp4] social_icons_background_color.mp4See this guide for more information about changing colors. Dimension settingsDimension sliders control how groups of blocks are placed alongside one another by changing the values for padding, margin, and other dimensions. Click the settings icon to enter custom dimensions. [social_icons_dimentions.png] Learn more about dimension controls. The block settings for individual social iconsWhen you click on the individual social icons in the Social Icons block, you get a different set of Block settings in the sidebar. Link labelIn the Social Icon sidebar settings, you can add a Link label. The label helps screen reader users understand the context of the link. AdvancedLink relA new customizable “rel” attribute for the Social Icons block addresses the need to claim ownership of your WordPress sites on social networks. To achieve this, these social networks require users to set a link back to their URL with the Aditional CSS classesThe advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and style the block as you see fit. Change logUpdate 2023-11-15
|
Thank you @cgarofalo for all your efforts on this, and replying to the general message on all tickets on the progress check. Winstina may also have some input on this task as trying to find her comments and join the two up - waiting to confirm if this is the one she has been working on too. To other reviewers, please do not move this to done for now. I have messaged Winstina on Slack too so we can incorporate her work too. |
In the meantime, @cgarofalo do you have access to the HelpHub CMS itself? |
@abhansnuk I do not. |
Article: https://wordpress.org/documentation/article/social-icons/
Updates for 6.4
Reference
General
The text was updated successfully, but these errors were encountered: