Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Duplicate footer

  1. #1
    Thread Starter
    Amateur maik's Avatar
    Join Date
    Oct 2011
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Duplicate footer

    I added the code from the link to my functions.php child theme file: appthemes_footer | AppThemes Docs

    Doing so just adds two footers to the site, why doesn't it remove the old footer?

    I'am using Classipress 3.1.6 on Wordpress 3.3


    Code:
    <?php// let's remove the default ClassiPress theme footer
    remove_action( 'appthemes_footer', 'cp_do_footer' );
     
    // use this custom footer instead
    
    function pOnk_do_footer() {
    ?>
    ..... //my new footer code
    
    <?php
    }
    add_action( 'appthemes_footer', 'pOnk_do_footer' );
    ?>
    
    


  2. #2
    dubya's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,004
    Thanks
    115
    Thanked 107 Times in 93 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    The search button. Your new best friend.
    - Dubya

  3. #3
    Thread Starter
    Amateur maik's Avatar
    Join Date
    Oct 2011
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dubya's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,004
    Thanks
    115
    Thanked 107 Times in 93 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    The search button. Your new best friend.
    - Dubya

  5. #5
    Thread Starter
    Amateur maik's Avatar
    Join Date
    Oct 2011
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    dubya's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,004
    Thanks
    115
    Thanked 107 Times in 93 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    The search button. Your new best friend.
    - Dubya

  7. #7
    Thread Starter
    Amateur maik's Avatar
    Join Date
    Oct 2011
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    dubya's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,004
    Thanks
    115
    Thanked 107 Times in 93 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    The search button. Your new best friend.
    - Dubya

  9. #9
    Amateur marketermatt's Avatar
    Join Date
    Jun 2011
    Location
    United States
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #10
    dubya's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,004
    Thanks
    115
    Thanked 107 Times in 93 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Last edited by dubya; January 5th, 2012 at 02:17 PM. Reason: fixed a typo
    The search button. Your new best friend.
    - Dubya

  11. The Following 2 Users Say Thank You to dubya For This Useful Post:

    bleem (July 6th, 2012), cswebtech (March 27th, 2012)

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Alignment of footer - the footer menu is not aligned propperly
    By sonofspider in forum Clipper General Discussion
    Replies: 5
    Last Post: July 21st, 2011, 04:02 AM
  2. Avoid duplicate ads
    By yoodac in forum ClassiPress General Discussion
    Replies: 4
    Last Post: April 20th, 2011, 07:55 PM
  3. Duplicate title
    By ldopi in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: January 28th, 2011, 02:26 PM