mintertweed
Forum Replies Created
-
Okay, moved my JavaScript and jQuery to
html-footer.php
and I made sure each one is wrapped by<script>
tags. It’s still not working though. U_UI’m sorry for being such an idiot right now. Been up for quite some time. I just placed the jQuery code in its proper place, the
html-header.php
rather thanfunctions.php
. Nothing seems to be affected though.I tried using the code on the page you suggested, but something is wrong with my PHP. I’m good with CSS and HTML, but I don’t have much understanding for PHP. When I throw this…
jQuery( document ).ready( function( $ ) { setInterval( function() { $( '#content' ).masonry( 'reload' ); }, 300 ); });
…into my
functions.php
file, I get this: Parse error: syntax error, unexpected ‘$’, expecting ‘&’ or T_VARIABLE in /home/content/38/10423038/html/wp-content/themes/starkers/functions.php on line 143. What am I missing?Here ya go.
Everything works when I switch it over to TwentyThirteen. So, that means it’s my theme. Hmm. I’m using Starkers. Any suggestions on how to fix this? I like Starkers because it has everything stripped out and you can start from scratch, but I’ve had to add a lot of things into my
functions.php
file to get some functionality.Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack & FooterHere ya go: CSS-Tricks Forum. It’s a really good site for HTML/CSS/jQuery questions.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack & FooterThe people over at CSS-Tricks helped me out with this one. Basically, you need to target the image tag from WordPress.com Stats, like so:
img#wpstats { display : none !important; visibility : hidden; }
Otherwise, it adds this tiny, itty-bitty smiley face at the base of your website, pushing the footer up. Hopefully this helps those who didn’t see the smiley face. I sure didn’t until someone pointed it out.
I just looked at my
Console
in Google Chrome and this is what I get:Uncaught TypeError: Cannot read property 'top' of undefined infinity.js?ver=20130523:85 Uncaught TypeError: Cannot call method 'apply' of undefined jquery.masonry.min.js?ver=2.1.05:10
So, that means that there’s something wrong on Jetpack’s end and not mine? Because that would be Jetpack’s JavaScript files. Hrm.
Forum: Plugins
In reply to: [Firelight Lightbox] No overlay pop up after 1.5.1Forum: Plugins
In reply to: [Firelight Lightbox] Easy FancyBox Auto-Popup IssuesI changed the location of the auto-popup, here, and the code is a little different now:
<a id="fancybox-auto" href="#fancyboxID-1" class="fancybox-inline"></a> <div style="display:none" class="fancybox-hidden"> <div id="fancyboxID-1" class="hentry" style="width: 368px; height: 220px;"> <div class="fb-like-box" data-href="https://www.facebook.com/feelgoodcandy/" data-width="393" data-show-faces="true" data-stream="false" data-show-border="true" data-header="false"></div> </div> </div>
I still have the issue with the “X” button, but there is no Facebook comment box with the new code.
Forum: Plugins
In reply to: [Firelight Lightbox] Easy FancyBox & Contact Form 7Can you provide a link to your website? It looks like you are correctly calling the contact form with your HTML that you have given.
Forum: Plugins
In reply to: [Firelight Lightbox] Google Chrome, Adobe Flash, & Easy FancyBoxHrm. I thought I responded to this thread. I guess not. I just wanted to say that your solution works perfectly. I disabled PDF and SWF support in Easy FancyBox and enabled iFrame, changing the link’s class to
class="fancybox-iframe"
and it works beautifully. Thank you so very much!Forum: Plugins
In reply to: [Firelight Lightbox] Google Chrome, Adobe Flash, & Easy FancyBoxAlso, in Google Chrome, when you click on a *.PDF to view it in Easy FancyBox, it skips to the second page, instead of displaying the first. This is not so horrible because whomever is viewing the document can simply scroll up, but my previous post is nearly a deal-breaker and I love using Easy FancyBox. Please respond.
Forum: Plugins
In reply to: [Firelight Lightbox] Easy FancyBox & Contact Form 7I’m glad I could help. And thank you for the style information. I will try to leave a message on Geektastical. It seems to be a fairly old post, but it is one of the first links that pops up when you search on how to combine the two WordPress plugins. Cheers!