Automattic / Automattic/jetpack

Contact Info Widget: add name and image attributes

Open
#8,106 11 comments 2 reactions 0 assignees View on GitHub
[Feature] Extra Sidebar Widgets [Pri] Low Customer Report [LEGACY] New Feature
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 14h
Merged PRs (30d)
790

Description

Related PR: #7850

#### Steps to reproduce the issue

1. Add a Contact Info Widget to your sidebar, and fill in all fields.
2. Use Google's testing tool, https://search.google.com/structured-data/testing-tool/u/0/ , to check the site URL.

You will receive the following warnings:
screen shot 2017-09-25 at 14 28 27

To solve this issue, we would need to:
1. Add the `name` attribute, maybe using a new widget field named "business name"
2. Add the `image` attribute by adding a new field allowing one to add a business logo to the widget.

Reported in 892360-hc

Contributor guide

Open the contributing guide

Research direction

Start by reviewing related PR #7850 and the Contact Info Widget implementation it targets, then reproduce the warnings with Google's structured-data testing tool using the steps in this issue. Done means the widget provides the requested business name and logo information and the testing tool no longer reports the listed name and image warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
content
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.