WordPress.org

Forums

[resolved] Can I use Shadowbox JS witin a template? (3 posts)

  1. Neremor
    Member
    Posted 4 years ago #

    Hello!

    I would like to use the Shadowbox JS Plugin in my template pages. So I added the "rel="shadowbox""-attribute to a link in the file archive.php...

    But the link isn't opend in a popup. Here's the code:

    <?php
    echo '<a href="'.get_bloginfo("template_directory").'/tagcloud.php" rel="shadowbox">By tag</a>';
    ?>

    The code was shortened of course, the file contains over 100 lines of code...

    Thanks in advance for every help :)
    Greetings, Jonathan

  2. Neremor
    Member
    Posted 4 years ago #

    Sorry, I have to correct myself, Shaddowbox isn't working for the complete page...

    I allready tried to change the Javascript Library...

  3. Neremor
    Member
    Posted 4 years ago #

    Ok, I solved it... The <?php wp_footer(); ?> wasn't in the footer.php, I thought i had seen it, but i was mistaken.

    Sorry for the topic, again!

Topic Closed

This topic has been closed to new replies.

About this Topic