• Resolved Blake

    (@alexanderblake)


    Yes, I know I’m on an old version of WP, but my host doesn’t have a one-click upgrade (like my last host did), and I’m afraid to lose everything.

    I am running a very, very lightly modified ‘artsemerging 2.0’ theme now, and I want to add a picture of my ugly mug to the right sidebar – right above or below the search bar would be great.

    I have a few friends with blogspot blogs, and I always liked that feature, but I like my blog. I just want to add a picture and a one sentence blurb under it. My theme tells me I don’t have a defined sidebar, so I can’t run widgets (I thought maybe there was a picture widget), but I have things IN my sidebar.

    Any ideas?

    https://www.appliedhappiness.org/blog

    Thank you very much in advance!

    Blake

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello Blake,

    In that case (not having access to widgets) you need to hard code your sidebar.php file.

    Pick a spot where you want to add the image (you might have to play around with this for a while and I recommend you always keep a backup of your current sidebar file (or any other file you toy with).

    Now do this:

    1) Upload the image to your website and note the image URL. It would be something like https://www.yoursite.com/imagename.jpg if you upload into html folder

    2) Find the spot in your sidebar.php file where the image goes and type the following code taking note of your image dimension and the position you want it (i.e. center, left, etc).

    <img src=”https://www.yoursite.com/imagename.jpg&#8221; align=”right” />

    You might have to insert image properties too such as width=”150px” height=”200px” and if you do, then simply adapt the px size to your image size and insert this code between the code.

    Hope this helps
    Monika

    Thread Starter Blake

    (@alexanderblake)

    Thank you!

    I was having a hell of a time trying to figure out why it wasn’t showing up until I realized I spelled my own damn filename wrong.

    You can never account for user error, right?

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Want Profile Picture in Sidebar’ is closed to new replies.