Snoopy and Category ID no longer works
-
All versions pre 2.3 I used this code to call a category or a post in a .php file (or view in a browser):
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/?post=11”);
print $snoopy->results;?>
All worked fine. From what I can see here 2.3 no longer uses ?cat=11 and ?post=11. What should I be calling? Changed this live and now trying to roll back as all posts and categories no longer showing! Need your help!
– Rob
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Snoopy and Category ID no longer works’ is closed to new replies.