SitePoint Sponsor

User Tag List

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

    Wordpress Footer Editing Problem

    I took over this site from a previous administrator and
    have been trying to edit the footer to eliminate the logo
    content.

    The problem is when I delete the content for the logos
    and press update the content pops right back in.

    What am I doing wrong and what could I do to resolve
    this problem?

    Your assistance is appreciated.

    Karen

    Here's the page code...

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


    PHP Code:
    <?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>
    Last edited by Mittineague; Oct 25, 2011 at 18:03. Reason: reformatting bbcode tags

  2. #2
    SitePoint Guru hifigrafix's Avatar
    Join Date
    Oct 2005
    Location
    Nashville, TN
    Posts
    628
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you updating the files directly on the server or are you trying to update them via Wordpress' admin panel? If you are trying to edit via WordPress admin you might not have ample permissions to make changes on the core files. Try logging in with FTP and climbing into the template folder and edit footer.php.

  3. #3
    SitePoint Member
    Join Date
    Feb 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    O.K. I'll give that a try. Can you tell me specifically which portion of the code I remove to make the 4 logos disappear?

    You have been very helpful...

    Thank you

    Quote Originally Posted by hifigrafix View Post
    Are you updating the files directly on the server or are you trying to update them via Wordpress' admin panel? If you are trying to edit via WordPress admin you might not have ample permissions to make changes on the core files. Try logging in with FTP and climbing into the template folder and edit footer.php.

  4. #4
    SitePoint Member Eyewebmaster's Avatar
    Join Date
    Oct 2011
    Location
    Cebu
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    With your concern it depends on what particular logos you're going to remove.

    If you have the full admin access of your Wordpress just go to >appearance>editor

    then you can see some files you have in your theme. Tick footer.php on right right corner.

    Now you can remove the code for the logo starting on a code just like this <div></div> it depends on what coding they have used.

    This is also where you will put the Google analytic tracker.

    Hope this will help remove the Logos from your footer..


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
  •