SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Member
    Join Date
    Feb 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Footer Content Removal

    Which part of this footer do I edit to remove the logos?

    Karen

    ******************

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the id=main div and all content
    * after. Calls sidebar-footer.php for bottom widgets.
    *
    * @package WordPress
    * @subpackage Twenty_Ten
    * @since Twenty Ten 1.0
    */
    ?>
    </div><!-- #main -->
    </div><!-- #wrapper -->
    <div id="footer" role="contentinfo">
    <div id="colophon">

    <?php
    /* A sidebar in the footer? Yep. You can can customize
    * your footer with four columns of widgets.
    */
    get_sidebar( 'footer' );
    ?>

    <div id="icons">
    <?php /*?><h2>Follow Us/h2>
    <img src="/wp-content/themes/dimensions%20healthcare/images/facebook.png" width="24" height="24" alt="facebook" />
    <img src="/wp-content/themes/dimensions%20healthcare/images/twitter.png" width="24" height="24" alt="twitter" />
    <img src="/wp-content/themes/dimensions%20healthcare/images/youtube.png" width="24" height="24" alt="youtube" /><?php */?>
    <a href="/?feed=rss2"><img src="/wp-content/themes/dimensions%20healthcare/images/rss.png" width="24" height="24" alt="rss" /></a>
    </div>
    <div id="login">
    <ul>
    <li><a href="/?page_id=205">Corporate Login</a></li>
    <li><a href="/?page_id=208">Physician Login</a></li>
    <li><a href="/?page_id=211">Finance Login</a></li>
    </ul>
    </div>
    <div id="footer_menu">
    <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header', 'theme_location' => 'home' ) ); ?>
    <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header', 'theme_location' => 'home_side' ) ); ?>
    </div>
    <div id="logos"> <a href="http://www.nlm.nih.gov/medlineplus/" target="_blank"><img src="/wp-content/themes/dimensions%20healthcare/images/logos_medlineplus.png" width="168" height="39" alt="medline plus" /></a><a href="http://www.heart.org/HEARTORG/" target="_blank"><img src="/wp-content/themes/dimensions%20healthcare/images/logos_aha.png" width="130" height="61" alt="american heart association" /></a><a href="http://www.arthritis.org/" target="_blank"><img src="/wp-content/themes/dimensions%20healthcare/images/logos_arthritis.png" width="125" height="48" alt="arthritis foundation" /></a>
    <div class="large_logos">

    <img src="/wp-content/themes/dimensions%20healthcare/images/healthgrades.png" height="150" alt="healthgrades" /></div></div>
    </div><!-- #colophon -->

    </div><!-- #footer -->



    <?php
    /* Always have wp_footer() just before the closing </body>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to reference JavaScript files.
    */

    wp_footer();
    ?>
    <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-25225808-1']);
    _gaq.push(['_trackPageview']);

    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

    </script>
    </body>
    </html>

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,112
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by kcindc View Post
    Which part of this footer do I edit to remove the logos?
    Probably this bit:

    Code:
    <div id="logos"> <a href="http://www.nlm.nih.gov/medlineplus/" target="_blank"><img src="/wp-content/themes/dimensions%20healthcare/images/logos_medlineplus.png" width="168" height="39" alt="medline plus" /></a><a href="http://www.heart.org/HEARTORG/" target="_blank"><img src="/wp-content/themes/dimensions%20healthcare/images/logos_aha.png" width="130" height="61" alt="american heart association" /></a><a href="http://www.arthritis.org/" target="_blank"><img src="/wp-content/themes/dimensions%20healthcare/images/logos_arthritis.png" width="125" height="48" alt="arthritis foundation" /></a>
    <div class="large_logos">
    
    <img src="/wp-content/themes/dimensions%20healthcare/images/healthgrades.png" height="150" alt="healthgrades" /></div></div>
    </div><!-- #colophon -->
    But for us to give a definite answer, you'd need to show us the live page.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    SitePoint Member
    Join Date
    Feb 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's the url:

    www.dimensionshealth.org

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,112
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    OK. Can you just confirm which logos you want removed?
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  5. #5
    SitePoint Member
    Join Date
    Feb 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    All the ones in the footer. MedlinePlus, American Heart Association, Arthritis Foundation and the award below. Need to know how to remove them or to actually align them there in a pleasing way that would help they are not aligned in any way and I think it looks bad.

    Thanks for your help

    KC

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,112
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by kcindc View Post
    All the ones in the footer.
    OK, just remove that whole block of code I posted above. It's a lot easier to remove them than to change their layout. If you want to do that, perhaps first download those logo images and resize them a bit so that they have a consistent size.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  7. #7
    SitePoint Member
    Join Date
    Feb 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks so much Ralph. I appreciate your help. KC

  8. #8
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,112
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    You're welcome! But better check that it works first! If not, do come back. If you really want to keep the images but just tidy them up, it might even be worth creating a Photoshop file and pasting them into that, resizing them until they line up nicely, then slicing that image up into even bits. then we can suggest how to put them back in.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  9. #9
    SitePoint Member
    Join Date
    Feb 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    O.K. Ralph another stupid question. This sits on a server where I cannot edit I have to delete the old file and upload the new. If I do this with the footer will it cause any problems? I cannot edit the PHP files within the server or within Wordpress.

  10. #10
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,112
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Keep a copy of the old file just in case, but if you remove just the code above and re-upload the file in question, it should be fine. (Not sure if that answers your question, though. If not, maybe say a little more about how you are doing this. Did you upload WP from your computer?)
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •