Skip to content

u/peird

In this archive from Apr 2018 to Mar 2025

0
posts
18
comments
0
media
59
score

Haha yes you are correct, but see it as an basic explanation to try to let you understand what ACF does.

Also try to view it on a user level too, if the client would like to be able to edit his website, the ACF plugin provides a user friendly environment. If a client without any html knowledge would have to edit a table in the wysiwyg, there is a big chance that mistakes would be made. Which won't be the case in ACF where the client would just have to update an input field.

2 points

With ACF you can add custom fields to a post, page, taxonomy, custom post types, custom taxonomies...

Here is a basic example:

I'd like to have a page with my employees on my business site. So for that I would make a custom post type called Employees. Then when adding an employee you only see a wysiwyg. But I would rather like more fields such as name, function, telephone number, email...

With ACF I would be able to disable the wysiwyg in my Employees custom post type and add a field for the name, a field for the function, etc...

ACF Pro comes with more functionality for example the Repeater field (which allows you to enter more instances of one field)

Note: Wordpress also provides a custom field functionality but compared to ACF it's nothing

You can see examples on their website: https://www.advancedcustomfields.com/

11 points

Ah yes, to be honest I personally never used the 'defer' attribute, you can edit your javascript code so it only gets executed when the DOM is loaded, as such in these 2 examples:

If you use vanilla javascript:
(function() {
// put your own js code here
});

If you use Jquery:

$( document ).ready(function() {
// put your own js code here
});

In case you really want to add the defer attribute, see: https://giogadesign.com/how-to-add-defer-async-attributes-to-wordpress-scripts/

1 points

This could be the issue, the following steps might fix it:

Go to your Dashboard (yourdomain.tld/wp-admin), then go to Settings --> Permalinks and click the 'Save changes' button, your .htaccess file will be rewritten by WP.

(Make sure that the .htaccess file is writable, else you will have to manually copy/paste the given code into the .htaccess file)

1 points

Perhaps there are resources that return a 404, which would explain why the website keeps trying to load them.

In Chrome, inspect the website (right click --> inspect) and go to the 'Console' tab, do you see any 404 errors? You could double check by also going to the 'Network' tab (you will have to reload the page), do you see any elements with a 404 status?

4 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.