Mihail Vasilchenko
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: 8853 code showing on all webpagesHi @phods,
I think it can be added by a theme or a plugin.
Did you tried changing the theme to default one and disabling the plugins one by one?
By doing so you can find the culprit.
Let me know it helped.
Thanks
Forum: Fixing WordPress
In reply to: Sorting Categories doesn’t workHi @novufr,
I tthink you need a plugin like https://wordpress.org/plugins/taxonomy-terms-order/ to drag and drop reorder categories.
let me know if it helped.
Thanks
Forum: Developing with WordPress
In reply to: Custom post type has no fields at allHi @suityou01,
And what happens if you remove the capability_type?
It should show all the fields you have in the supports array.
Did you inspected it using dev tools? Maybe there is a css which hides them? https://developer.chrome.com/docs/devtools
There may be a Javascript error. Check console too. https://developer.chrome.com/docs/devtools/console
Also you can enable error logging in wp-config.php https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
You can also try disabling plugins and changing the theme to default one.
Let me know if any of these helped.
Thanks
Forum: Networking WordPress
In reply to: Security IssueWelcome @drtux2684,
Do you have any Woocommerce template overrides in your theme or it’s the default Woo account page?
If it’s the default one I think the best thing you can do is to contact the Woo support team and let them debug. https://wordpress.org/support/plugin/woocommerce/
Forum: Networking WordPress
In reply to: Security IssueHi @drtux2684 ,
First of all you should always keep your themes, plugins and WP version up to date. Do a backup first.
Change admin user passwords, your ftp passwords and database password
You can also install a security plugin like Wordfence and run a vulnerability scan
You can also contact your hosting provider and ask to run a malware scan
Forum: Networking WordPress
In reply to: Redirect to subsitesHi @sirhcdp
This one is a bit outside of WordPress support forums but to point you in the right direction you’ll need to install https://www.iis.net/downloads/microsoft/url-rewrite on your IIS server and create your redirection rules.
Here is a guide on how to create the rules https://learn.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module
Thanks
Forum: Developing with WordPress
In reply to: upgrade galery with lightbox functionGlad it worked for you. Let me know if you need any help.
Thanks
Forum: Developing with WordPress
In reply to: upgrade galery with lightbox functionI see @danielwerner23
When I use this plugin it auto adds lightbox on gallery image click in the frontend.
Not sure about the switch you’re talking about.
Are you using the default WP gallery block or some kind of custom solution?
You can also use a JavaScript library like https://simplelightbox.com/
There is a plugin too https://wordpress.org/plugins/simplelightbox/
Make sure that in the gallery settings you’ve selected link to media file (lightbox needs the link to full image to work properly)

If it doesn’t work out of the box you can try firing some JavaScript manually:
var lightbox = new SimpleLightbox('.gallery a', { /* options */ });https://simplelightbox.com/#usage
You should replace .gallery class with one one you use in your theme like .wp-block-image etc
Do you know how to add JavaScript to your theme? https://themeisle.com/blog/wordpress-custom-javascript/
Forum: Developing with WordPress
In reply to: upgrade galery with lightbox functionHi @danielwerner23,
You can use a plugin like https://wordpress.org/plugins/gallery-lightbox-slider/
I think it should work with your existing blocks.
Forum: Fixing WordPress
In reply to: Help! Site is taking too much time to loadHi @manira,
Another great tool to check performance is https://gtmetrix.com/reports/charitharth.com/jSnuseS2/
I think you should compress images as @corrinarusso suggested. You can also try https://wordpress.org/plugins/ewww-image-optimizer/ for compression and webp.
Thanks,
MForum: Fixing WordPress
In reply to: Auto display a gallery of blog post imagesHi @demonboy,
I think you can try something like https://wordpress.org/plugins/simple-lightbox/
It will work if the image is linked https://wordpress.org/support/article/inserting-images-into-posts-and-pages/#image-link
They even claim in can automatically add the links:
Automatically activate links (no manual coding required)
I think there is an option to group the images as slideshow too:
Group image links (play as a slideshow)
Group image links by Post (separate slideshow for each post on page)Thanks,
MForum: Developing with WordPress
In reply to: Check current login userHi @roelfk7,
I think you forgot to add quotes before and after ‘You’ and a semicolon ; before the closing php tag ?>.
It should be
<?php echo 'You'; ?>Thanks,
M- This reply was modified 4 years, 9 months ago by Mihail Vasilchenko. Reason: added code tags
Forum: Fixing WordPress
In reply to: My Website Just Crashed As I was Updating WordPress 5.8You’re welcome!
Forum: Fixing WordPress
In reply to: How to properly measure the speed on the website?You’re welcome!
Forum: Fixing WordPress
In reply to: How to properly measure the speed on the website?@anag385 I did some testing on pagespeed and gtmetrix and yes, it’s the redirection.
It takes about a second to do the http to https redirect. And 3 seconds to do a www to non www redirect. And http://www takes 4 – 5 seconds to redirect to https://. I think there is something wrong with the server configuration and you should contact hosting support.
As for search engine indexing I don’t think it will be an issue if your submitted sitemap has the https non www links.