Skip Navigation

[Closed] Relationships Not Appearing on Frontend

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 3 replies, has 1 voice.

Last updated by Christopher Amirian 1 month, 1 week ago.

Assisted by: Christopher Amirian.

Author
Posts
#2807223

We use "Relationships" to connect "Universities" with "Degree Programs".

In few cases, not all, few degree programs doesn't appear on the front-end although everything on the backend is fine.

e.g. connection of "Doctor of Physiotherapy (DPT)" degree program with "Ibadat International University, Islamabad" university.

Tried everything but couldn't sort out.

Please advise.

#2807301

Christopher Amirian
Supporter

Languages: English (English )

Hi,

As I do not have the details for the relationship, I suggest that you do the general tests below:

Check the issue on a minimal installation

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Toolset and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

Verify the Relationship Setup

Ensure that the relationship between "Universities" and "Degree Programs" is correctly established:

Relationship Type: Confirm whether it's a one-to-many or many-to-many relationship, depending on your requirements.​

Connection: Navigate to the specific "Degree Program" (e.g., "Doctor of Physiotherapy (DPT)") in the backend and verify that it's connected to "Ibadat International University, Islamabad."​

Intermediary Post: If you're using a many-to-many relationship with an intermediary post, ensure that the intermediary post is published and correctly links the two entities.

Check the View Configuration

Review the View responsible for displaying Degree Programs:

Query Filters: Ensure that the View is set to display related "Degree Programs" for a given "University." If you're using a relationship filter, confirm that it's correctly configured.​

Post Status: Verify that the View includes posts with the appropriate status (e.g., "Published").​

Pagination and Limits: Check if there are any pagination settings or limits that might restrict the number of displayed items.

Inspect Post Statuses

Ensure that the "Degree Program" posts are published:​

Navigate to the "Degree Programs" post type in the backend.​

Confirm that the specific programs (e.g., "Doctor of Physiotherapy (DPT)") have the status set to "Published."​

Unpublished or draft posts won't appear on the front-end.

Review Access Control Settings

If you're using Toolset Access or another access control plugin:​

Ensure that the current user role has permission to view the "Degree Programs" post type.​

Check if there are any content restrictions based on user roles or other criteria.

Examine Conditional Display Logic

If you're using conditional blocks or shortcodes to display content:​
aglaw.psu.edu

Review the conditions to ensure they don't inadvertently exclude certain "Degree Programs."​

Test by temporarily removing or modifying conditions to see if the missing programs appear.

Test with a Simplified View

To isolate the issue:​

Create a new View that lists all "Degree Programs" without any filters or conditions.​

Place this View on a test page to see if the missing programs appear.​

If they do, the issue likely lies within the original View's configuration

---------

Those are all the points that I could think of that might cause the issue.

Thanks.

#2807374

Trust you me, I've done everything that you said but it didn't work out. Could you please look into it yourself? I'd be grateful.

#2807487

Christopher Amirian
Supporter

Languages: English (English )

Hi,

I will need a copy/staging version of the website to be able to do troubleshooting. It is not safe to change anything on a live website.

Please set the next reply a private and provide the login information for the copy of the website

Thanks.

The topic ‘[Closed] Relationships Not Appearing on Frontend’ is closed to new replies.