Viewing 8 replies - 1 through 8 (of 8 total)
  • Change the footer.php.

    Thread Starter sanzatg

    (@sanzatg)

    the footer widgets vanishes when i change the footer.php. could you copy and paste for me here?

    You must post your footer.php here, and then I can tried to change it for you correctly.

    Thread Starter sanzatg

    (@sanzatg)

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the id=main div and all content after
    *
    * @package Catch Themes
    * @subpackage Adventurous
    * @since Adventurous 1.0
    */
    ?>
    <?php
    /**
    * adventurous_content_sidebar_close hook
    *
    * HOOKED_FUNCTION_NAME PRIORITY
    *
    * adventurous_content_sidebar_wrapper_close 10
    */
    do_action( ‘adventurous_content_sidebar_close’ ); ?>

    <?php
    /**
    * adventurous_main_close hook
    *
    * HOOKED_FUNCTION_NAME PRIORITY
    *
    * adventurous_main_wrapper_close 10
    */
    do_action( ‘adventurous_main_close’ ); ?>

    <?php
    /**
    * adventurous_after_main hook
    */
    do_action( ‘adventurous_after_main’ ); ?>

    </div><!– #main-wrapper –>

    <?php
    /**
    * adventurous_before_footer hook
    *
    * HOOKED_FUNCTION_NAME PRIORITY
    *
    * adventurous_homepage_featured_display value before footer 20
    */
    do_action( ‘adventurous_before_footer’ ); ?>

    <footer id=”colophon” role=”contentinfo”>

    <?php
    /**
    * adventurous_footer hook
    *
    * @hooked adventurous_footer_sidebar – 10
    */
    do_action( ‘adventurous_footer’ ); ?>

    <?php
    /**
    * adventurous_footer hook
    *
    * @hooked adventurous_site_generator_open – 10
    * @hooked adventurous_footer_content – 20
    * @hooked adventurous_site_generator_close – 100
    */
    do_action( ‘adventurous_site_generator’ ); ?>

    </footer><!– #colophon .site-footer –>

    <?php
    /**
    * adventurous_after_footer hook
    */
    do_action( ‘adventurous_after_footer’ ); ?>

    </div><!– #page .hfeed .site –>

    <?php
    /**
    * adventurous_after hook
    */
    do_action( ‘adventurous_after’ );

    wp_footer(); ?>

    </body>
    </html>

    Sorry, I can’t. It works different then the themes, I know.

    Please, search within your other theme files for ‘Powered by’. And if you find the file, which we need, then I would try it again.

    Dear sanzatg

    I saw your footer.php code. i am also using this theme on my website ProductPhotographerindia.com.

    Only Replace your footer.php code by my code. it is working code.

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the id=main div and all content after
    *
    * @package Catch Themes
    * @subpackage Adventurous
    * @since Adventurous 1.0
    */
    ?>
    <?php
    /**
    * adventurous_content_sidebar_close hook
    *
    * HOOKED_FUNCTION_NAME PRIORITY
    *
    * adventurous_content_sidebar_wrapper_close 10
    */
    do_action( ‘adventurous_content_sidebar_close’ ); ?>

    <?php
    /**
    * adventurous_main_close hook
    *
    * HOOKED_FUNCTION_NAME PRIORITY
    *
    * adventurous_main_wrapper_close 10
    */
    do_action( ‘adventurous_main_close’ ); ?>

    <?php
    /**
    * adventurous_after_main hook
    */
    do_action( ‘adventurous_after_main’ ); ?>

    </div><!– #main-wrapper –>

    <?php
    /**
    * adventurous_before_footer hook
    *
    * HOOKED_FUNCTION_NAME PRIORITY
    *
    * adventurous_homepage_featured_display value before footer 20
    */
    do_action( ‘adventurous_before_footer’ ); ?>

    <footer id=”colophon” role=”contentinfo”>

    <?php
    /**
    * adventurous_footer hook
    *
    * @hooked adventurous_footer_sidebar – 10
    */
    do_action( ‘adventurous_footer’ ); ?>

    <div id=”site-generator”><div class=”site-info container”><div class=”copyright”>Copyright © 2014 <span>Your Website Name</span>. All Rights Reserved.</div> <div class=”powered”>Powered by: <span>Other Credit Link</span> </div></div><!– .site-info container –></div>

    </footer><!– #colophon .site-footer –>

    <?php
    /**
    * adventurous_after_footer hook
    */
    do_action( ‘adventurous_after_footer’ ); ?>

    </div><!– #page .hfeed .site –>

    <?php
    /**
    * adventurous_after hook
    */
    do_action( ‘adventurous_after’ );

    wp_footer(); ?>

    </body>
    </html>

    Thanks lalitpanwar – Worked a treat!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘theme credit and wordpress website’ is closed to new replies.