Footer erscheint auf den englischen Seiten auf deutsch

  • [COLOR=#333333]Hallo, ich habe folgendes Problem:[/COLOR]
    [COLOR=#333333]die Seite die ich erstellt habe ist auf deutsch und auf englisch.[/COLOR]
    [COLOR=#333333]Im Deutschen ist alles fein. Im englischen erscheinen leider im Footer ebenso die deutschen Begrifflichkeit, mit den Links auf die deutschen Seiten (AGB, Datenschutz, Impressum).
    [/COLOR]Ich habe das Theme Pinboard gewählt und leider ist hier der Footer nicht im Widgetbereich erstellt.
    [COLOR=#333333]Kann ich in der footer.php des Childthemes, das ich erstellt habe Einstellungen vornehmen, daß die englischen Begriffe mit den dazugehörigen Links angezeigt werden?[/COLOR]

    [COLOR=#333333]Die footer.php sieht momentan wie folgt aus:[/COLOR]

    [COLOR=#333333]<?php if( is_front_page() || is_page_template( 'template-landing-page.php' ) || ( is_home() && ! is_paged() ) ) : ?>[/COLOR]
    [COLOR=#333333]<?php get_sidebar( 'footer-wide' ); ?>[/COLOR]
    [COLOR=#333333]<?php endif; ?>[/COLOR]
    [COLOR=#333333]<div id="footer">[/COLOR]
    [COLOR=#333333]<?php get_sidebar( 'footer' ); ?>[/COLOR]
    [COLOR=#333333]<div id="copyright">[/COLOR]
    [COLOR=#333333]<p class="copyright twocol"><?php pinboard_copyright_notice(); ?></p>[/COLOR]
    [COLOR=#333333]<?php if( pinboard_get_option( 'theme_credit_link' ) || pinboard_get_option( 'author_credit_link' ) || pinboard_get_option( 'wordpress_credit_link' ) ) : ?>[/COLOR]
    [COLOR=#333333]<p class="credits twocol">[/COLOR]
    [COLOR=#333333]<?php $theme_credit_link = '<a href="' . esc_url( 'http://www.test.csc-bearing.eu/impressum/' ) . '" title="' . esc_attr( __( 'Impressum' ) ) . '">' . __( 'Impressum' ) . '</a>'; ?>[/COLOR]
    [COLOR=#333333]<?php $author_credit_link = '<a href="' . esc_url( 'http://www.test.csc-bearing.eu/datenschutzerklaerung/' ) . '" title="' . esc_attr( __( 'Datenschutzerklärung' ) ) . '">' . __( 'Datenschutzerklärung' ) . '</a>'; ?>[/COLOR]
    [COLOR=#333333]<?php $wordpress_credit_link = '<a href="' . esc_url( 'http://www.test.csc-bearing.eu/csc-bearing/agb/' ) . '" title="' . esc_attr( __( 'AGB' ) ) . '">' . __( 'AGB' ) . '</a>';; ?>[/COLOR]


    [COLOR=#333333]<?php if( pinboard_get_option( 'theme_credit_link' ) && pinboard_get_option( 'author_credit_link' ) && pinboard_get_option( 'wordpress_credit_link' ) ) : ?>[/COLOR]
    [COLOR=#333333]<?php echo sprintf( __( '>> %1$s >> %2$s >> %3$s', 'pinboard' ), $theme_credit_link, $author_credit_link, $wordpress_credit_link ); ?>[/COLOR]


    [COLOR=#333333]<?php elseif( pinboard_get_option( 'theme_credit_link' ) && pinboard_get_option( 'author_credit_link' ) && ! pinboard_get_option( 'wordpress_credit_link' ) ) : ?>[/COLOR]
    [COLOR=#333333]<?php echo sprintf( __( '>> %1$s >> %2$s', 'pinboard' ), $theme_credit_link, $author_credit_link ); ?>[/COLOR]


    [COLOR=#333333]<?php elseif( pinboard_get_option( 'theme_credit_link' ) && ! pinboard_get_option( 'author_credit_link' ) && pinboard_get_option( 'wordpress_credit_link' ) ) : ?>[/COLOR]
    [COLOR=#333333]<?php echo sprintf( __( '>> %1$s >> %2$s', 'pinboard' ), $theme_credit_link, $wordpress_credit_link ); ?>[/COLOR]


    [COLOR=#333333]<?php elseif( ! pinboard_get_option( 'theme_credit_link' ) && pinboard_get_option( 'author_credit_link' ) && pinboard_get_option( 'wordpress_credit_link' ) ) : ?>[/COLOR]
    [COLOR=#333333]<?php echo sprintf( __( '>> %1$s >> %2$s', 'pinboard' ), $author_credit_link, $wordpress_credit_link ); ?>[/COLOR]


    [COLOR=#333333]<?php elseif( pinboard_get_option( 'theme_credit_link' ) && ! pinboard_get_option( 'author_credit_link' ) && ! pinboard_get_option( 'wordpress_credit_link' ) ) : ?>[/COLOR]
    [COLOR=#333333]<?php echo sprintf( __( '>> %1$s', 'pinboard' ), $theme_credit_link ); ?>[/COLOR]


    [COLOR=#333333]<?php elseif( ! pinboard_get_option( 'theme_credit_link' ) && pinboard_get_option( 'author_credit_link' ) && ! pinboard_get_option( 'wordpress_credit_link' ) ) : ?>[/COLOR]
    [COLOR=#333333]<?php echo sprintf( __( '>> %1$s', 'pinboard' ), $author_credit_link ); ?>[/COLOR]


    [COLOR=#333333]<?php elseif( ! pinboard_get_option( 'theme_credit_link' ) && ! pinboard_get_option( 'author_credit_link' ) && pinboard_get_option( 'wordpress_credit_link' ) ) : ?>[/COLOR]
    [COLOR=#333333]<?php echo sprintf( __( '>> %1$s', 'pinboard' ), $wordpress_credit_link ); ?>[/COLOR]
    [COLOR=#333333]<?php endif; ?>[/COLOR]
    [COLOR=#333333]</p>[/COLOR]
    [COLOR=#333333]<?php endif; ?>[/COLOR]
    [COLOR=#333333]<div class="clear"></div>[/COLOR]
    [COLOR=#333333]</div><!-- #copyright -->[/COLOR]
    [COLOR=#333333]</div><!-- #footer -->[/COLOR]
    [COLOR=#333333]</div><!-- #wrapper -->[/COLOR]
    [COLOR=#333333]<?php wp_footer(); ?>[/COLOR]
    [COLOR=#333333]</body>[/COLOR]
    [COLOR=#333333]</html>[/COLOR]


    [COLOR=#333333]Es wäre super, wenn ihr mir helfen könntet ![/COLOR]

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • Vielen Dank für die Antwort!

    ich würde es gerne mit den Sprachvariablen probieren.
    Leider habe ich das noch nie gemacht.
    Könntest du mir an einem Punkt bitte zeigen, wie das aussieht?
    ich bin mir nicht sicher, an welcher Stelle ich hier eingreifen muss...

    Liebe Grüße,
    Ricarda

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!