Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter marcweissdesign

    (@marcweissdesign)

    no ive designed them separately through dreamweaver as html files and then saved them as php files within a custom theme folder.

    i copy/ pasted my relevant code into the header and footer php pages.

    Thread Starter marcweissdesign

    (@marcweissdesign)

    what ive done is create a theme folder with my own header.php index.php functions.php style.css files.

    The header and footer php files will be generic throughout my template i want to call them within the different pages i create. <?php get_header();?> etc.

    But i need to add hard code to certain items in my html such as my navigation in order to link them to these other pages.

    So if i have my index file with its own template name set to my front static page. When its loaded and i click on any other page, it needs to link to that static page which i have created.

    (basically what a normal website would do, where you link your navigation etc to your other html files so that it loads those pages when a button is clicked.)

    Sorry if it sounds complicated, and thanks for the replies.

    Thread Starter marcweissdesign

    (@marcweissdesign)

    ok i see. so how would i go about linking navigation via html to other php pages? im using wordpress as a cms…so all my pages will be html which i made.

    Is there a way i can input hard code to link to other php pages? or would i have to add template names to all my pages and try and link to their permalink id?

    Thanks

    Thread Starter marcweissdesign

    (@marcweissdesign)

    i have done but whenever i seem to do it it doesnt work lol. I am a bit of a newbie with wordpress but need to learn it anyway. Would you know what the full script would be to include a js file using wp_enqueue?

    I have tried a few snippets but they didnt seem to work, and the link is a little confusing. thanks for replying

    Thread Starter marcweissdesign

    (@marcweissdesign)

    I am hosting locally using xampp.

    this is my full directory:

    http://localhost:8080/wordpress/wp-content/themes/twentyelevenchild/Images/headers/image.gif

    This full link didnt work either.

    My css files are within a CSS folder which is within my Theme folder.

    Also within my theme folder i have an Images folder (capital I) within that i have a headers folder and within that is my image.

    Theme>

    CSS> style.css Images> headers> image.gif.

    So i have written this in my css file:

    html, body {background:url(../Images/headers/bground_grey.gif) repeat; margin:0; padding:0;}…… but its still not working. But if i change it to a solid colour it works. Any ideas? Thanks for replying

    Thread Starter marcweissdesign

    (@marcweissdesign)

    ive managed to link to my css files now…but for some reason the background image doesnt show?

    the url is correct far as i cant tell

    html, body {background:url (Images/headers/image.gif) repeat;}

Viewing 6 replies - 16 through 21 (of 21 total)