Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter shepme

    (@shepme)

    Good Morning, s_ha_dum;
    I have wordpress running locally on my pc until I am comfortable enough with it to upload to a server.
    I am so confused with this stuff it’s crazy. I have been designing complex site for the past 3 years using an html page a css page and a bit of javascript here and there. I am lost with this so I appreciate your help!

    I have created 3 pages in the create page option.
    1-home
    2-about
    3-contact

    And one blog page.

    If I view the html page it looks like the home page and blog page have the same url. I don’t know how to fix it. If I use the dashboard to set the home page as the main opening page, the home link and blog link are connected. I have posted the header.php HERE as you requested.
    Shepard

    Thread Starter shepme

    (@shepme)

    Hello;
    I know how to review the source!
    If I review the <a href> for my blog link and my home link in the source they are the same.
    If I could access the html page I could have it resolved in 30 seconds. My problem is that I know nothing of all of this PHP stuff. When I go into my header.php, I see this

    [ Moderator note: please wrap raw HTML in the backtick character or use the code button. ]

    </a><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>

    Where do I enter the page.htm??

    Shep

    Thread Starter shepme

    (@shepme)

    You are correct, Sorry. I want everyone to get the benifit of what I learn here.
    I have posted the functions.php here as per your request.
    Thank again
    Shep

    Thread Starter shepme

    (@shepme)

    David,Sorry I have used your code but am still unable to use different header images (set as featured iamge) on different pages?
    I went on your website that is listed on your youtube video but could not find a contact link. I was going to email you my theme folder so you could check it.
    Shep

    Thread Starter shepme

    (@shepme)

    Thanks David;
    That sound amazing.
    I am going to take your course and let you know how it goes. That is very kind of you.
    To answer you question, yes, I do have a functions.php folder.
    I am going to try and add the code that you provided above inside of that folder and see what happens.
    It must be something simple (if you know how). If I leave the functions.php in my theme folder, I get the correct size for my header image 980×224 but can not set any images as featured images on different pages. I am stuck with whatever header I have chosen for ALL pages.
    If I remove the functions.php from the themes folder,the size is not correct, it reverts back to the default size but I am now able to set featured images as my header so I could have a different image as the header on each page?
    FYI all images that I am trying to set as featured images are 980×224.
    Shep

    Thread Starter shepme

    (@shepme)

    Good Day, Muchogaucho:
    Yes, I have found the same thing with the “creating child themes” using Lynda.com. Many of the steps Morten (the instructor) shows the viewer to do on a php document is different than the actual php document that you open so it is a bit confusing were to place certain things. It take a couple of tries.
    I have been designing websites for the past 2 or 3 years and have always wanted to learn how to create sites in wordpress that the person whom you are building it for could go in and alter the pages without getting into the html/css.
    I was disappointed to learn that to customize wordpress you have to know PHP. I thought there would be a css page and an html page for each page and you build it using those two things with maybe some Javascript thrown in.
    It appears if I want to pursue the wordpress thing I must first learn PHP.
    What are your feelings?
    Shep

    Thread Starter shepme

    (@shepme)

    Hi David;
    Thanks for the input. I will try what you have suggested.
    Can you please advise exactly were I place this inside of the header.php.
    Thanks
    Shepard

    Thread Starter shepme

    (@shepme)

    Good Morning Esmi;
    First of all I want to thank you for working with me. I truly do appreciate it.
    Yes the header images that I am trying to use as a featured image on a page is 980 X 224.
    I spent another 3 or 4 hours last night trying to figure it out with no luck.
    Move the functions.php out of the themes folder and you can have a different header picture (set as featured image) on each page but the size is wrong. Put the functions.php back into the themes folder and the size is perfect but you can no longer change images. You are stuck with the single header image that you gave chosen in headers.

    Thread Starter shepme

    (@shepme)

    No Dice?

    I created a new functions.php and added the following per your instructions:

    <?php
    add_filter( 'twentyten_header_image_width', 'my_header_width' );
    add_filter( 'twentyten_header_image_height', 'my_header_height' );
    function my_header_width($width) {
        $width = 980;
        return $width;
    }
    function my_header_height($height) {
        $height = 224;
        return $height;
    }
    ?>

    The size is good but am still unable to change header images using the featured image option?

    Shep

    Thread Starter shepme

    (@shepme)

    No sorry my error I have the code @import url(‘../twentyten/style.css’); at the top of my style sheet. Then below it I have all of the styles that I want to change. I don’t think that is my issue. If I drag my functions.php out of my theme folder and on to my desktop it works perfect. I could create a different image for each pages header but the size is no good. If I drag functions.php back, the size is good but I am stuck with whatever I have chosen for my header image and can not assign a featured image on each page?
    Thanks
    sShep

    Thread Starter shepme

    (@shepme)

    Thank for the quick reply;
    I have followed the video from Lynda.com but will not work.
    Here is what is in my function.php now. Could you advise on what I need to add or remove. I have been at this literally all day and am getting no where.
    I really appreciate your help.

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

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