• Resolved codenoob

    (@codenoob)


    Hi, I looked around the files to find a way to fix these issues, but didnt find anything. Maybe I missed something or am not getting it right. I need to know how do I fix the wording for random images. Like right now it says random photos or images. How do I change that to something else I want it to say? And At the top as a page there is the home page. How do I capitilize the “H” in home? Im using the andreas04 theme from this website: https://aukerman.org/wordpress/design
    Also, how would I make more than just 2 photos appear on that page? Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • To change the world “home”: Find the file header.php and open it in a text editor (such as notepad etc.) and find the text “home” in a line about 4 lines up from the bottom. Change that to make it however you want it.

    To change where it says “random images”: Find the file sidebar.php and open it in any text editor. Find this line near the top:
    <h2>Random Photos</h2>
    Change the “random photos” text to whatever you want it to say.

    To add more random photos: Find these lines just under the previous lines in your sidebar.php file:
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/randomimages/rotate.php” alt=”” width=”48%” />
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/randomimages/random.php” alt=”” width=”48%” />

    Copy and paste so that you as many of these lines as you want photos, so right now there is two lines there, if you want 4 photos you would add two more lines. If you want the images to be the same size they are now, just add extra lines as is and I believe they will continue to line up in rows undernieth eachother, so 4 photos would be two lines of two photos each. If you want them in the same line you would set the width so that they will all equal a little less than 100% so for 4 images in 1 row, you would have 4 lines like: <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/randomimages/random.php” alt=”” width=”23%” />

    Adding the extra images might take a little more code to make look just right so try this and let me know if you need more help.

    @faustina: tip: Put code in between backticks see the bottom of this page for what a backtick ` looks like!)

    lol yeah, I changed what I typed in that line, the rest of the code worked correctly I think.

    Thread Starter codenoob

    (@codenoob)

    Hi, ok everything worked good. Some stuff I didnt use because I dont need it now, but ill have this reference to use sometime. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Random photos and Capitilizing a word problem! please help me.’ is closed to new replies.