Excluding certain content/list

11 posts by 2 authors in: Forums > CMS Builder
Last Post: September 17, 2012   (RSS)

By gregThomas - September 17, 2012

Hi April.

I'm glad you've got it up and running! If you wanted to stop an additional blog title from displaying then I would change line 26 to look like this:

if(in_array("The Daily Post", $about['header:labels']) || in_array("Momsense", $about['header:labels']) ){ continue;}
This if statement checks if daily post or momsense appear in the header:labels array then it will skip the loop if it does appear.

Thanks

Greg
Greg Thomas







PHP Programmer - interactivetools.com