Shawdowshelf where do i put the following code?
Do I put it in my single. php
Where at in my theme i place that code? Also do I have to place the other code you posted above.
I am trying to do the same thing Monkus is doing. I want to post only a couple of paragraphs of the original article. I do not want to post the whole article on my blog.
$excludeArray = array(1,2,3,4,5,6,7,8,9,10);//array of Category IDs containing your WPeMatico Auto Posts
$category = get_the_category();
$iCatId = $category[0]->cat_ID;
if(in_array($iCatId,$excludeArray)){
echo custom_trim_excerpt(110);// echo the trimmed text
} else {
the_content();// etc
}