Give help. Get help.

  • # September 19, 2010 at 12:02 pm

    I have followed what it says on their site and it doesn’t want to work for me, anyone got any ideas? I have added the rel=”prettyPhoto” to the image but for the some reason the prettyphoto js isn’t being called even thought i have done it exactly the same as the examply on the site.

    This page has an image which should be opened in prettyphoto:

    # September 19, 2010 at 8:55 pm


    # September 19, 2010 at 9:58 pm

    Your links to both the js file and the css for the prettyPhoto plugin are not pointing to the correct location of the actual files. You need to point the paths as follows:

    Script ->

    < ?php bloginfo('template_url'); ?>/js/***Name of JS File***

    CSS ->

    < ?php bloginfo('template_url'); ?>/css/***Name of CSS File***

    I found these issues with firebug. I would definitely suggest using it, if you aren’t already. It will save your ass on a daily basis…

    Hope that helps.

    # September 21, 2010 at 3:49 am

    Just tried that and still not working, i am using firebug and it is giving the error ” $(“a[rel^=’prettyPhoto’]”).prettyPhoto is not a function ” but someone said that is because the .js file isn’t there like you said, but i had it linked like the website for prettyphoto says to and have tried it how you just said and it is still not working.

    # September 21, 2010 at 7:22 pm

    Anyone have any idea? still haven’t got this working

    # April 24, 2013 at 7:54 pm

    Hi Luke,
    Don’t know if you still need this help, but I read somewhere that WordPress needs you to use “jQuery” instead of “$” when defining functions. This is to eliminate conflicts with other libraries. Hope it helps.

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

You must be logged in to reply to this topic.