Weird facebook pixel code appearing at the bottom of a webpage - wordpress

I have a weird problem on a Wordpress wesbite that I maintain: the code fbq('track', 'ViewContent'); appears at the very bottom of several pages that use the Ninja Forms plugin, here is an example:
https://www.smashdocs.net/subscribe-now/
I know that this code is used for Facebook pixel tracking but I don't have any related code inserted in the theme templates or as a plugin.
The weird thing is that the code cannot be found in the source code of the webpage. However, it can be seen when using the browser's element inspector.
The code appears only on pages where a Ninja Form is used - no other pages on the website have this problem. I tested all settings of Ninja Forms and could not find anything that has an effect on this.
I've searched on the web for this problem but could not find any help. Has anyone encountered a similar issue? I'll greatly appreciate any help on this topic.

Related

swiper.js is redirecting my lightbox to the original media URL

The swiper.min.js file that was part of my WordPress them is not allowing any lightbox related plugins on my website to load. When you click on it, you can see the lightbox arrows for a split second, then it redirects to the original media URL. Can someone pinpoint what it is in the swiper.js file that is making this happen. That way I can remove it. I would so appreciate it. I've been spending days trying to figure out what the issue is, and I've finally at least pin pointed that it's coming from swiper.min.js.
Website link where lightbox plugin is used: https://smithspecialized.com/edmonton-drawworks/
I tried removing some things in the file that I thought had something to do with the lightbox redirecting to media URL, but then it broke the code so I think I removed too much, or the incorrect section in the code.
Hey there it's difficult to find any error without accessing website from inside. If don't want to give access then-
please use different plugin or
try to disable and enable plugin, as sometime confliction between plugin caused the issue.

Search plugin breaking parts of theme

I've been asked to add a search function to a website. I'm trying this out on a testing site at http://www.somethingchronic.org.uk (the password to view is Entrand0s1).
I've installed a search plugin which works on all pages except the home page. On that page it clashes with the script in the slider plugin and when I tried deactivating the slider plugin I also lost the four large buttons at the bottom of the page which are part of the theme itself. Both the slider plugin and the theme are old but I'm hoping to keep the site going for a little while longer if I can. I asked for advice from the search plugin developer who said it's to do with the slider loading an older version of the jQuery library. I searched on here for jQuery library conflicts - one answer linked to the learn.jquery website with a list of options for avoiding library conflicts. There were a number of options for adding code - I tried adding some of these to the header.php document but each time the site broke completely and truth is I don't know enough about jQuery to know which is the correct piece of code to try. Any advice appreciated - would be great to know if there is a way to get the search plugin to also work on the home page whilst keeping the current slider. Many thanks

Lines of nonsense code where wordpress pages should be: Avada

A few of the pages on my organisation's website are displaying code - not real code - just nonsense code, like this:
���ْG�(�,��?���fUH쵲اDQj�������he $�#B�.
Go to http://www.eavi.eu/about-us/ for an example or check the image here:
I have emailed Avada's support, but I was wondering if anyone has encountered anything similar in the past and might be able to help.
I removed the Tiny MCE editor plugin and this fixed everything.
It seems there is an issue with the Avada theme and this plugin which I confirmed with someone else.

Wordpress youtube embed not clickable bootstrap

After I moved a Wordpress website to production server I noticed youtube embeds were no longer clickable. The image and play button show up but nothing more.
Tried to renew the embed code, using the build in embed function, embed via media browser,... Nothing is working and it's making me crazy.
After some trial and error things I noticed that the video does work when the main bootstrap.css file is removed. Can't seem to find a clue to the solution though.
EDIT
Yes, I tried to disable all the plugins, with no result.
Changing back to the default twenty fifteen theme results in a working video embed. But since that one isn't build on bootstrap it's just a logic fact.
Anyone seen this before?
Web page with video embedded: click here
The website is sending lots of error messages in he consolu use F12 in Chrome, apparently your www-embed-player-new.js is causing the problem. Not even Edge is running the site correctly. I think you need a Chrome extension to make it work.
I would recommend you changing the plugin that imports the videos. Check this enter link description here
EDIT:
The chrome plugin Google Cast stops the error messages but still doesn't work.
The problem was with the wordpress loop on the single.php page.
A wrong code snippet caused the issue.
Fixed!

Google plus button not working correctly in wordpress / FF when >1 button per page

I have google plus buttons beside the excerpts on my Wordpress website homepage and archive pages.
I'm using the google plus button code from Google's site:
">
The google plus button only appears beside the first post on the page in Firefox.
It works fine in Chrome.
Any ideas why this would happen? Thanks
It's hard to troubleshoot your issue without seeing some code, but here are a few things I'd check for:
Are you sourcing the plusone.js file more than once? If so, only source it once in a single element.
Do you see any errors on your JavaScript console? If so those probably shed some light on why the buttons beyond your first one are not rendering.
OK, that's only two things. Hopefully this helps anyway :)

Resources