Member Offer
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Does Anyone Know About Wordpress Themes??

Discussion in 'Website Design Forum:' started by bamme, Jan 13, 2010.

  1. bamme

    bamme Senior Member

    I found this theme here: Free SEO WordPress Theme | Creative Studio WordPress Theme | SEO Agent
    that i've tried to install on my blog here:
    Im having a bit of trouble with it - it just looks like the layouts gone a bit wrong somewhere if you compare it to the demo on the download site.
    i posted on the guys blog but dont really want to hassle him again about it! unfortunately there is no documentation for it but it at a glance looks like itd be straigthforward to install..

    i previously had a few themes installed and changed some v slightly (eg just the header file), but have deactivated (not deleted though) the other themes..
    can anyone help?

    It looks as though three columns are repeating themselves down the page (this is from firebug, ive collapsed the content of each div to reduce code here but so you see what i mean):
    And I have no idea why that background is appearing there...
  2. Harry

    Harry Senior Member

    I'm on a super ****ty dongle connection at the mo so I can't take a poke around anywhere/anything. Golden rule though is don't use third party code. It can't be trusted/understood as much as your own can.
  3. bamme

    bamme Senior Member

    Thanks Harry - and yes i completely understand, but i needed to get this up.. i cant make wordpress themes yet! :S not like this one anyway!
  4. Harry

    Harry Senior Member

    Yeah, I guess my comment wasn't too helpful haha, sorry.
    Fraid I can't look at it either as I'm on a tiny netbook on a 3G connection :(
  5. bamme

    bamme Senior Member

    thats okay Harry. pretty embarrassed that its gone wrong to be honest :S
  6. Levi

    Levi Moderator Staff Member

    Note I'm not upto Harry's standards but I can poke around html easy enough :)

    Background - thats to do with the footer bit in the css I believe (it's the only bit with the background filename). You've got the repeat command in the code but it's not being told what to do so I assume its just repeating everywhere.
    #footer {	background:url(images/bottombg.jpg) [I][U][B][COLOR=DarkRed]repeat;[/COLOR][/B][/U][/I]	padding:10px;	font:14px "Trebuchet MS", Arial, Helvetica, sans-serif;	color:#fff;
    The columns in the blog text are down to the div id I believe as they're called <div id="col1"> (+ 2 and 3) when they should be something else - probably <div id="contents h1"> (+ 2 and 3)by the looks of the css.
  7. bamme

    bamme Senior Member

    Hi Levi

    Wow thanks so much have now been staring at this for hours and thinking there is no hope hah.

    Saw that background repeat you pointed out but after I saw the state of that theme I was too scared to touch haha, I'll give that a go thanks for the confidence :)
    Can i ask why they should be different to col1 (2 and 3) and changed to contents h1, contents h2 and contents h3? Dont quite understand!

    Youre welcome to look at my stylesheets or the php files if youd be okay to help me?

    Thanks so much!
  8. Levi

    Levi Moderator Staff Member

    already looked at the stylesheets :)

    the div id for the 3 columns higher up are col 1, 2 and 3 respectively and the relating css info in the stylesheet is what makes it into the 3 columns.

    The same div id's appear to have been used on the the blog post further down which is why its 3 columns.

    In the image below (hopefully big enough) the red bit is using the correct div id info while the green bit is using the same div id's as the columns higher up causing it to become 3 columns.

    The text on the blog post is there it's just dark brown and hidden by the background :)

    Hopefully that makes sense - It's easy for me to find and fix things but trying to explain it doesn't always come out too clearly :(

    edit: after digging out the original file with a preview it looks like it was actually copy and paste error now I've looked at it a bit more. The 3 columns had been copied with the 'post' text 3 times, I've editted the text file which should correct all but the brown background (backup yours first just in case :)). Sorry about the slight confusion but it should be ok now I hope.

    Attached Files:

  9. bamme

    bamme Senior Member

    hmm yeah i see what you mean by that but i cant understand whats doing it.. im not putting those columns there!

    Here is my php source code:

    <?php get_header(); ?>
    <div id="homeheader">
      <div id="left-column">
        <h1>Hi, We're Reaching More People</h1>
        <p>Dedicated bringing new music artists together, and bringing music lovers fresh new listening material! You'll find everything from the latest new r&b music release to new indie pop music, as well as advice from music producers and TV experts on anything from how to become famous to music copyright law, right here. Enjoy.</p>
        <p><span class="learnmore"><a href="#">Get Involved</a> </span></p>
        <!--BOF Featured Product/-->
      <div id="right-column">
        <h6>Hottest Topics</h6>
        <ul id="portfolio">
            <div class="imgholder"> <img src="<?php bloginfo('template_url'); ?>/images/ht1.jpg" width="172" height="155" alt="Beyonce Singing - New Female Music Artists Set for The Top" /></div>
            <div class="txtholder">
              <h3>Female Pop Music Artists</h3>
              <p>..are they set to dominate the music scene? We give you our thoughts. What do you think?</p>
              <span class="button-small"><a href="#">Read Article</a></span> <span class="button-small"><a href="">Insider Info</a></span> </div>
            <div class="imgholder"> <img src="<?php bloginfo('template_url'); ?>/images/ht2.jpg" width="172" height="155" alt="Absolutely Free Music Downloads - Do They Exist?" /></div>
            <div class="txtholder">
              <h3>Absolutely Free Music Downloads?</h3>
              <p>We give you a rundown of ways to find these for real, and how to spot a scam.</p>
              <span class="button-small"><a href="#">Read Article</a></span> <span class="button-small"><a href="">Insider Info</a></span> </div>
            <div class="imgholder"> <img src="<?php bloginfo('template_url'); ?>/images/ht3.jpg" width="172" height="155" alt="New Indie Music Pop Atists Zigiville" /></div>
            <div class="txtholder">
              <h3>New Indie Pop Music - Ziggiville</h3>
              <p>A bit rock, a bit punk - exciting new indie pop music brought to us by Ziggiville.</p>
              <span class="button-small"><a href="#">Read Article</a></span> <span class="button-small"><a href="">Insider Info</a></span> </div>
        <!--EOF Featured Product/-->
    <div id="contents">
    <?php if (have_posts()) : ?>
            <?php while (have_posts()) : the_post(); ?>
        <!--BOF Three Columns/-->
    <div id="col1">
      <h1>Who Are We?</h1>
      <p>The new music artist and media advice blog Reaching More People was the brainchild of a group of friends and music professionals.</p>
    <p>We share a passion for real new talent, and helping people find their own.</p>
    <p>We&rsquo;re friends with some brilliant new music artists, as well as some experts from voice tutors to music reviewers, who also feature here.</p>
    <div id="col2">
    <h1>Is It Free?</h1>
      <p>..Yes! You won&rsquo;t be asked for any money on this website, or any details.</p>
    <p>The only time we will ask for anything, it will simply be your email address so that you can get your hands on some absolutely free music downloads, hot advice, and exclusive news straight from talented new music artists by <a href="">becoming a RMP VIP</a> (yes, that&rsquo;s free too).

    <div id="col3">
      <h1>Who Is RMP For?</h1>
      <p>RMP is a place for anybody who wants to get closer to the world of new music and media talent.</p>
    <p>Looking for the most original sounds from new indie music pop to punk rock, or a new music artist to listen to?</p>
    <p>Ever looked in the mirror and said "I want to be famous", and need some advice on getting heard and seen? This is the place for you.</p>
        <!--EOF Three Columns/-->
    <div class="divider"></div>
        <!--BOF Featured Story/-->
    <div id="left">
      <div class="post">
        <h2>Featured Artist/Song/Interview</h2>
        <img class="alignright" src="<?php bloginfo('template_url'); ?>/images/paperocket.jpg" width="185" height="199" alt="Paper Rocket" />
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed volutpat risus ac orci lacinia eu posuere lorem facilisis. Sed rutrum eleifend erat, placerat tincidunt dui sodales nec. Suspendisse metus lacus, interdum vitae facilisis non, gravida eu sem. Phasellus aliquam porttitor ante id facilisis. </p>

        <!--EOF Featured Story/-->
                <?php endwhile; ?>
      <?php else : ?>
            <h2 class="center">Not Found</h2>
            <p class="center">Sorry, but you are looking for something that isn't here.</p>
            <?php endif; ?>
    <?php get_sidebar(); ?>
    <?php get_footer
    (); ?>
    this is the php file for the main area of the page - can you see anything in here that should be in there/is making those columns repeat??
  10. bamme

    bamme Senior Member

    if you do have 5 minutes, i'll happily let you into the blog to have a look? I have a couple of credits to give people on a resources page im going to make, i know its prob no use to you but its something i could do i suppose. :)
  11. Levi

    Levi Moderator Staff Member

    Its the highlighted piece below, you've copied the columns in below the 'post'

    <?php get_header(); ?><div id="homeheader">   <div id="left-column">      <h1>Hi, We're Reaching More People</h1>    <p>Dedicated bringing new music artists together, and bringing music lovers fresh new listening material! You'll find everything from the latest new r&b music release to new indie pop music, as well as advice from music producers and TV experts on anything from how to become famous to music copyright law, right here. Enjoy.</p>    <p><span class="learnmore"><a href="#">Get Involved</a> </span></p>  </div>    <!--BOF Featured Product/-->  <div id="right-column">    <h6>Hottest Topics</h6>    <ul id="portfolio">      <li>        <div class="imgholder"> <img src="<?php bloginfo('template_url'); ?>/images/ht1.jpg" width="172" height="155" alt="Beyonce Singing - New Female Music Artists Set for The Top" /></div>        <div class="txtholder">          <h3>Female Pop Music Artists</h3>          <p>..are they set to dominate the music scene? We give you our thoughts. What do you think?</p>          <span class="button-small"><a href="#">Read Article</a></span> <span class="button-small"><a href="">Insider Info</a></span> </div>      </li>      <li>        <div class="imgholder"> <img src="<?php bloginfo('template_url'); ?>/images/ht2.jpg" width="172" height="155" alt="Absolutely Free Music Downloads - Do They Exist?" /></div>        <div class="txtholder">          <h3>Absolutely Free Music Downloads?</h3>          <p>We give you a rundown of ways to find these for real, and how to spot a scam.</p>          <span class="button-small"><a href="#">Read Article</a></span> <span class="button-small"><a href="">Insider Info</a></span> </div>      </li>      <li>        <div class="imgholder"> <img src="<?php bloginfo('template_url'); ?>/images/ht3.jpg" width="172" height="155" alt="New Indie Music Pop Atists Zigiville" /></div>        <div class="txtholder">          <h3>New Indie Pop Music - Ziggiville</h3>          <p>A bit rock, a bit punk - exciting new indie pop music brought to us by Ziggiville.</p>          <span class="button-small"><a href="#">Read Article</a></span> <span class="button-small"><a href="">Insider Info</a></span> </div>      </li>    </ul>  </div>    <!--EOF Featured Product/--></div><div id="contents"><?php if (have_posts()) : ?>        <?php while (have_posts()) : the_post(); ?>[COLOR=Green]    <!--BOF Three Columns/-->[/COLOR][COLOR=Red][COLOR=Blue]<div id="col1">[/COLOR]  <h1>Who Are We?</h1>  <p>The new music artist and media advice blog Reaching More People was the brainchild of a group of friends and music professionals.</p><p>We share a passion for real new talent, and helping people find their own.</p><p>We&rsquo;re friends with some brilliant new music artists, as well as some experts from voice tutors to music reviewers, who also feature here.</p></div>[COLOR=Blue]<div id="col2">[/COLOR]<h1>Is It Free?</h1>  <p>..Yes! You won&rsquo;t be asked for any money on this website, or any details.</p><p>The only time we will ask for anything, it will simply be your email address so that you can get your hands on some absolutely free music downloads, hot advice, and exclusive news straight from talented new music artists by <a href="">becoming a RMP VIP</a> (yes, that&rsquo;s free too).</p></div>[COLOR=Blue]<div id="col3">[/COLOR]  <h1>Who Is RMP For?</h1>  <p>RMP is a place for anybody who wants to get closer to the world of new music and media talent.</p><p>Looking for the most original sounds from new indie music pop to punk rock, or a new music artist to listen to?</p><p>Ever looked in the mirror and said "I want to be famous", and need some advice on getting heard and seen? This is the place for you.</p>  </div>[/COLOR]  [COLOR=DarkGreen]   <!--EOF Three Columns/--> [/COLOR]<div class="divider"></div>    <!--BOF Featured Story/--><div id="left">  <div class="post">    <h2>Featured Artist/Song/Interview</h2>    <img class="alignright" src="<?php bloginfo('template_url'); ?>/images/paperocket.jpg" width="185" height="199" alt="Paper Rocket" />    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed volutpat risus ac orci lacinia eu posuere lorem facilisis. Sed rutrum eleifend erat, placerat tincidunt dui sodales nec. Suspendisse metus lacus, interdum vitae facilisis non, gravida eu sem. Phasellus aliquam porttitor ante id facilisis. </p>    (MORE P TAGS WITH FILLER TEXT WENT HERE BUT REMOVED TO REDUCE LENGTH OF CODE SNIPPET)  </div>    <!--EOF Featured Story/-->            <?php endwhile; ?>  <?php else : ?>        <h2 class="center">Not Found</h2>        <p class="center">Sorry, but you are looking for something that isn't here.</p>        <?php endif; ?></div><?php get_sidebar(); ?><?php get_footer(); ?>
    all of red (and green and blue) needs to be removed, the blue is what's making the columns and the green is the start and end of the relevant section of code :)

    that should get rid of the annoying bit of the columns. Once you've editted the css for the footer it should have fixed the main issues afaik :)
  12. bamme

    bamme Senior Member

    Forgive me for being a complete dumba$s, but the red bits are my content that I've just written.. if i remove them, i wont have any content or any of the columns.. is this what youre suggesting?

    i can get around it but would rather keep the columns :)

    sorry if i dont quite know what you mean! really appreciating the help here, sorry i am slow at the moment ive been looking at this a loooong time now!
  13. bamme

    bamme Senior Member

  14. Levi

    Levi Moderator Staff Member

    sorry my fault, thought that was the whole thing, not just the top section.

    When you uploaded the first page with errors in your first post, the same bits I've highlighted above were repeated in the blog post text. In the text file (taken from the page source file via firefox) I attached on page 1 I've actually deleted the bits which I thought were causing the issue so you could try copying and pasting them into a file if possible and seeing if it fixes.

    I'm not sure if you have a different bit of code for when you add a new blog post? If you have can you post it here so I can see if the above code is in that too.
  15. bamme

    bamme Senior Member

    Hey Levi, sorry I disappeared yesterday my connection died.. then i had to sleep lol.

    Didn't see your .txt attachment - just added it instead of the code currently between


    within my home.php file, unfortunately I got:

    Not sure why that was but thanks for trying that anyway, not sure what you mean by a bit of code for when you make a blog post - could it be this file:

    Single Post (single.php)
  16. Levi

    Levi Moderator Staff Member

    the text file was based on a copy of the html as seen by the browser when it was loaded in firefox so it would be a finished page so to speak, if there are any linked files then they're already showing/added kind of thing so it might have needed a little tweaking.

    Single.php may be the bit I need so yeah that will do :)

    Actually looking at the page this morning now you've done some adjustments, it's even clearer to show the issue that I think it is :). On the page you have the 3 columns repeated under each post.

    If you copy the source code as seen in the browser (right click view source code in firefox) and then paste the code into a text editor with line numbers you can see the issue more clearly. Once you've pasted you will see that lines 106-129 (you want this one) are repeated at lines 145-167 and 184-206 causing you to have 3 columns under each of the posts.

    Hope that makes sense
  17. bamme

    bamme Senior Member

    Hey Levi

    Yep makes perfect sense and I see it, but im not putting it there! Very very strange. Okay, so here is the full home.php file (where the columns appear), the single.php file, the header.php file and the footer.php file.. attached in the zip

    also sidebar, index (main index template).

    Attached Files:

  18. Greg

    Greg Active Member

    Does the theme have a file called 'portal.php'?
    Depending on how the theme is setup, sometimes the homepage is controlled by a file called portal.php...
  19. Levi

    Levi Moderator Staff Member

    The only things that I can spot (harry et al will more than likely do better than me) are in the home, index and single php files you have
    <div id="contents"><?php if (have_posts()) : ?>        <?php while (have_posts()) : the_post(); ?>
    repeated at lines 39, 6 an 6 onwards respectively.

    iv id="header">  <div id="breadcrumb"> <?php the_breadcrumb(); ?></div>
    repeated in single and index both on line 3 onwards.

    The duplication might be down to those but I'm not a php person (now starting to learn it in more detail) so I'm not going to say it's definitely the cause etc.
  20. bamme

    bamme Senior Member

    Hmm i think it might be easier to just post the theme up in its original form - its here:

    I hadnt altered it at all to my knowledge, except for replace a couple images, some general style rules like padding values and font sizes, and replace dummy text with real text..i mightve added the odd link but thats as far as i went!

    the demo page for the original theme looks fine:

    WordPress Themes

    I dont get it!

Share This Page