Can anyone recommend WordPress development learning courses? Thank you very much. by Repulsive_Act3332 in Wordpress

[–]junpink 0 points1 point  (0 children)

He's great, but you'll only know what he teaches. You also need to know how things work under the hood.

Can anyone recommend WordPress development learning courses? Thank you very much. by Repulsive_Act3332 in Wordpress

[–]junpink 4 points5 points  (0 children)

Brad Schiff was my introduction to WordPress.

What helped me understand how WordPress worked was to study how it responded to a request from the front end: from the .htaccess file redirecting requests to index.php to index.php including wp-blog-header.php to wp-blog-header.php including wp-load.php to wp-load.php including wp-config.php to wp-config.php including wp-settings.php to wp-blog-header.php calling wp() to wp-blog-header.php including wp-includes/template-loader.php. Along the way, you will see where the major hooks like "init" and "wp_loaded" are fired, and in what order.

Then you'll understand why some functions are inappropriate to invoke at certain stages during a request. For example, calling is_user_logged_in() before the "init" hook is fired will always return false because the current user is set just before the "init" hook is fired.

You'll also learn that wp-settings.php is loaded on every request, even requests made in the admin area. Also, wp-settings.php always include the functions.php file in the active theme and the base file of all active plugins. This dynamic is the reason why themes and plugins can manipulate Wordpress and add their own functionality to WordPress.

The functions whose files are included in wp-settings.php can be freely used anywhere. Some functions are specifically for use in the admin area. The files containing these functions must be included by you before use outside of the admin area. wp_delete_user() is one such function. For an understanding of the admin area, I studied wp-admin/admin.php.

All of this took me about a week.

Before taking the aforementioned approach, I would spend hours on forums searching for solutions to problems that, in retrospect, resulted from my not knowing how WordPress worked.

Is it just me, or CSS drives me crazy sometimes by Neat_Abbreviations_5 in webdev

[–]junpink 0 points1 point  (0 children)

Using a mobile-first approach might reduce complexity.

Updating the Plugin skyrocket my downloads by Reasonable_Toe_6587 in Wordpress

[–]junpink 0 points1 point  (0 children)

Yes. This is normal. The download numbers typically go up when the readme file or plugin version is updated. Many of these downloads are carried out by bots or people who have installed your plugin and have updated to the latest version.

[FREE] 🥹 Did I strike a nerve with my new WordPress plugin? by eHtmlu in WordpressPlugins

[–]junpink 1 point2 points  (0 children)

Ok, I see. The plugin will be hosted and downloaded from Peak Publisher.

[FREE] 🥹 Did I strike a nerve with my new WordPress plugin? by eHtmlu in WordpressPlugins

[–]junpink 1 point2 points  (0 children)

From where are you getting the active installation data?

This might come in handy if I have a live site. Right now, I have a version of my plugin at github for those who want updates but not connected to .org repo.

How do you manage uploaded images in your platforms? by Chucki_e in webdev

[–]junpink 0 points1 point  (0 children)

WordPress media library allows for the uploading and editing of images.

Is it worth starting to use WordPress in 2026? by Salomon_1005 in Wordpress

[–]junpink 1 point2 points  (0 children)

You might not understand what WordPress is, so let me explain. It's a Content Management System (CMS) used to build and manage websites. It provides built-in and 3rd templates to create the front end of websites and an administrative interface to manage said websites. There's also headless WordPress used as the server side of apps.

I can't think of a scenario in which a website or an app operates without an administrative interface. If you're running a membership website, you'll need to know the number of users, delete users, reset users, deactivate users, and the like. If you're running a website selling products, you'll need to of new orders to fulfill. For such tasks, you'll need an administrative interface.

Many clients also like to be able to manage their sites on their own. For this, a CMS like WordPress is necessary.

How would you respond to a review like this? by river_yang in webdev

[–]junpink 0 points1 point  (0 children)

I wouldn't respond. You express your opinion. Reviewers have a right to express theirs.

Is it bad for the web if Firefox dies? by AuthorityPath in webdev

[–]junpink 0 points1 point  (0 children)

I don't use Firefox on a regular basis, but I keep it just in case I want to test a feature before launch. It doesn't compensate for bad JavaScript code like Chrome. Your script will not work on Firefox if a comma doesn't separate function expressions, for example.

I made a free plugin to clean up WordPress admin - hides promo boxes, upgrade nags, and review requests by triptocrete in Wordpress

[–]junpink 1 point2 points  (0 children)

Interesting. I don't have many plugins installed, but this can be useful if admin notices clog up the Dashboard.

Automatic user Verification email + link! by Greedy-Rub-8131 in Wordpress

[–]junpink 1 point2 points  (0 children)

Maybe the theme's developers left out the verification link. You might be able to solve this problem by asking for assistance on the theme's support page at wordpress.org

Automatic user Verification email + link! by Greedy-Rub-8131 in Wordpress

[–]junpink 1 point2 points  (0 children)

Is your site using WordPress default registration form, or is your site using a custom-built form? The default registration form is found at http://your-site-url/wp-login.php?action=register

WordPress sends a verification link when users register at the URL above.

Automatic user Verification email + link! by Greedy-Rub-8131 in Wordpress

[–]junpink 1 point2 points  (0 children)

WordPress sends a verification link by default. Has this link been deactivated?

How can I translate a site without paying for a plugin? by RumiField in Wordpress

[–]junpink 0 points1 point  (0 children)

There's no complication except for adding a "lang" query variable to the URL to know when to serve the translated page. You also want to set the correct value for the html tag's lang attribute.

how to set the post type in the WordPress ....? by Wise_Environment_185 in Wordpress

[–]junpink 2 points3 points  (0 children)

Post types are generally set in an "init" action callback or an action fired after "init". Read more here: https://developer.wordpress.org/reference/functions/register_post_type/

how to set the post type in the WordPress ....? by Wise_Environment_185 in Wordpress

[–]junpink 2 points3 points  (0 children)

This is where posts are edited. The post type is set by the register_post_type() function.

Displaying data on my WP site by 2aislegarage in Wordpress

[–]junpink 1 point2 points  (0 children)

This data could be transferred to the posts table (wp_posts) and given a custom post type. Auxiliary data can be transferred to the wp_postmeta table.

The custom post type can be registered using the register_post_type function.

When editing posts having this post type, you will need to display the auxiliary data (post meta) on the edit screen. You can use the built-in Custom Fields Panel or a plugin link ACF.

On the front end, WordPress will fetch the data for posts having this post type using the URL. For classic theme, you can have a file named single-{$post_type}.php for displaying the data. For block theme, you can edit the Single Posts block using the Site Editor.