The "No Dev Question is Stupid" Thread - Basic HTML / CSS / Etc.

Do any of you have the image "source" or "credit" displaying in a div over a corner of each image in WordPress?

CHRIS WHITE // GETTY IMAGES

I see a lot of larger media companies doing this. If you're doing the same on your site, how is it implemented? Do you use the Image Title field in WP to add that data to each image?
 
Do any of you have the image "source" or "credit" displaying in a div over a corner of each image in WordPress?

CHRIS WHITE // GETTY IMAGES

I see a lot of larger media companies doing this. If you're doing the same on your site, how is it implemented? Do you use the Image Title field in WP to add that data to each image?

Why would you do this?

The only reason I can figure is that the notorious scam company Getty Images is paying some of these media companies to use their images to tempt and entrap bots to copy their images.

Getty Images entire business model is suing people.
 
Do any of you have the image "source" or "credit" displaying in a div over a corner of each image in WordPress?

CHRIS WHITE // GETTY IMAGES

I see a lot of larger media companies doing this. If you're doing the same on your site, how is it implemented? Do you use the Image Title field in WP to add that data to each image?
Although I agree with @bernard's low opinion of the company, there is a way for 'non-commercial' sites to embed Getty Images for free in a similar way to that you describe. I would think extremely carefully about this if you were considering doing it on a site which is obviously earning money from ads or affiliate links (even if 'everyone else is doing it').

(I imagine any company might be more than happy to get backlinks from major media outlets in exchange for images, whereas the reaction to a backlink from 'bestpetfood4iguanas.info' might be somewhat different.)
 
@bernard @ToffeeLa Let's not focus on the company, I just used them as an example of one that I was looking at when posting the message. We try to buy stock photos or use creative commons images but in many cases we're "borrowing" images as we want them to be very specific.

I want some sort of standard on how we credit the content creators, that is at least a "show of good faith" for crediting them. I'm not a lawyer but understand that this is how many larger media companies get away with using images that they don't own under the guise of fair use.

So our format might be:
{{NAME}} // {{COMPANY}}, or {{USERNAME}} // {{WEBSITE}}

For example:
{{@BERNARD}} // {{BUILDER SOCIETY}}
 
While it's not the most visually pleasing, you can just put the attribution in the image caption section. Maybe add some css if you want it over the image.

While fair use is simple in theory, it's complex in practice and those media companies have deep pockets to battle fair use claims in court.

All it takes is one person to feel infringed upon. If your goal is to build a authority brand and you don't have $$ to shell out if someone takes you to court, using other people's images under the guise of fair use could be troublesome.

Just to clarify, providing credit/attribution does not absolve you of liability with respect to copyright infringement (that is to say, you can still be sued), but it may help reduce the amount of damages awarded if you end up getting sued and lose. In other words, courts will generally be more lenient and award less damages to the copyright holder in cases where you (the defendant) can show a good faith effort to credit the copyright holder and direct users to the original source material.
 
Howdy, I have a question on cPanel metrics:

What's resource usage and its purpose? I can guess what it is but when I go into the cPanel dashboard it just shows random graphs and includes technical terms like I/O resources which I know nothing about...

I got an email from my hosting provider telling me that my resource usage is about to exceed its limit and I should upgrade my plan... What does this mean for my website?
 
Howdy, I have a question on cPanel metrics:

What's resource usage and its purpose? I can guess what it is but when I go into the cPanel dashboard it just shows random graphs and includes technical terms like I/O resources which I know nothing about...

I got an email from my hosting provider telling me that my resource usage is about to exceed its limit and I should upgrade my plan... What does this mean for my website?

Depends on which resource.

CPU: Shows the CPU usage - if this momentarily goes up and spikes, they won't send an email.

I/O: Read/write operations. They will contact you if this is consistently high. But I don't think this is likely the issue either.

"About to exceed the limit" indicates something that has been creeping up somewhat steadily, assuming they set up the alert text properly.
Disk space, bandwidth, server usage percentage and other such things are likely candidates. If you post the actual message and the graph, that will be more helpful.
 
Thank you for the response.

Here's some screenshots;

Main Dashboard for the Resource Usage page:


1SOKxjU.png


Then when I click on "Details" I'm navigated to a new dashboard under the "Current Usage tab" which has these sections:

LDs3y5h.png


r5E2CEh.png


zg9C92a.png


Also under the final tab, "Options" there's this:

lAm4o9G.png


So I guess that's what triggered the notification in the first place

I've also noticed that a day or two before I got the notifcation my WP site started to become really slow. The website itself and the WP dashboard as well. When I'm trying to do basic tasks like opening up settings or editing a blog post, it takes ages to go from one screen to another. I got this notification shortly after that so thought the speed issue might be related to this.

BWT the problem isn't my net or laptop as I can browse the net and do other stuff just fine.

P.S. This server hosts 3 sites - my main site project, another WP site with Elementor (remained untouched for about 8 months), and a third site which has WP installed but I haven't done anything but installed a theme on it.
 
Is there a quality WordPress plugin, or hook that I can use to list multiple contributors to a blog post? That is:

Written by: Firstname Lastname, Role
Medically reviewed by: Firstname Lastname, Certifications
Edited by: Firstname, Lastname, Role
 
Is there a quality WordPress plugin, or hook that I can use to list multiple contributors to a blog post? That is:

