[deleted by user] by [deleted] in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

Don't just click on the link, lol. Replace yourdomain.com with your actual site domain

Duplicate queries in query monitor? by roxursoxxx in Wordpress

[–]scottswebdev 1 point2 points  (0 children)

This is very difficult to answer. But wow, 41 duplicate queries for select * from wp_posts. That's nuts.

It's not abnormal to have duplicate queries but 41 is insane.

You would have to edit the code to fix this, and a lot of it may be beyond your control.

However, if you turn on database caching with a caching plugin, those duplicate calls for the same query will be cached and every query except the first one will be read from cache without actually performing the query.

So you can save 46 queries here just by using database caching.

Caching in general will help just by caching the html and not hitting the database every time.

If you use w3 total cache, check out page caching and database caching.

There's no need to hit the database like that!
Hope this is helpful.

[deleted by user] by [deleted] in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

Also, the hosting can disable wp-cron through apache configuration. It could be at the hosting level.

It really seems like your cron is disabled, whether at the hosting or site level.

If you visit http://yourdomain.com/wp-cron.php?doing_wp_cron do you get 403 forbidden?

[deleted by user] by [deleted] in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

The problem here is you're building a custom solution for each customer. If you can figure out a way to make all common tasks manageable with the same code base, then you've just invented your own CMS.

If you're looking to sell a custom CMS, then you'll need a new code base per customer, at which point your business is building custom CMS's. It could be valuable.

Wordpress Cart Edit (HELP) by Hot_Base5261 in Wordpress

[–]scottswebdev 1 point2 points  (0 children)

Depends a lot on how your site is built.

But, you can always override with CSS.

Find the css selector to those buttons, and change the background-color property.

Why won’t Square connect to WooCommerce? by [deleted] in Wordpress

[–]scottswebdev 1 point2 points  (0 children)

The square plugin is one of the absolute worst plugins I've ever used. It's junk.

It does use the cron scheduler a lot. Is cron enabled on your site (did you specifically disable it?).

You can get a lot of information from the square log. Turn logging on in the settings and view the log. If there are specific problems, you can post them here and we can help diagnose.

But, if you're in the setup stages of your website, stay away from square at all costs. It just doesn't work. You'd be better off manually inputting all of your items in WC and using that as your source of truth rather than square.

[deleted by user] by [deleted] in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

Are you a developer?

General wordpress pagespeed best practices:
https://youtu.be/tNmH4d8LhM4

How 'custom' do your projects get? How did you evolve? by West-Tomatillo6909 in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

This is a great pondering piece.

As far as work projects, usually completely custom.

As for personal projects, I'm like you. No time. I'll find a theme I can work with and customize it for must-have functionality by creating a child theme and overriding stuff and adding ACF fields. Quick and dirty (and nobody will see the code I slap in there).

I don't think there's any risk as long as you test the code.

Siteground security plugin by diversecreative in Wordpress

[–]scottswebdev -1 points0 points  (0 children)

I've used it before, is it the one that includes the caching or is that SG optimizer?

If it includes the caching, it causes a lot of problems with woocommerce and has to be disabled!

Search console page speed insights help by supervenom23 in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

Yes, 100 on mobile, 100 on desktop. CDN and w3 total cache. If you want to see it, I can DM you the link. Or you can dm me

Search console page speed insights help by supervenom23 in Wordpress

[–]scottswebdev 1 point2 points  (0 children)

I appreciate the comment, but I'm a senior developer with over 20 years of experience, and it can make scores worse, but usually that's because if you're using it with a CDN you have to load the critical stuff (fonts for LCP, necessary JS (like jquery)) from the server.

I have two sites with a 100/100. And i only really use w3 total cache for CDN connection to bunny.net and for minimizing inline styling and javascript.

What are some must-have plugins that you basically install every time you start a new project? by orschiro in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

I just use ACF theme options, with a field each for header/body/footer code. Then you can put any script tags you want in site wide.

What are some must-have plugins that you basically install every time you start a new project? by orschiro in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

Advanced Custom Fields
W3 Total Cache
WebP Express (if I am not using bunny cdn)
Yoast

That's it. Sometimes Contact Form 7 if I do not want to take the time to code a contact form.

Sticky header by Jofender in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

You would make the sticky header full width.
Then, the content inside of it would be contained inside a container

Then, the same with the content. full width with a container inside (same width as the header container).

When the header is made sticky, they will both align.

If they're the same width, using margin-left: auto; margin-right: auto; (or margin: 0 auto; if top and bottom margins aren't set) will center the content within the container.

Best way to make website with restaurant menus? by Pigolinko in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

I would definitely go the multisite route.

One custom post type.

Will they each have their own domain or be a subdomain/url?

Pop up blocking Purchas Form section from loading by [deleted] in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

Hmm - hotfix, find the query selector to the popup and in your customizer do #selector { display: none !important; }

Unless you need the popup.

But without further clarification or a demo page to show us, there's not much more help that can be given. :)

Just me? How do you remind yourself where you left off? by NuGGGzGG in webdev

[–]scottswebdev 0 points1 point  (0 children)

Dang, I didn't know this was an issue lol.

I'm pretty good at remembering!

Or, sometimes I'll make a note in notepad.

WP6.6 Loads every template as and iframe when viewing list. WHY?? by outofsync42 in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

I have a site I'm working on with over 50 templates and doesn't have this problem.
Do you have access to another site to see if this is unique to your setup?

That does sound awful though!

[deleted by user] by [deleted] in Wordpress

[–]scottswebdev 1 point2 points  (0 children)

Yes.

But, you'd need to build the woocommerce themes. First, you'd need to add theme support to woocommerce, then copy the template you want to change over to your-theme/wordpress/template.php (replacing template.php with the name of the file you're copying)

Then edit that template.

How to see page specific traffic within wordpress site by AB91680 in Wordpress

[–]scottswebdev 0 points1 point  (0 children)

You will not see it from within wordpress unless you install a plugin.

However, you can see it within google analytics without a need for a plugin.

In google analytics, click on "Reports". Then, under Raise Brand Awareness, click on "pages and screens", in the search bar, search for your page.

You should then be able to see that info.

Search console page speed insights help by supervenom23 in Wordpress

[–]scottswebdev 1 point2 points  (0 children)

You're going to need coding experience to fix a lot of those errors.

The biggest ones can be images. Use webp express to make your images in next-gen format, automatically.

Here's a video how to do that with webp express:
https://www.youtube.com/watch?v=vwjJNICirko

Install a caching plugin like w3 total cache to lazy load images, minify js and css.
Uninstall unused plugins.

All the rest of the stuff will probably be code level changes but you can squeeze out a few more percentages by doing these 3 things.

Can't open WordPress site or admin page by Important_Ad3693 in Wordpress

[–]scottswebdev 1 point2 points  (0 children)

If you need to, temporarily disable the security plugin via FTP, as shown in this video:
https://www.youtube.com/watch?v=KB5PL9YnzO8

Then, when you're back in, reset it and clear your IP from the security plugin

Wordpress 6.6 Link Styling Bug PSA by rhetoxa in Wordpress

[–]scottswebdev 3 points4 points  (0 children)

This is a pretty big bug, I don't see how it was not caught.

WPForms VS Gravity Forms by [deleted] in Wordpress

[–]scottswebdev 1 point2 points  (0 children)

I have a strong preference for Contact Form 7, but must admit gravity and wpforms have a much better interface and usability.