Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Fixing WordPress
    In reply to: Skinned Website
    Thread Starter Shar

    (@shar)

    I noticed that there are some other people who had this question. Well, here is the answer:

    1. Login to the dashboard, click options and make sure that the blog address is set to: https://www.yoursite.com/wordpress

    2. Put the blogheader include into your header.php file

    3. Put the loop, any comment code you need and your side bar into your index.php file

    4. Copy the contents of index.php to wordpress/index.php

    This worked perfectly for me. I’m not sure if it was necessary or not, but I also created a theme that uses only the bare necessities.

    Forum: Fixing WordPress
    In reply to: Skinned Website
    Thread Starter Shar

    (@shar)

    Fixed the line feed, but that wasn’t the problem! I checked the cookiecheck file and this is the only php in any of the headers:

    <?php $page = basename($_SERVER[‘QUERY_STRING’]);
    require(‘/home/distants/public_html/adagio/wordpress/wp-blog-header.php’);
    ?>

    Forum: Fixing WordPress
    In reply to: invalid xhtml

    After you login to wordpress, click presentation and select theme editor. Then, you can edit the main index template. However, this shouldn’t be necessary because WordPress content validates as xhtml 1.0 transitional. Are you sure that you’re using the correct Doctype?

    Forum: Fixing WordPress
    In reply to: Skinned Website
    Thread Starter Shar

    (@shar)

    I just realized that you can’t view the contents of cookiecheck.php! So here it is:

    <?
    $total_skins = 4;
    $default_skin = 4;

    if (isset($_REQUEST[‘newskin’])) {
    $newskin=(int)$_REQUEST[‘newskin’];
    if ( ($newskin<1) OR ($newskin>$total_skins) ) $newskin=$default_skin;
    } elseif (isset($_REQUEST[‘skin’])) {
    $newskin=(int)$_REQUEST[‘skin’];
    if ( ($newskin<1) OR ($newskin>$total_skins) ) $newskin=$default_skin;
    } else $newskin=$default_skin;

    $skin=$newskin;
    setcookie (‘skin’, “”, time() – 3600);
    setcookie(‘skin’,$newskin,time()+(86400*365),’/’);
    setcookie(‘skin’,$newskin,time()+(86400*365),’/’,’.distant-sea.net’);
    $skin=$newskin;

    $headervar = “/home/distants/public_html/adagio/nav/header”;
    $footervar = “/home/distants/public_html/adagio/nav/footer”;
    $extension = “.php”;
    ?>

    Thread Starter Shar

    (@shar)

    Yes it’s called comments.php. The actual comments page works just fine. The problem is that the page looks one way (skinned like the rest of my site) when you view the blog and another when you view the comments.

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