Any wordpress lightbox not working - php

I created a wordpress theme from blank. But I have some problems. I installed Jetpack but Carousel is not working. If I select the twenty fifteen theme it is working. I also tried many lightbox plugins, but none of them work.
I think this problem is about function.php. What can I do to fix this?

There might be a javascript conflict on one of your plugins, and possibly, on your theme. To debug, first try to set your theme to twenty fifteen, after that deactivate all your plugins, except for the lightbox plugin that you're using. Check if the lightbox plugin is working. If it is, then start activating each plugin one a time. Everytime you activate a plugin, make sure to check the lightbox if it is working or not. If the lightbox stops working after a certain plugin is activated, then that could be a sign on conflict on the javascript.
Let me know if you we're able to do what I suggested. Also, it would be easier for others to help you if you can post a link to a site where you are trying to to install the lightbox.

Related

How to fix CSS of the plugin?

I have installed the same "WP google Translate" plugin on 2 websites. I have noticed that on one of the websites the plugin's pre-set colors and images (flags) are gone (http://prntscr.com/jqdxpx) while on other website all is ok (http://prntscr.com/jqdyc4). I have tried to disable all plugins except this one, but no luck. Also tried to overwrite this plugin from the website where this plugin forks well but no luck. I noticed that any changes to the appearance I make in the settings of this plugin does no effect for it. Any ideas what could cause such behavior?
Do you have the same Theme on both websites? Maybe the theme css is overriding the plugin css?
The best approach to check whats going on, is to use a browser debugger tool.
I use chrome. Hover with your mouse over the problem element, right click and choose 'Inspect'. Chrome dev tools will open and the element is selected. You can then see the Styles (css) that are active for that element.
Do this for both websites and compare the styles that are active.
You will then know the cause of the problem and go on from that point.
p.s. if you need any help you have to share the url's, so i can check for you.
Regards, Bjorn

Wordpress div "This domain has recently been listed in the marketplace"

This morning, I found that in all my WordPress website pages, there is an implemented div saying "This domain has recently been listed in the marketplace. Please click here to inquire."
Note that I checked my domain and I still got 2 months left before payment, I tried to upload an HTML page to test if this message appears in any page on the server, it seems that it displays only on my WordPress website www.speedaero.com.
HTML test page: www.speedaero.com/ma.html
WordPress is notoriously insecure and your site has probably been hacked. Restore from backup, upgrade WP and plugins and eliminate any unnecessary plugins.
It once happened to me as well. I used a theme not from a legit seller. When I removed it and use a default theme - Twenty Sixteen theme from wordpress.org - the div tag contains above notification is gone.
Just try to disable your current theme then install and activate a default theme.

I can't move widgets in the Wordpress sidebar

I have an issue with a wordpress theme that I'm using, where I cannot add widgets to the sidebars. The drag and drop function does not work.
I am able to move widgets around in other themes.
I was wondering what kind of code in the theme may be causing such an issue?
I have tried to fix this by adding a Google plugin, but it doesn't seem to have helped.
Are there any plusgin that allow me to edit widget without the drag and drop functionality needed by default?
This is a common problem with themes that don't correctly enqueue jQuery. Switch to the twentytwelve theme and see if widgets work; if so, it's your theme. (It could also be a plugin problem.)
You need to
use Firebug with Firefox, or use the developer tools in Chrome or Safari or IE to see what javascript is loading on your site and any errors.
Ask the theme developer if you can't debug javascript. The error you see undefined' is not an object is too vague to figure out without much more info.
I had a similar problem - found out that by deactivating the feedburner plugin it got resolved. Some kind of possible conflict there - see if disabling any plugins would help?

How do I get TinyMCE Advanced working in Wordpress?

Here is an image which shows the site I'm working on: Link to how the current editor looks
I'm doing some maintenance and conversion on a wordpress site. My client is not fluent in HTML, and wants to be able to edit pages in a WYSIWYG fashion. However, this option does not exist in the current editor. (see image)
I have installed TinyMCE Advanced as per the instructions, it appears in my plugin list (also in the image), and activated the plugin, but I'm not seeing any changes. Is there a base TinyMCE plugin I need to install first? I was under the impression that Wordpress came pre-installed with it.
Some more info:
This is Wordpress 3.4.2
The TinyMCE plugin (if there is one) does not appear in the plugin list.
I do not know if there is an option in any panel where you choose which
Is it also possible to simply add the button to the current TinyMCE configuration? Any assistance would be appreciated. Thanks,
-Tom

How do I execute PHP in Wordpress 3.2.1 pages, posts, widgets, etc?

I've been using the Exec-PHP plugin, but it's no longer working with the latest update to WP.
Anyone else run into this problem and find a solution?
Try this plugin which I have run successfully on a WP 3.2.1 site.
http://wordpress.org/extend/plugins/php-code-widget/
Try this plugin, http://wordpress.org/extend/plugins/allow-php-in-posts-and-pages/
You do not necessarily need to install a plugin, have a look at this idea of LxC, it worked for me with WP 3.5.1. ->PHP in WP Post without plugin
You basically add a function to your theme which will execute the embedded php code. This function you then call before the post's text gets filtered by WP, simple and effective :)

Categories