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.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.