A page link to category in K2 Theme
-
Ok, I know this is out there but I have searched and tried quite a few things and am clearly missing the boat. So I apologize for asking a question for which the answer is out there but I’m getting really frustrated.
I am helping a friend with his WordPress blog. https://www.bemoretraining.com/blog/
He has requested that he be able to basically run two blogs, separate but equal off of it. The first blog is the the one that is on the home page I linked to above. I was able to get him to agree to limit his posts to the category of News so I simply queried off of that. It does what I want it to do.
He wants the second blog to exist behind the link at the top of the page that says training. Once again he has agreed to limit his posts to a category called Workout. So all I really need to be able to do is have that link click over to the main index but with a different query filter on it.
I thought maybe I could just find the url for the archive of that catalog and insert it in the code but I can’t find the right piece of code. If someone could point out where on a K2 theme I can do that, it would probably solve my issue.
The second thought I had was to try and actually insert a version of the Main Index behind that link that would again filter for the second category. To do so I downloaded the CG-QuickPHP plugin from Chaitgear. My understanding is that if I just past in PHP code this plugin allows it to run for me, even if posted from a page or post link. I tried that only ever got scraps of code appearing on the page.If someone sees what I am missing or some approach that I have not yet considered, please fill me in. I’m about to be pulling my hair out here.
thanks for very much for your help and for letting me vent it a bit.
- The topic ‘A page link to category in K2 Theme’ is closed to new replies.