WordPress.org

Forums

Iconic One
How to link google+ profile ? (1 post)

  1. katotal
    Member
    Posted 1 year ago #

    I want to add my google+ Link code to all my Pages and Posts.

    PAGE:
    For the page it's easy. It's withing the content.php file.
    I just need to add my code:

    <span>Author: <a href="http://plus.google.com/mygoogleplusIDnumber" rel="author">My Author name</a>
    </span>

    POST:
    For the post it's different. The author is already implemented. The Single Post.pho pulls the Author Template.

    But I do not know how I can add my google+ line into the Author Template.php.

    I mean.. I would have two options:

    Option 1:
    Remove the Author Template and just add the google+ code to the Single Post.php like I did for the Page.

    But I don't know how to do so !

    Option 2:
    I add the google+ code to the Author Template.php
    But I also don't know how to do so !

    CHILD THEME QUESTION:
    If I want to make all the changes within the Child Theme. Let's say adding the simple code line for the google+ profile within the PAGE.php - do I have to copy the entire Page.php ?

    Or how does that work ?

    Any little help would be great.

    Thank you so much !

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic