• Resolved ELAN42///

    (@nokao)


    Hi…

    In the loop, I have a “Filed Under <?php the_category(‘, ‘); ?>”

    But that produce output also for the PAGES…

    Also, that function displays an output itself and do not returns a string to concatenate with other text.

    Someone have an example that succesfully exludes ONLY pages? (for example a template that displays POSTS in it’s code for me must show the “filed into” string).

    Also, how I do I work with that functions that shows strings instead of giving them to me?

Viewing 1 replies (of 1 total)
  • 1. See Template_Hierarchy. The short answer is: make a page.php template file (e.g. saving your index as page.php) and edit it as you like.

    2. Someone else might know the answer for the string question…

Viewing 1 replies (of 1 total)
  • The topic ‘into-the-loop “filed under” for PAGES’ is closed to new replies.