Category links not working
I found another issue. If you click on a category link from the category widget it takes you to a blank page. If you click on the category link on the blog page it takes you to the main page with all the posts except the breadcrumbs have the title of the category instead of the title of the blog. The link in the widget looks like this: https://ljsbooks.com/blog/literary-history-quotes. The link on the main page looks like this: https://ljsbooks.com/blog/category/literary-history-quotes.
Ahh it generates the wrong links indeed. Line 48 of
$recentPost->link = BeesBlog::GetBeesBlogLink('beesblog_category', ['cat_rewrite' => $recentPost->link_rewrite]);instead of
$recentPost->link = BeesBlog::GetBeesBlogLink('beesblog_post', ['blog_rewrite' => $recentPost->link_rewrite]);
@mdekker Thank you, I was just trying to figure it out and came here to see if there was an answer to my question yet. I will fix it.
@mdekker I got that fixed. But I have another question.
I currently have two categories with one post in each. If I click the link to the category shouldn’t it go to a page with just the post in that category?
Right now it returns a page with both posts. https://ljsbooks.com/blog/category/news and https://ljsbooks.com/blog/category/literary-history-quotes return the same page except the breadcrumbs are different.
Module has been updated!
@mdekker That fixed it thank you very much!