Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The ‘1’ in #wppa-bc-1 is not the album id, but the wppa+ occurrance.
    The script shows up in your page at the very beginning ( even before <!DOCTYPE html>.

    Put the script right BELOW the shortcode in the page.
    It can be even simpler:

    <script type="text/javascript">jQuery('#wppa-bc-1').css('display', 'none');</script>

    BTW:
    There are two blocks of js code using $ for jQuery. jQuery is loaded in wp in the so called safe mode. You should use jQuery() in stead of $().

    See the page source from within the browser

    Thread Starter charles_i

    (@charles_i)

    Thanks. That worked. You should update that here https://wppa.opajaap.nl/wppa-tutorial/a-portfolio/ and explain that it’s supposed to be on the WP Page. Actually, that’s a great tip and it’s somewhat buried in Portfolio – maybe you should make it a Script Reference item.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't get the JS to remove breadcrumbs to work.’ is closed to new replies.