• Resolved Scott

    (@scottspinola)


    Anyone know how to edit the footer in the Fictive theme? I just want to edit the text that’s there, not the styling.

    Any help you can offer will be appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Kathryn Presner

    (@zoonini)

    The theme credits are part of footer.php. To change them, place a copy of footer.php in your child theme folder and edit these lines as you like:

    <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'fictive' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'fictive' ), 'WordPress' ); ?></a>
    <span class="sep"> | </span>
    <?php printf( __( 'Theme: %1$s by %2$s.', 'fictive' ), 'Fictive', '<a href="http://automattic.com" rel="designer">Automattic</a>' ); ?>

    Oh… this is also something I’d like to know how to do… There are so many letters and numbers and symbols there that I really don’t know what I can change without destroying everything heheheh

    I’d like it to be like this:

    Copyright © 2014 English Pills. All rights reserved.
    Theme: Fictive by Automattic | WordPress

    .

    (@techievous)

    There are so many letters and numbers and symbols there that I really don’t know what I can change without destroying everything heheheh

    I’d like it to be like this:

    Copyright © 2014 English Pills. All rights reserved.
    Theme: Fictive by Automattic | WordPress

    @robsantos, for future references, please create a separate thread for your question. Hijacking another member’s thread for one’s own question isn’t generally welcome on here or most other help forums.

    That said, here’s your code. I simplified it to just standard HTML so you’d have an easier time editing in the future. (The original printf() is only useful for translation anyway, which isn’t matter much when you use only English.)

    <?php
    /**
     * The template for displaying the footer.
     *
     * Contains the closing of the #content div and all content after
     *
     * @package Fictive
     */
    ?>
    
    	</div><!-- #content -->
    
    	<footer id="colophon" class="site-footer" role="contentinfo">
    		<div class="site-info">
    			<span>Copyright © <?php echo date('Y'); ?> <a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a>. All rights reserved</span><br />
    			<span>Theme: <a href="http://wordpress.org/themes/fictive" title="Fictive">Fictive</a> by <a href="http://automattic.com/" title="Automattic">Automattic | <a href="http://wordpress.org/" title="WordPress">WordPress</a></span>
    		</div><!-- .site-info -->
    	</footer><!-- #colophon -->
    </div><!-- #page -->
    
    <?php wp_footer(); ?>
    
    </body>
    </html>

    <?php echo date(‘Y’); ?> automatically grab the current year. So you won’t have to update it manually.

    <?php bloginfo(‘url’); ?> and <?php bloginfo(‘name’); ?> automatically grab the your blog’s default URL and name respectively.

    Oh sorry, @techievous and @scottspinola!
    As I had the same question about editting the footer and this one wasn’t marked as solved I thought I could use the space to avoid being repetitive…

    And thanks a lot for the code! 😀
    It’s perfect!

    Thread Starter Scott

    (@scottspinola)

    His question was exactly appropriate for this thread. If he had started a new thread I would not have known the answer to his question, which I definitely need.

    robsantos: Thank you for posting your follow up question here. Now I know how to make the edit suggested to me in the original answer.

    And thanks to techievous and Kathryn for the answers.

    Moderator Kathryn Presner

    (@zoonini)

    Scott & Rob, glad you’re both set!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fictive Theme – How do I edit the footer?’ is closed to new replies.