I have the following code added to my category page template, pulling in content from a static WordPress page (373) ahead of the category loop. When a visitor navigates to category page 2 and beyond, I only want to show the posts pulled from the loop but not include the content from the static wordpress page. Can you suggest a conditional statement that will accomplish this?
$textsource = 373;
$textholder = get_post($textsource);
echo apply_filters('the_content', $textholder->post_content);
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!