Skip to content

fix: include directory slug in author profile links - #2957

Open
syedgalib wants to merge 1 commit into
sovware:developmentfrom
syedgalib:fix/author-profile-link
Open

fix: include directory slug in author profile links#2957
syedgalib wants to merge 1 commit into
sovware:developmentfrom
syedgalib:fix/author-profile-link

Conversation

@syedgalib

@syedgalib syedgalib commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Security fix
  • Improvement
  • New Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Text changes
  • Other... Please describe:

Description

The author profile link in the Author Info widget did not include the current listing directory type slug, so multi-directory author profile pages could open without the required directory context.

This PR resolves the listing directory type slug from the current listing and passes it to the author profile permalink generator for both the Author Info widget and the single listing Author Info section.

How to Test

  1. Enable multi-directory and open a single listing for a directory type such as business.
  2. Click the View Profile link in the Author Info widget or single listing Author Info section.
  3. Confirm the author profile URL includes the directory type slug, for example /author-profile/admin/directory/business/.

Any linked issues

Fixes #

Checklist

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.

1 participant