New answers tagged

0 votes

Disabling Full Site Editor (FSE)

No, because the site editor is turned off by default. Unless you're building a block theme, or declare that your theme supports block templates in PHP/theme.json, it doesn't apply to you. WP version ...
  • 55.6k
-2 votes

Disabling Full Site Editor (FSE)

/* Disable the Gutenberg Editor */ add_filter('use_block_editor_for_post', '__return_false'); /* Disable Gutenberg editor for post types. */ add_filter( 'use_block_editor_for_post_type', '...
  • 1
0 votes

Workaround AJAX calling without directly calling WordPress backend (Admin dashboard) because it is restricted to the end user (the public)

I guess, that whitelisting the endpoint is not possible, as this is the simplest solution here. It will be a little workaround here, but you can try to replace your AJAX endpoint, with a REST API ...
  • 36
0 votes

Disable Wordpress Theme Browser and Plugin Browser

Use action to block themes API, and filter to block plugins API. add_action('themes_api', function() { exit; }); add_filter('plugins_api', function() { return new stdClass(); }); If you don't like ...
1 vote
Accepted

How to add color icons to front of custom block color palettes

If you mean the indicator for the currently selected colour here: Then No. The problem is a misunderstanding of what the circles colour represents. It's not telling you the current colour of the ...
  • 55.6k
-2 votes
Accepted

Font Awesome Icons as squares

You should be using Font Awesome's provided <link> or <script> tag(s) that they give you with your kit. It should look like this: <link rel="stylesheet" href="https://kit....
1 vote

Font Awesome Icons as squares

Your all.min.css font is loaded onto your site, but can you please check you have a webfonts directory with files such as fa-solid-900.woff and fa-solid-900.svg - At the bottom of the all.min.css file ...

Top 50 recent answers are included