helldog2018
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Media widget throws PHP notices and warnings when using SVGHaha, but this is kind of crazy.
My website is realy not producing any of these errors.
These are my wp-config.php settings:define('WP_DEBUG', true); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); define( 'SCRIPT_DEBUG', true );I just refreshed my log file and it doesn’t produce anything.
If I try with display is true, it still doesn’t produce any warnings.
You can check it yourself via the link I send you earlier.
The SVG file is a piece of tree with a cat on it.I’ll try a fresh install tomorrow with just Seventeen on it.
Forum: Developing with WordPress
In reply to: Media widget throws PHP notices and warnings when using SVGHi @benbodhi,
I am trying to reproduce these messages on my own website.
I have added an .svg file to the sidebar image widget and also in the footer image widget. Both seem to work without fail.
Debugging is enabled, but doesn’t reproduce these messages.Did you fix this already?
- This reply was modified 8 years ago by helldog2018.
Forum: Fixing WordPress
In reply to: Plain text loads and then flips out to normal?Also take a look at your website speed test, you might find some valuable information on how to speed up your website and loading time.
Forum: Fixing WordPress
In reply to: Plain text loads and then flips out to normal?Hi @bendsc,
I don’t think there is much you can do about this, yes maybe switching host?
But this is because HTML is being loaded first, after this has been loaded THEN the .css, queries, images and other stuff are loaded.Forum: Fixing WordPress
In reply to: Help with paginationHi @jreister,
It has the body background set to black.
If you make this transparent you won’t see this anymore.You can find
body {background: #1a1a1a;}on line 465, change this tobody {background: transparent;}Forum: Fixing WordPress
In reply to: jQuery is not defined after reinstalling 4.9.5Hi @jandersen,
Can you enable debugging in your wp-config.php?
I believe you are being blocked watching this file on the front-end.Forum: Fixing WordPress
In reply to: Remove too-wide margins in Twenty SixteenHi,
Add the following code inside your style.css
.no-sidebar .entry-header, .no-sidebar .entry-content {margin-right: 0px; margin-left: 0px;}The width of the
<div id="primary" class="content-area">has an inline width of 70% (this needs to be edited in the php file.Forum: Fixing WordPress
In reply to: Site disappeared after switch to httpsGreat, happy it’s solved.
Forum: Fixing WordPress
In reply to: Endless Loading when previewing pagesAh okay, that makes things clearer.
Possibility is whitespace on certain files like functions.php
There might be whitespace before and after<?php ?>This is just fishing in the deep, but again. Activating debugging on the wp-config.php file is a good idea.
Reload the page and show us the errors it is displaying.Forum: Developing with WordPress
In reply to: Make plugin translatable – not workingHi @flintstoned,
I believe that hosting your translation via translate.wordpress.org your plugin must also be contributed via wp.org (I think if you are still developing the plug-in it is not being contributed yet).
HERE is a tutorial on how to start creating your own internationalization for themes and plugins and how to eventually use the translate page of wordpress.
Cheers.
Forum: Developing with WordPress
In reply to: Make plugin translatable – not workingHi @flintstoned,
Did you also added the header to the plug-in?
/* * Plugin Name: My Plugin * Author: Plugin Author * Text Domain: my-plugin * Domain Path: /languages */Make sure the Text Domain: is same as slug (I believe in this case ‘my-text-domain-same-as-plugin-slug’)
Also the Domain Path: is where the .mo and .po files are placed.
Read HERE for more information.Forum: Fixing WordPress
In reply to: CommentsHi @shieldfire,
I am happy it is solved.
As for the naming of the checkbox, this was on my side just a complete guess. Therefore I send you the link to a more detailed documentation.Have a great day.
Forum: Fixing WordPress
In reply to: Admin Dashboard not Displaying CorrectlyHi @lorenzo87,
For this we can try two things, of which the first will most likely not work (but we can try) and the second might work but it’s a hardcoded tweak which we can use as a last resort.
1. Open up your wp-config.php file and insert the code
define( ‘CONCATENATE_SCRIPTS’, false ); define( ‘SCRIPT_DEBUG’, true );After adding this code, refresh the page a couple of times.
2. If first option does not work then open up load-styles.php (you can find this file in wp-admin/load-styles.php. Now find
error_reporting(0);and change this intoerror_reporting( E_ALL | E_STRICT );After option 2 refresh the page a couple of times until styles are completely back. Once the styles come back, you can revert the line back to original.
Let me know if this works.
Well you can insert this in for example a newly created plug-in.
Here is an more detailed tutorial on wp_remote_get()Forum: Fixing WordPress
In reply to: Endless Loading when previewing pagesHi @mrsb26,
What browser are you using? Because I opened your website correctly on Edge, Mozilla Firefox and Google Chrome.
You keep seeing the loading icon I suppose?
And did you clear cache on your device? i.e. install CCleaner and clean device.
Test again.