Written by: Firstname Lastname, Role
Medically reviewed by: Firstname Lastname, Certifications
Edited by: Firstname, Lastname, Role
Obviously late to the party here but do you already have these authors associated with posts in the metadata somehow? In other words, is there a place in the WP Edit Post screen where you've been entering these authors' names and roles, and you're just trying to display them? Or do you need the backend setup too? Should be simple enough to set up an ACF field to enter that info.

Displaying that info is probably more dependant on the theme you're using, which may or may not include a hook in the template at the right spot for you to add in the additional authors. You could also try using something like the the_author filter, but that could get tricky in other ways. You'd probably have to check a few conditions to make sure you're only showing the additional authors in the right place (eg on the single post template rather than say the actual post author's bio page, etc), but it may be an option if your theme doesn't have great hooks or you want to future-proof against theme changes.
 
Obviously late to the party here but do you already have these authors associated with posts in the metadata somehow? In other words, is there a place in the WP Edit Post screen where you've been entering these authors' names and roles, and you're just trying to display them? Or do you need the backend setup too? Should be simple enough to set up an ACF field to enter that info.

Displaying that info is probably more dependant on the theme you're using, which may or may not include a hook in the template at the right spot for you to add in the additional authors. You could also try using something like the the_author filter, but that could get tricky in other ways. You'd probably have to check a few conditions to make sure you're only showing the additional authors in the right place (eg on the single post template rather than say the actual post author's bio page, etc), but it may be an option if your theme doesn't have great hooks or you want to future-proof against theme changes.
Thanks, we've got a short term hacky solution for this using the_modified_author. It at least gives us 2 people per post, which is a step in the right direction.
 
What are coding noobs using to make programs for personal use these days? It used to be Visual Basic 20 years ago. I just want to make something simple for tracking content planning/distribution.

I'm reasonable but not pro at all at PHP, MySQL, C, C++ and Python.
 
Last edited:
What are coding noobs using to make programs for personal use these days? It used to be Visual Basic 20 years ago. I just want to make something simple for tracking content planning/distribution.

I'm reasonable but not pro at all at PHP, MySQL, C, C++ and Python.

For your use, you can do a lot with the Google Suite, particularly Google Sheets and Google Script, which has integrations for all of the google products. It's very much the VBA of our time. I also used to "code" in VBA.

The issue with going the google route is that there are hard usage limits and you can't really distribute it or make money from it, but from a personal use case, those custom Google Sheets are very efficient and easy to create.

I use a spreadsheet for my keyword research and content planning and pull in earning data and visitor data etc using a Sheets plugin.
 
I have two questions wrt to Advanced Custom Fields. I wanted to create more dynamic content in my review posts, to avoid the hassle of changing information (e.g., pricing) in every single post. If I would start with a fresh website, I would create a new custom post type for products.

Question 1:
However, I now have the issue that I already have a lot of existing review posts created as regular post. I don't want to mess up all my slugs that are already ranking. Is there a possibility to associate existing review posts to a new post type "product" without creating new slugs?

Question 2:
I want to create a directory page with filters for products. Some products have detailed review posts and others should for the moment only be part of the directory, without offering a detailed single review post.
Do I need to create posts for every product, even if it is only visible in the directory?

Similar to the following image.

3VhecU6.png
 
@Lowrider, regarding your 2nd question, something I used to do was create a bunch of locations / products / whatever you're working with and leave them as drafts. When you write the loop to flesh out the directory, you can have the loop pull both published and drafted content. So that way you can have your detailed review posts (as published) and you can have your not-reviewed posts (as drafts), and loop over both of them to flesh out the directory. This also provides a good "if" condition if you wanted to add a button like "Read Full Review" in those boxes.
 
Question 1:
However, I now have the issue that I already have a lot of existing review posts created as regular post. I don't want to mess up all my slugs that are already ranking. Is there a possibility to associate existing review posts to a new post type "product" without creating new slugs?
If your new post type is basically a copy of the standard "post" post type and your old permalink structure doesn't include the post type slug (eg example.com/post/the-post-title), it may be safe to just update the post_type value in the wp_posts table.
 
Hi folks, just a quick one... Is there a way to change open graph properties without a plugin?
I have a woocommerce site which has content="article" instead of "product". Not sure if it matters that much but it's just one of those things that bugs me!
 
Hi folks, just a quick one... Is there a way to change open graph properties without a plugin?
I have a woocommerce site which has content="article" instead of "product". Not sure if it matters that much but it's just one of those things that bugs me!
Usually a theme or plugin is going through a process in the functions.php (or through a file that is included into functions.php) that "enqueues" items. The purpose of this is so you don't end up with doubles of things and you get it loading in the correct order, like your mobile JS menu needs to load after the jQuery library, etc.

So that's either CSS (styles) or JS (scripts). You can set a "priority" score (a number from 0-999 with higher being more important I think, double check). You'll register scripts and styles and then enqueue them. This all ends up injecting stuff into the wp_head();, which is where all that Open Graph stuff appears.

So you need to locate where and how your theme/plugins are doing it and then override it. It may not be through enqueueing but through a simple injection straight into wp_head. If that's the case, they may have set up a means to change values through "hooks", override them, or you can "deregister" certain lines and then add them back.

It's hard to say what they're doing without looking, but this is where you'd start your investigation.
 
Back