Skip to content

Add LinkedIn profile type option for social settings#76

Open
mahmoudnasser1561 wants to merge 1 commit intowagtail:mainfrom
mahmoudnasser1561:fix/linkedin-profile-type
Open

Add LinkedIn profile type option for social settings#76
mahmoudnasser1561 wants to merge 1 commit intowagtail:mainfrom
mahmoudnasser1561:fix/linkedin-profile-type

Conversation

@mahmoudnasser1561
Copy link

Summary

Fixes #63

The LinkedIn footer link was hardcoded to linkedin.com/company/..., which only works for company pages.
This change adds an admin-selectable LinkedIn profile type so sites can use either:

  • linkedin.com/company/<handle>
  • linkedin.com/in/<handle>

Changes

  • Added linkedin_profile_type to SocialMediaSettings with choices:
    • company (default)
    • in
  • Updated footer LinkedIn URL to use the selected profile type.
  • Updated template initial migration (project_name/utils/migrations/0001_initial.py) to include the new field.
  • Updated demo fixture entry for utils.socialmediasettings with "linkedin_profile_type": "company".
Screenshot from 2026-02-25 00-41-50

@mahmoudnasser1561
Copy link
Author

mahmoudnasser1561 commented Feb 24, 2026

@thibaudcolas
could you please take a look ?
I appreciate your feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LinkedIn URL Structure Limitation

1 participant