Closed ndegruchy closed 5 years ago
Thanks for the message.
Do you mean the tag and type archives showing the list of portfolio projects?
This should work, but if you are swapping from Jetpack Portfolio to Toolbelt Portfolio you will need to convert existing posts.
You can do this on the Tools > Toolbelt page (and you can switch back if you want to go back to Jetpack).
Does that help?
So, I initially did use the conversion tool to take the Jetpack Portfolios and convert them to Toolbelt ones. It copied the items I had as well as the Project Type and Tags.
When visiting any of the project type or tag pages, they don't show anything, and just redirect to the homepage.
For instance https://degruchy.org/project-type/website/
should show all the websites in my portfolio, but it just directs back to the home page. The individual portfolio pages work, though. I've worked around the problem by adding them as sub-menu items.
What kind of information do you need from me? I have only a small collection of plugins, nothing that I can see that would break this functionality.
Hi Nathan - I've just gone to the url you posted and it's displaying a list of the projects for me at the moment. https://degruchy.org/project-type/website/
Could it have been cached perhaps? Does it still redirect if you view the page in an incognito browser? When you close and reopen the browser?
I know redirects can cache even when the content changes so perhaps that's what has happened here and restarting the browser fixes the issue. Or perhaps there's something else happening that I need to work out.
If it still doesn't work then I will need to look deeper but hopefully it's ok now.
For reference I have been testing on my personal site and it's working fine: https://www.binarymoon.co.uk/project-type/game/
Oh - hang on. When you said it was redirecting I thought you literally meant redirecting, but it looks like it's loading the homepage content on the archive page.
That's not right.
So it looks like you're using the Atomic Blocks theme. Are you using a child theme or have you edited the theme at all?
Just tested it locally and it's working as expected but maybe there's something else going on.
I actually was able to fix this issue. I had to rebuild the permalink cache. I appreciate you taking a look at it with me.
Ah ha - I shall add some code to flush rewrite rules when changing the settings so that this shouldn't happen again.
Glad you worked it out!
When trying to view tag or category pages from the Portfolio tools, they just lead back to the homepage. With Jetpack's implementation, you were able to view Project Types and Tags as lists of their related posts.