WordPress.org

Ready to get started?Download WordPress

Forums

kPicasa Gallery
WP-Coda Theme Support (5 posts)

  1. jayaqt
    Member
    Posted 3 years ago #

    Hi! First of all, thanks for the wonderful plugin!

    I came here to ask if I could get some help regarding a quirk I found when I tried the WP-Coda theme. The theme displays pages only, and converts links of the pages by inserting the character # before the page:

    site.com/page1 -> site.com/#page1
    site.com/page2 -> site.com/#page2

    For my case, my site reverts to displaying my home page if the URL does not contain the actual page with the # character. For instance, the following kinds of links work correctly with the theme:

    http://site.com/wordpresspage1/?album=AwesomeAlbum
    http://site.com/wordpresspage1/?album=AwesomeAlbum&kpap=1
    http://site.com/wordpresspage1/?album=AwesomeAlbum&kpap=2

    That is, unless I insert the page link with the # character like the ff at the end:
    http://site.com/wordpresspage1/?album=AwesomeAlbum#wordpresspage1
    http://site.com/wordpresspage1/?album=AwesomeAlbum&kpap=1#wordpresspage1
    http://site.com/wordpresspage1/?album=AwesomeAlbum&kpap=2#wordpresspage2

    I reckon it's actually a very specific problem just related to the theme. As I'm not really a coder, I'm really lost. I tried editing kpicasa-gallery/kpg.class.php but I just kept on getting errors. I would like to ask if anyone would be kind enough to help me with the problem by just showing me how to insert those page values at the end of the links.

    Thanks in advance!

  2. kag
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    That theme is really doing something non-standard. I'm not sure how it works, but you can trying to search for links (<a href="...">text</a>) in the code and add # at the end of the href attribute.

    Guillaume

  3. jayaqt
    Member
    Posted 3 years ago #

    Hi! Sorry it's been a while. I actually tried before your suggestion to no avail.

    Editing <a href='$albumURL'> to any of the ff:

    <a href#='$albumURL'>
    <a href=#'$albumURL'>
    <a href='#$albumURL'>

    won't work.

    I wouldn't really know what I can do to make
    xxx.com/?album=ALBUMNAME to
    xxx.com/#?album=ALBUMNAME

    Anyway, I guess this really is an exceptional case so I might have to live with it. :)

  4. kag
    Member
    Plugin Author

    Posted 3 years ago #

    Sorry, I really don't know what to suggest. Perhaps you could try to explain your problem with the theme's developper.

  5. jayaqt
    Member
    Posted 3 years ago #

    It's okay. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic