This topic has 10 replies, 2 voices, and was last updated 9 years by Norman.

  • Author
  • #51864
     Norman
    Participant

    @sharmstr

    sharmstr how can i add a picture on the top of the register page.

    i guess it is the register.php and i have to copy it to the child theme.

    but what would be the best code ?

    thx

    #51884
     sharmstr
    Moderator

    Depends on where you want to add it. You can use the code I gave you yesterday(?) and just add in a echo statement above the do_shortcode line

    COPY CODE
    
    echo "<img src='pathtoyourimage' />";
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #51888
     Norman
    Participant

    if I only use this on the top of the register page, do i not have to set dimensions ? is this code enough.
    because I really only need to place the picture nothing else ( the picture is not from a database).

    echo ““;

    #51889
     Norman
    Participant

    echo "<img src='pathtoyourimage' />";

    #51890
     sharmstr
    Moderator

    You can put whatever you want. You can add dimensions or not. Up to you. I was just giving you an example.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #51891
     Norman
    Participant

    ok. so this line is enough to integrate the picture no additional parts from yesterdays code ?

    #51894
     Norman
    Participant

    echo '<img src="http://mywebsite.com/mytheme/wp-content/themes/my theme/_images/project3image1.jpg">';

    #51895
     Norman
    Participant

    i’ll try. thx !!@sharmstr

    #51898
     Norman
    Participant

    mmmh doesn’t work.

    #51899
     Norman
    Participant

    this is the picture I want to show:

    echo "<img src=‚http://www.kawaii.com/registerblackandwhite.gif‘ />";

    I am confused about the do shortcode ?

    #51900
     Norman
    Participant

    oh damn fixed it ‘ was wrong

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?