How to fix CSS of the plugin? - php

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

Related

Wordpress Dashboard Display error

I have a huge problem with my wordpress dashboard display. After I upgrade to wordpress 4.5 my dashboard gone crazy.... its seems like it is not displaying css correctly. Its really killing me cause I could not write any article ...which very bad for my website. My dashboard looks like:
This is what seems to be the problem:
I tried everything. First I thought that is might be chrome's problem. I deleted history/cache ...etc. Not working. Then I deleted chrome and reinstalled it. Not worked. Then I used firefox, opera,internet explorer ... not worked. I put one friend of mine to look... it seems also the same to him. Then, I deleted wordpress 4.5 core file (wp-admin, wp-include) from ftp and installed back wordpress 4.4.2 and it looks the same..... I'm really desperate. I sought help on wordpress official website.... nobody helped me.... its crucial for me to solve this problem I really live with site's help. I really don't have any idea to solve it. This is killing me :(.
I appreciate any help.....
Add below code in wp-config.php file of your WordPress.
define('CONCATENATE_SCRIPTS', false );
It should solve your problem, you can read more details on below link.
http://manovotny.com/fix-wordpress-admin-styles-not-loading/
jQuery is not defined errors usually indicate that jQuery hasn't been loaded at all, so then other scripts that depend on jQuery being present throw the error.
Where are you loading jQuery from? According to this issue someone had a problem where they were including jQuery from Google's CDN, and WordPress was trying to load a version of jQuery that wasn't present in Google's CDN.
A link to your site would be helpful - it's difficult to determine what all is going on from only that screenshot.
It also looks like your site isn't loading any of the CSS for the admin area. Have you doublechecked your WordPress address and Site Address options in the admin?
This might also be set in your wp-config.php file:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
If your WordPress Address (which is the same as WP_HOME) setting doesn't match the URL with which you're trying to access the WP admin area, then you'll see symptoms like your site is exhibiting, where CSS doesn't load properly and some javascript may be missing.
One more suggestion: try activating a different theme temporarily (such as Twenty Fifteen) and see if that fixes up the WP admin. You may have a conflict specific to your current theme package.
Take care of adding define( 'CONCATENATE_SCRIPTS', false ); at the top of declarations, after comments.

Wordpress page wp-admin/edit blank for almost all functions

I am trying to figure out a solution to a problem that have occured for my father, who has absolutely no knowledge of Wordpress or what he's been doing with his page. Me myself don't have too much knowledge of Wordpress or its functions, but have tried to find a solution on my own.
The problem: After logging on to the Wordpress admin page (wp-admin/edit) from the webpage (http://[webpagename].com/wp-login.php) only the left panel is visible for almost all functions except a few. Only the following page-tabs return pages with information
Admin->Akismet statistics
Addons->Configure Akismet
Tool->Backup
Settings->Google analytics
Settings-> MapPress
Settings->Language
Settings->Coming soon
Contact
All other tabs turn out as white pages to the right. I have tried in up to date browsers Google Chrome, IE 11 and Firefox. The webpage is fully visible and functional in itself, it is only when trying to change it via wp-admin link I have problem.
I have read the answers to similiar problems in the links related to this post: wp-admin shows blank page, how to fix it? (I can not post the links myself since I am a new member).
But all of above seems to use an installed program to configure the pages and the solution mostly boils down to disable installed plugins or running the page in debug mode. Since we don't have a program installed nor have the choice to disable any plugins or configuring any files, none of these solutions are applicable as I can see it.
Does anyone know why we can't configure the web page anymore using the http://[webpagename].com/wp-login.php page?
Thank you for your time.
Regards
Rasmus

Wordpress update cause visual editor blank

I updated my wordpress website version with 3.9.2. After updating when i try to add or update any page or post, visual editor tab shows blank. It does not display toolbar buttons or page or post content. Text tab works fine
I tried following solutions provided on different sites with no luck
1) clear browser cache
2) deactivating all plugins
3) change to default theme and again change to desired one
The people who had the same issue had cured the problem by doing one of these suggestions:
1) Install “Use Google Libraries” plugin
2) Add to your wp-config.php file:
define( ‘CONCATENATE_SCRIPTS’, false );
3) Download a refresh version of WordPress from WordPress.org and via ftp replace /wp-includes/js/tinymce folder
4) Download a refresh version of WordPress from WordPress.org and via ftp replace /wp-includes folder
I tried all above solutions but no success :(
I also refer following links but could not find solution
Wordpress Visual Editor broken
Visual editor not working in wordpress 3.8.1?
I have attached screen-shoot for visual editor tab and text editor tab for one page
Please help
I had this issue on APlus.net Hosting and had one heck of a time fixing it. All the text in the Visual Editor was white, and I couldn't get to the HTML tab. The Visual Editor was missing all the formatting buttons -- it was just a white empty space.
After trying everything listed across the web without success, I was finally able to track down the culprit on APlus hosting. It turns out APlus hosting injects their own analytics tracking code into even the WordPress Admin pages. The code for their analytics wasn't written properly -- the code was missing a final ending apostrophe, which resulted in breaking all the code that came after it. In my scenario, the injected code broke the Page Editor TinyMCE JS code.
I checked the Google Chrome inspector to find the error in the code, and after talking with a Tech Support rep at APlus I was able to fix it by deleting the analytics file on the server via FTP:
/private/.wmcnum
I hope this helps. If anything check out the Google Chrome inspector and look for errors. If it's something you can't change, definitely get in touch with your hosting provider.
I've seen an issue like this before. For me, the site we were updating had many out of date plugins. The one that caused our issue was WP Polls. Something went wrong during the update process, and certain files were missing from the plugin directory. I kept a backup of all of the files from before the update, but even re-uploading them didn't fix it. We ended up removing the plugin that was causing the issues and re-installing it. If you can narrow down which plugin might have some discrepancies, then I'd recommend backing everything up (including your database), deleting the plugin, and re-installing it.
If it was simply a WordPress update, it may be that not all of the WordPress files copied over. If you can get a fresh install of WordPress 3.9.2, you can compare the differences between those files and the files on your site. If you're getting an error from somewhere in wp-admin, I'd start my check there.
This is the solution that worked for me:
“Use PHPMyAdmin (or another database editor) to search inside your WordPress database in your “wp_options” table for the record called “can_compress_scripts”. and if it has a value of “1” for the “option_value”, change this to “0” and save the change. You will find your editor working again! (Note: Sometimes this record won’t even exist, so in that case you need to add it. Look for a WordPress database that does have it in order to see what you need to add.)"
original answer by digbymaass:
https://wordpress.org/support/topic/visual-editor-missing-buttons-not-working-white-text-help-1/
In my experience I've had some problems with the tinymce editor. Some of my clients reported they've 'lost' some of the buttons in the editor (or all of them).
I found that disabling emojis with the tiny_mce_plugins filter not also disables emojis but half the buttons in the editor.
Maybe you have somewhere in functions.php this line, just comment it and refresh cache. Let's see if that helps.
add_filter( 'tiny_mce_plugins', 'disable_emojicons_tinymce' );
I checked all over about this. I could not edit or see text in wordpress posts or pages. It seemed to narrow down to the tinymce plugin where I found errors through the Chrome console. I tried a number of things without luck. So I disabled tinymce and all is running smoothly. How simple for a problem with so many variables and options for a fix.

My wordpress.ORG theme breaks comments functionality

I'm helping to develop a wordpress.ORG website (www.teloscares.org). The site is using a custom theme that I didn't develop (for the record, I know very, very little about php or css) and for some reason the theme is breaking our ability to view or leave comments. IS there any advice on how I can track down what about the themes .php files is breaking it or where I can look it up? Please feel free to point me in the right direction if it's not a quick, easy fix somehow. When I switch to the wordpress "2012" theme it works just fine, which is how I was able to determine that it was our theme. Any advice would be appreciated. Thank you.
First of all disable all your plugins, see if that fixes the problem? If not then the problem is indeed with your theme. You can track down problems by enabling WP_DEBUG, you can do that in the wp-config.php file which you can find in the root of your WordPress installation directory.
Links from the very mighty codex:
http://codex.wordpress.org/WP_DEBUG
http://codex.wordpress.org/Debugging_in_WordPress
http://codex.wordpress.org/Editing_wp-config.php#Debug
EDIT
It appears that the OP's theme didn't have any comment functionality at all, so there wasn't anything wrong it just wasn't there. You can add the comment functionality yourself using comments_template()
More in the mighty codex:
http://codex.wordpress.org/Function_Reference/comments_template
http://codex.wordpress.org/Function_Reference/comment_form
http://codex.wordpress.org/Function_Reference/wp_list_comments
You can use Disqus — it's widget is JS-based, has Wordpress integration, supports login with social network accounts and works fine

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?

Categories