WordPress.org

Ready to get started?Download WordPress

Forums

how to align credits in centre (9 posts)

  1. Golden Lion Solutions
    Member
    Posted 1 year ago #

    I am using the Pinboard theme for the website twoadultstwochildren.com.

    I want to add the following text in the footer, but make it centralised, between the copyright and privacy policy.

    my code is

    <?php $author_credit_link = '<a href="//www.GoldenLionSolutions.com/' ) . '" title="' . esc_attr( __( 'Designed by Golden Lion', 'pinboard' ) ) . '">' . __( 'Designed by Golden Lion', 'pinboard' ) . '</a>'; ?>

    and I tick the show author credit link in theme options which displays this text and the link next to the privacy policy.

    is there any way I can get this text in the middle of the footer?

    thanks in advance!

  2. Golden Lion Solutions
    Member
    Posted 1 year ago #

    for some reason the code didn't appear:

    <?php $author_credit_link = '<a href="' . esc_url( 'http://www.GoldenLionSolutions.com/' ) . '" title="' . esc_attr( __( 'Designed by Golden Lion', 'pinboard' ) ) . '">' . __( 'Designed by Golden Lion', 'pinboard' ) . '</a>'; ?>

  3. Andrew
    Forum Moderator
    Posted 1 year ago #

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You really should be using a child theme - these changes you are making to theme files will be overwritten when the theme is updated.

    http://codex.wordpress.org/Child_Themes

  5. Golden Lion Solutions
    Member
    Posted 1 year ago #

    Is there a way to stop the theme from updating itself?

  6. Golden Lion Solutions
    Member
    Posted 1 year ago #

    Thanks Andrew. Where would I put such code?

  7. Andrew
    Forum Moderator
    Posted 1 year ago #

    In your Child Theme style.css file.

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    If you do that, the site will very likely eventually become incompatible with WP - not a good way to go. And an outdated theme or WP is a major security risk. I'd suggest you move your changes to a child theme before you get any further along.

  9. Golden Lion Solutions
    Member
    Posted 1 year ago #

    OK, thanks for the input about child themes.

    Could you please check out the website now and see what I'm doing wrong?

    I've made them in the center, but need the privacy policy on the right hand side

Topic Closed

This topic has been closed to new replies.

About this Topic