2.3, Categories (or lack thereof) Snoopy and CMS
-
Posted this in troubleshooting but since it’s a hack i guess it belongs here. Could use someone’s help, I am sure this is a simple change to my code but for the life of me I can’t get it sorted. Here’s the issue:
I use WordPress as a backend publishing tool for various sites (see https://www.naturopathy-uk.com/resources/resources-careers/ – Careers is a category in WP with posts in that category. In this instance I’m calling the whole category). The sites are just PHP and make the following call to pickup the category(ies) or post(s) where I designate them to appear:
CATEGORY
<?php
include “includes/snoopy.class.php”;
$snoopy = new Snoopy;$snoopy->fetch(“https://www.blahblah.com/blog/?cat=11”);
print $snoopy->results;?>
POST
<?php
include “includes/snoopy.class.php”;
$snoopy = new Snoopy;$snoopy->fetch(“https://www.blahblah.com/blog/?p=11”);
print $snoopy->results;?>
Now this worked fine in everything but 2.3. I upgraded and can now BROWSE, for example, https://www.blahblah.com/blog/?cat=11 (although it defaults to the SEF permalink whereas before it just kept the same string in the address bar), but can no longer call it into the actual page template.
I rolled WP back to 2.2.2. Now, can anyone tell me, instead of calling ?cat=11, what should I be calling? It ain’t ?term=11, that doesn’t work. Some bright spark must know this, I can post the template code if anyone’s interested.
Cheers,
– Rob
- The topic ‘2.3, Categories (or lack thereof) Snoopy and CMS’ is closed to new replies.