Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter cheriejd

    (@cheriejd)

    I did nothing to change the paths in the header.php. This is a standard install of 2.7.1 with plugins.

    so I let the program generate those paths. I did not generate them myself.

    hopefully this will help.

    https://www.bytesforall.com/wordpress-test/5/.

    You can easily put your own image(s) on the theme. Upload a ~1300 pixel wide and ~50-300 pixel tall headerimage.jpg. It can be less wide if you do not care about visitors with 1280 pixel screens.

    You can add your own logo icon, too. (See that orange image in front of the blog title?) Upload a logosymbol.gif with the size of 50×50 pixels and a white background, and it’ll show there instead of the current one.

    Both images must be uploaded to /…your…wordpress…installation../wp-content/themes/atahualpa/images/

    Thread Starter cheriejd

    (@cheriejd)

    I got it to work with the excerpt by changing the permalink structure, mine was bad. I am now using %postname%.

    Still doesn’t work with the_content, but does work with custom excerpts.

    Thread Starter cheriejd

    (@cheriejd)

    I am not worried about positioning at this point. I have it inline in the sidebar. It will go in a div when I have something to work with. I was just testing a page to see if it would show up. It does not and it eliminates the sidebar. I want to put it in a sidebar.

    Featured Release is a page. It is called featured-release.

    I am not sure where to go from here. Any help would be appreciated.

    Thread Starter cheriejd

    (@cheriejd)

    Style.css validates
    2c-r.css validates

    IE browser cache emptied (twice)

    Not using anything other than the sandbox theme, so no browser detect, no IE specific css.

    This only seems to happen when I am using 2c-r.css. I can find nothing about problems on this forum or the Sandbox forums.

    I am flumoxed.

    Forum: Themes and Templates
    In reply to: header.php

    You need to move the files to your directory. Expand the zip and start dragging.

    I usually drag the files to my current local directory and then ftp the files to my server.

    Be careful, especially in the folders. I often open each one of those and move the files in apart from the folder. So in the wp-content folder, I open up that folder, then I open the plug ins folder. I move the askimet and hello.php from the upgrade into the plug ins folder. I follow the same for the themes. If you move the whole wp-content folder you would overwrite any plug ins or special themes.

    Once you have done all this, sync up the files with your live server. Sign into the admin area. You will most likely see a huge UPGRADE link, click it. You should be good to go.

    as a side: always keep around a copy of the last WordPress version you had working. I had to drop back to 2.3.3 a couple times during the 2.5 upgrade due to incompatibilities with themes or plug ins. I just have a zip of that version sitting in a word press folder on a hard drive with all of my plug in zips.

    Hope this helps.

    Thread Starter cheriejd

    (@cheriejd)

    if anyone from the plug in had actually replied to anything on their site, I would have thought about doing that also.

    Thread Starter cheriejd

    (@cheriejd)

    now that I have that working, is there a way to supply a single background for all the child pages?

    I am assuming it would go in this line
    <?php if ( is_page() || is_welcome() ){ ?>
    But I am not sure how to refer to the child pages and can’t seem to find anything in the docs.

    Thread Starter cheriejd

    (@cheriejd)

    thank you.

    Now it reads
    <?php if ( is_page() || is_welcome() ){ ?>
    <body class=”page-<?php global $post; echo $post->post_name; ?>”>
    <?php }else{ ?>
    <body>
    <?php } ?>
    in the header.

    And the CSS is
    .page-home {
    background: #f8f8ff url(images/bg/home.jpg) no-repeat scroll 5px 0px;
    }

    everything is where it should be.

    Woo Hoo

    And thank you for all your help.

    Thread Starter cheriejd

    (@cheriejd)

    The slug info works great for every page except for the first one.

    It is called Welcome.

    CSS
    .page-welcome {
    background: #f8f8ff url(images/bg/home.jpg) no-repeat scroll 5px 0px;
    }

    Any thoughts? It is set up as a page, and pointed to under Options > Reading to Front Page > Welcome.

    And thanks for the info. Pretty deep system once you get exploring.

    please consider sharing the more elegant way

    I checked out the Template Tags/the ID information.

    So this needs to go in the loop. I am using this only on pages. So I have put this up near the top of the page info.

    <?php get_sidebar(); ?>
    <div id=”content” class=”narrowcolumn”>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class=”post” id=”post-<?php the_ID(); ?>”>

    <?php if (is_page()){ ?>
    <rap id=”page-<?php the_ID(); ?>”>
    <?php }else{ ?>
    <div id=”rap”>
    <?php } ?>

    <div class=”postheader”>

    I am not getting any background.

    I added the rap div at the top of my page (<div id=”rap”>).

    CSS now looks like this:
    #rap.page-12{
    background: #f8f8ff url(images/bg/black-smile.jpg) no-repeat scroll 5px 0px;
    }

    thoughts, suggestions, HeLP?

    thanks

    I am attempting to also change the background on various pages.

    I am using the corrected code
    </head>

    <?php if (is_page()){ ?>
    <body class=”page-<?php the_ID(); ?>”>
    <?php }else{ ?>
    <body>
    <?php } ?>

    <div id=”page”>

    My css looks like
    body.page-13 {
    background: #f8f8ff url(images/bg/home.jpg) no-repeat scroll 5px 0px;
    margin: 0;
    padding: 0;
    }

    I am getting no backgrounds.

    I am using a kubrick based template.

    Any idea what I may be doing wrong?

    Thread Starter cheriejd

    (@cheriejd)

    ok, WHERE are they handled? The only place I am seeing a database connection is in the config.php file.

    Usually I place my database info in a file and then connect to it through a php call on a page above the head info.

    I don’t need this on all pages, so putting it in the header.php seems like overkill.

    Once I have made the connection, dropping everything into the specific page should be simple (at least according to all I have read).

Viewing 15 replies - 1 through 15 (of 16 total)