• Resolved elleadventure

    (@elleadventure)


    I wanted complete control over the look and feel of my site, so I’ve learned to code in HTML and CSS (hooray!)

    I’ve built some pages in my code editor that I really love, but I have NO idea how to publish them on WordPress. I’m sure there’s a guide around here somewhere, but there are like a million topics on here and I have no idea where to look.

    Please help!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hey, Elle!

    Apples and oranges. Although you can copy some of the content from the pages to a WordPress page (text area), you won’t be able to copy the HTML for the menu’s, etc., or that sort of stuff. Best to just start your site from scratch in WordPress, then add whatever content you want from your pages.

    Thread Starter elleadventure

    (@elleadventure)

    Thanks! Silly question, I’m sure… but where do I go to start a site from scratch here? I have a theme installed, but I’m not loving it. Do I just uninstall any themes? Or? I’m pretty new to WordPress, but I have the skills to design. I’m just not sure how to put the two together πŸ™‚

    Hello,

    You can either search for another theme in Appearance > Themes on your WordPress Admin Area or you can make your own custom made theme πŸ™‚

    THIS SITE help me make my own theme from scratch. It’s only a basic tutorial, but if you know your work around, you’ll be able to glue up all together.

    Have Fun!

    Thread Starter elleadventure

    (@elleadventure)

    I will check this out. Thank you so much!!

    Thread Starter elleadventure

    (@elleadventure)

    One more question because PHP is kind of new to me. I transferred my code from my code editor into Notepad. Do I just NAME the file “index.php” or is PHP the file type? Notepad saves everything as a txt file.

    Yes it will saved as .txt file, i dunno if you can name it as index.php and won’t save as .txt file.

    I don’t know what Adobe Program can open it but there is one among them. Either way, you can do and try this to the file manager of the host site you’re using.

    Thread Starter elleadventure

    (@elleadventure)

    Okay, I’m going to play around in my host site for a little bit and see what I come up with. Your advice is wonderful and has saved me some heartache. I was really struggling to find a decent tutorial before πŸ™‚ Thank you!

    yep, i was in your situation before and have no idea about creating my own theme, glad there’s something like that.

    You’re Welcome. Have fun πŸ™‚

    elleadventure, one more thing..

    on that tutorial there’s no function.php so to help you out(it takes me more than 2 days to figure this out lol)

    <?php
    function register_my_menus() {
      register_nav_menus(
        array(
          'header-menu' => __( 'Header Menu' ),
          'extra-menu' => __( 'Extra Menu' )
        )
      );
    }
    add_action( 'init', 'register_my_menus' );
    ?>

    on function.php put that.

    <div id="navmenu">
    				<ul>
    					<?php wp_nav_menu( array( 'theme_location' => 'header-menu', 'container_class' => 'header_menu_class' ) ); ?>
    				</ul>
            		</div>

    ^ and something like this can help you on displaying your menu. Add this on header.php

    <?php
    wp_head();
    ?>

    ^ something like this will help you function all of your plugins(this is not included on the tutorial too). Header.php too.

    This should give you a headstart. Have fun

    Thread Starter elleadventure

    (@elleadventure)

    Wonderful! I really appreciate it!

    Thread Starter elleadventure

    (@elleadventure)

    I just wanted to let you know that I figured it out and am happily uploading my design! πŸ˜€ Thanks again!

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘HTML site’ is closed to new replies.