• Resolved txia

    (@txia)


    Hi,

    Thank you for these MAGNFICENT Olsen-Light Theme.

    I have this in the footer crediting CSSIgniter which is nice : Olsen WordPress Theme by CSSIgniter.
    In the footer.php, I have this code (lines 50-57) :

    <?php if ( get_theme_mod( 'footer_credits', 1 ) ) : ?>
    <p
    class="tagline">
    
    <?php echo wp_kses( sprintf( __( '<a href="%1$s" title="%2$s">Olsen
    WordPress Theme</a> by <a href="%3$s">CSSIgniter</a>', 'olsen-light'
    ),
    
    esc_url( 'http://www.cssigniter.com/ignite/themes/olsen-light/'
    ),
    
    esc_attr__( 'Blogging theme for WordPress', 'olsen-light' ),
    
    esc_url( 'http://www.cssigniter.com/' )
    ),
    olsen_light_get_allowed_tags( 'guide' ) ); ?>
    </p>
    <?php endif; ?>

    I would also like to give credit to WordPress, just like what is in the Olsen-light demo page where you have this : Theme by CSSIgniter | Proudly powered by WordPress.
    You can see it on this link http://www.cssigniter.com/demo2/?theme=olsenlight.

    Somebody knows how to make it so the credit to WordPress also appear without breaking all the neat code of Olsen-Light Theme ??

    Thanks for your help..

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Fotis

    (@markwaregr)

    Hi there, you can add this

    <span class="sep"> | </span>
    <a href="<?php echo esc_url( __( 'https://ww.wp.xz.cn/', 'olsen-light' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'olsen-light' ), 'WordPress' ); ?></a>

    before

    </p>
    <?php endif; ?>

    Thread Starter txia

    (@txia)

    Hi Fotis,

    Thank you so much for your help. Actually I did not expect someone to give an answer so fast.
    Do you think your code keep the translation ? I mean the them is translation comptable. Would this still be the case ? Especially for “Proudly powered by”

    Thank you again. I will try this code right now..

    Regards

    My website : http://www.lyfoung.com

    Thread Starter txia

    (@txia)

    Whoua thats so nice..; I gave it a go through CodeStyling Localization then thas it !!
    Thanks again Fotis !!

    Fotis

    (@markwaregr)

    You are welcome!! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress credit’ is closed to new replies.