exclude current project for project index
-
Hi! I've added a classic "Related projects" list on each of my project pages through the Project Index feature that will display other projects within the same tags. It functions as an easy way to navigate to other projects in the same theme without having to start over from the homepage.
However, when doing this, the current project page you're on is always displayed on the list as well, which is a bit redundant since you're already on the page, and theoretically you would be stuck in a loop if you click it.
My thought is, would it not be more logic to have the current project excluded from the Project Index? That way navigation to other projects would be much more clear. Alternativly, the feature could be reversed, so you would click "Include current page" in the Index feature instead.
-
when u go to lay options → Hide current Project from Thumbnailgrid
this setting disables this for the thumbnailgrid. i will make it work for the projectindex element too with the next update
-
you can use this css:
.lay-project-index-current-project.lay-projectindex-row{ display: none!important; }
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it