SocialChic

Member

Forum Replies Created

  • In reply to: Add a new link into my footer?

    #36855

    Thanks Prasanna for such a quick and simple reply. It works perfectly!

    Details ! Details ! Seems my mistake was not putting the 'a href="http:// blah blah url"> inside the single quotes that encompassed the link text. Putting this outside the single quotes is what caused the white screen response.

    I also added: target="blank" to make the link open in another tab.

    So for the benefit of anyone else with this problem, here’s the final code I inserted in my site:

    function graphene_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Powered by %1$s and the %2$s.' => '<a href="http://pointeultimatepublishing.com" target="blank">Website Design</a> | <a href="http://pointeultimatepublishing.com" target="blank">Pointe Ultimate Publishing LLC</a>',
    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );

    Works like a charm! Thanks again, @Prasanna!

    In reply to: Possible to add a second before_footer_widget ?

    #38230

    Thank you for the fast reply, Syahir — there’s nothing quite like a “native guide” ;-D

    Sweet!

    I’ve tried /experimented w/ ALL of the footer, header, page & post action hooks (about 20-ish) but never thought about the sidebar hooks being full container width — lol ! Should have known you already thought of this — gotta hand it to you, you’ve created an amazing, robust theme with so many customizations it’s unbelievable how well it all works together.

    Thanks again for such swift help, and double thanks for an amazing theme!

Viewing 2 posts - 1 through 2 (of 2 total)