Suggest how to get parent site name from subsite name from another root using umbraco.
For eg.
Assume that from search page i need to get name of the subsite name and parent site name like below:
- Subsite1 - Home
- Overview - Home
- Subsite1 - Parent2
- Subsite2 - Parent4
What i have tried:
please suggest your logics. Thanks in advance.