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

Help: WP Footer

Discussion in 'HTML & JavaScript' started by Oriam, Dec 26, 2011.

  1. Oriam

    Oriam Junior Member

    Joined:
    Aug 18, 2009
    Messages:
    100
    Likes Received:
    55
    Gender:
    Male
    Occupation:
    Working hard to monitizes my website: http://www.p
    Location:
    Canada
    I tried fixing my footer by searching google and tried many ways to fix it but
    still a problem. Hopping you guys can help me.

    As you can see in my footer, when you hoover it, it shows double my
    links...same problem for both my "Contact us" & "Terms of Use"

    http://www.lastminutenewstopics.com
     
  2. nethead01

    nethead01 Regular Member

    Joined:
    Sep 21, 2009
    Messages:
    426
    Likes Received:
    229
    you need to edit in footer.php

    show the code and ill edit for you
     
  3. extremehacker

    extremehacker Junior Member

    Joined:
    Apr 17, 2010
    Messages:
    104
    Likes Received:
    289
    Home Page:
    Look inside your footer file. There's probably an error.
     
  4. nethead01

    nethead01 Regular Member

    Joined:
    Sep 21, 2009
    Messages:
    426
    Likes Received:
    229
    try this

    Code:
    <a href="/contact-us-2">Contact Us</a> | <a href="/terms_of_use">Terms of Use</a>
    
     
  5. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,232
    Occupation:
    Retired
    Location:
    Old Peoples Home
    I think there is a random slash in there, look:

    Code:
    <a href=\"http://www.lastminutenewstopics.com/
    Get rid of the slash before the URL and give that a go - may be better if you show your footer fle to us though :)
     
    • Thanks Thanks x 1
  6. m0nster

    m0nster Senior Member

    Joined:
    Oct 20, 2010
    Messages:
    1,046
    Likes Received:
    1,005
    Occupation:
    NYC hustler
    Location:
    USA
    wherever you added the URL change it to just "/terms_of_use" and try that
     
  7. kiwilx

    kiwilx Junior Member

    Joined:
    Oct 3, 2011
    Messages:
    186
    Likes Received:
    12
    hey guys can someone tell me how to put the posts on a page? I have set pages I would like to show the posts on with a theme but they are just appearing when you go to dashboard-posts-categories and click view on that category and do not appear on the menu pages I would like them to show, can anyone look into this?

    thanks friends
     
  8. m0nster

    m0nster Senior Member

    Joined:
    Oct 20, 2010
    Messages:
    1,046
    Likes Received:
    1,005
    Occupation:
    NYC hustler
    Location:
    USA

    i'm sure someone would be happy to help you but you should create your own thread - your kind of thread jacking here.:batman:
     
  9. Oriam

    Oriam Junior Member

    Joined:
    Aug 18, 2009
    Messages:
    100
    Likes Received:
    55
    Gender:
    Male
    Occupation:
    Working hard to monitizes my website: http://www.p
    Location:
    Canada
    Monster, nethead01, tried it and did not work.
    Fatboy, i removed that random slash, but when i save the file, it comes back.

    Here is the code of the footer:

    HTML:
    <a href=\"http://www.lastminutenewstopics.com/contact-us-2\">Contact Us</a> | <a href=\"http://www.lastminutenewstopics.com/terms_of_use\">Terms of Use</a>  | Copyright © 2009-2011 Last Minute News Topics. All Rights Reserved.
     
    Last edited: Dec 26, 2011
  10. Coz im Gangsta

    Coz im Gangsta Junior Member

    Joined:
    Apr 19, 2009
    Messages:
    107
    Likes Received:
    77
    Location:
    Youtube Bot Heaven
    Copy and paste wp-content/themes/LastMinute/footer.php here and I will fix it for you.
     
  11. Oriam

    Oriam Junior Member

    Joined:
    Aug 18, 2009
    Messages:
    100
    Likes Received:
    55
    Gender:
    Male
    Occupation:
    Working hard to monitizes my website: http://www.p
    Location:
    Canada
    Here is the footer.php
    Btw, i'm using the latest wp version


    Code:
    <div class="art-Footer">
        <div class="art-Footer-inner">
                    <a href="<?php bloginfo('rss2_url'); ?>" class="art-rss-tag-icon" title="RSS"></a>
                    <div class="art-Footer-text">
    <p>
    <?php 
     global $default_footer_content;
     $footer_content = get_option('art_footer_content');
     if ($footer_content === false) $footer_content = $default_footer_content;
     echo $footer_content;
    ?>
    </p>
    </div>
        </div>
        <div class="art-Footer-background">
        </div>
    </div>
    
        </div>
    </div>
    
    
    <!-- <?php printf(__('%d queries. %s seconds.', 'kubrick'), get_num_queries(), timer_stop(0, 3)); ?> -->
    <div><?php wp_footer(); ?></div>
    <!-- Start of Woopra Code -->
    <script type="text/javascript">
    var woo_settings = {idle_timeout:'300000', domain:'lastminutenewstopics.com'};
    (function(){
    var wsc = document.createElement('script');
    wsc.src = document.location.protocol+'//static.woopra.com/js/woopra.js';
    wsc.type = 'text/javascript';
    wsc.async = true;
    var ssc = document.getElementsByTagName('script')[0];
    ssc.parentNode.insertBefore(wsc, ssc);
    })();
    </script>
    <!-- End of Woopra Code -->
    </body>
    </html>
     
  12. nethead01

    nethead01 Regular Member

    Joined:
    Sep 21, 2009
    Messages:
    426
    Likes Received:
    229
    now find this file footer_content
     
    Last edited: Dec 26, 2011
  13. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,232
    Occupation:
    Retired
    Location:
    Old Peoples Home
    If you don't mind a bodge job, just delete: "echo $footer_content;" and type in the HTML that you are after.....something like:

    echo "<a href='contact.html'>Contact Us</a>";

    Like I said, it is a real bodge job but it will work if you don't find the problem!
     
  14. Oriam

    Oriam Junior Member

    Joined:
    Aug 18, 2009
    Messages:
    100
    Likes Received:
    55
    Gender:
    Male
    Occupation:
    Working hard to monitizes my website: http://www.p
    Location:
    Canada
    OK, I finaly fix my problem. After adding or removing codes like: ' " or \
    I got this to work:
    Code:
    <a href=www.lastminutenewstopics.com/contact-us-2>Contact Us</a> | <a href=www.lastminutenewstopics.com/terms_of_use>Terms of Use</a>
    Thanks guys for your help :)