Support » Plugins » Fancybox (not plugin) and id's in href

  • Resolved sr4136


    I installed the newest Fancybox yesterday– not a plugin, but within my template files. Fancybox works great when I use it to popup images.

    When I try to use Fancybox to pop up inline content, it does not work because wordpress is prepending my site’s url to the #selector in my link’s href.

    I have already implimented a fix for this, which strips out my site’s url, but it seems rather roundabout. Is there a way to make wordpress not prepend the url?

    Code I enter:

    <a href="#contentpop" class="fancybox">

    Code that WordPress generates:

    <a href="" class="fancybox">

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fancybox (not plugin) and id's in href’ is closed to new replies.