Forums

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

Home Forums Back End questiion about php function

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #26882
    imeera
    Member

    Hello everybody,
    This is my first time to post a question on this forum. in the screen cast #73: Building a Website (3 of 3): WordPress Theme.
    can I use the php function to load my style sheet instant linking it in html page. I hope you get my point. I would be appreciate with any help.
    Thank you…
    imeera

    #66926
    AshtonSanders
    Participant

    Which PHP function?

    #66942
    imeera
    Member

    Thank you AshtonSanders,
    I’m very new to php…. and thing if there is a php function to load CSS to multiple pages instant to linking the Style Sheet every single page.

    #66950
    AshtonSanders
    Participant

    Hi imeera,

    no, PHP doesn’t have a funciton that will load CSS on every page of your website.

    What is sounds like you’re looking for is how to make a PHP template… ? If so: I create a file called "header.php" and inside that file I have the header of my website (starting with <!DOCTYPE ) Then I include that file into the top of every page (click for more info).

    That way, I can change the CSS file in my header.php and it changes every page on my website.

    #66983
    imeera
    Member

    Hi AshtonSanders,
    Thanks a lot, Its sound good to me. It will help me.
    thanks a lot.

    #56732
    stonemethew
    Member

    It is very easy tom convert the wordpress into the PHP.We have to use some special function to convert the wordpress into the PHP.And taking another templates.

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