Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Forum: Fixing WordPress
    In reply to: User Photo Plugin

    I’ve sort of got this working. Once I installed the plug-in and activated it, I went to the “Your Profile” page for each of my users and added their photos. That takes care of getting the files on to the server. I then edited my theme’s index.php file by adding

    <?userphoto_the_author_thumbnail()?>

    immediately after

    <div class="entry">

    and that did the trick.

    The problem I’m having is getting the text of each post to wrap around the picture. I think I know the CSS code to do it but the problem is that I don’t know how to define the class for the image. I know next to nothing about PHP and CSS so I hope I’ve explained that right. Could anyone help out with this?

    Thread Starter neildubya

    (@neildubya)

    I am a fool. It was a permissions problem – DianeV got it right: I couldn’t access the image from a browser.

    Thanks for your help everyone.

    Neil

    Thread Starter neildubya

    (@neildubya)

    That’s what I thought. Either way, I can’t get that code to work though.

    Thread Starter neildubya

    (@neildubya)

    Just a quick thought; I’ve assumed that it shouldn’t make any difference which theme I’m using. Is that correct?

    cheers

    Neil

    Thread Starter neildubya

    (@neildubya)

    Me again. Unfortunately the extra “/” hasn’t made any difference. Looking at the source of my front page it looks like get_bloginfo() doesn’t seem to be doing much as the image source is not the proper path. The URL of my blog is http://fifteensquared.net.

    Once again, any help much appreciated.

    Neil

    Thread Starter neildubya

    (@neildubya)

    Thanks Mark – I thought perhaps that php get_bloginfo('url') would give myblogurl.net/ but maybe it just gives myblogurl.net, in which case the extra “/” should make all the difference. Will try it later to see if it works.

    Not sure what you mean by “could you like to it not working”…?

    Neil

Viewing 6 replies - 1 through 6 (of 6 total)