Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress Conditional PHP Includes

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #28900
    gofstawerks
    Member

    So I was trying to use conditional php includes to customize an existing WordPress Template I just bought.
    I know nothing about PHP, however I’ve been trying to search and find answers as a go along. Something that I have not been able to figure out is how to do a conditional PHP Include. Everytime I try, I get a blank white page :? . Heres what I tried and my source. I also posted this in the PHP section, didn’t know which place would be the more relevant section to post it in.
    The source code from – http://codex.wordpress.org/Category_Templates

    Code:

    This is the text to describe category A

    This is the text to describe category B

    This is some generic text to describe all other category pages,
    I could be left blank

    what I turned it into

    Code:

    ID); ?>


    Thanks in advance and sorry if it is a stupid question.

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.