mmikolas
Forum Replies Created
-
Here:
Forum: Plugins
In reply to: [Leaflet Map] [BUG] – Broken layout shortcode helperThat’s right. I explicitly solved it directly in the shortcode and left the global element with a fixed height so that it wouldn’t interfere with the shortcode help, which is really great. 🙂
Forum: Plugins
In reply to: [Leaflet Map] [BUG] – Broken layout shortcode helperWait, wait, you yourself wrote that I can use %, and now you’re telling me not to use it. If you want to cover the entire space, you need 100% height. My map on the website is embedded in a div because there are other elements and conditions connected to it. And I want the map to fit within its space. This makes perfect sense because the parent has a fixed height.
Forum: Plugins
In reply to: [Site Reviews] How is data stored in the database?This is an amazing answer, thank you for that!
Forum: Plugins
In reply to: [Admin and Site Enhancements (ASE)] Custom URL login not_found@qriouslad Thanks for the quick reply. I have uploaded a video that explains everything. For the first time, no link fills in, which is correct and the default is the home page. Even if I reload the page, it will be the home page, but as soon as I click save again, the url changes to /not_found.
https://jmp.sh/s/xCOC7zpfgzQgOVFbDMiwForum: Plugins
In reply to: [Meta Box] Cannot save CPT if Gutenberg is disabledI have noticed that this problem occurs when I enable the taxonomy display for my CPT, which MetaBox transferred from ACF. With the newly created Taxonomy, this problem does not occur even though the settings are identical. How can I resolve this?
Forum: Fixing WordPress
In reply to: Permalinks don’t work after switching from Apache to NGINXNo, my server only runs nginx, including X dozens of WP instances and custom applications. Please stick to what I wrote in the original post.
Of course we tried reloading nginx. As I stated, all WP instances running on my server are working without this problem. The problem only occurred with this site because there was a migration from a hosted solution with apache. 🙁
Forum: Fixing WordPress
In reply to: Permalinks don’t work after switching from Apache to NGINX@gappiah Sure, here is the entire configuration block for my site. I anonymized the site. It wouldn’t make sense that it would be fine for all instances and not for a single instance if it is the same.
server {
listen 80;
listen [::]:80;
listen 443 quic;
listen 443 ssl;
listen [::]:443 quic;
listen [::]:443 ssl;
http2 on;
http3 off;
{{ssl_certificate_key}}
{{ssl_certificate}}
server_name www.example.com;
return 301 https://example.com$request_uri;
}
server {
listen 80;
listen [::]:80;
listen 443 quic;
listen 443 ssl;
listen [::]:443 quic;
listen [::]:443 ssl;
http2 on;
http3 off;
{{ssl_certificate_key}}
{{ssl_certificate}}
server_name example.com www1.example.com;
{{root}}
{{nginx_access_log}}
{{nginx_error_log}}
if ($scheme != "https") {
rewrite ^ https://$host$request_uri permanent;
}
location ~ /.well-known {
auth_basic off;
allow all;
}
{{settings}}
location ~/\.git {
deny all;
}
location = /xmlrpc.php {
deny all;
}
location ~/(wp-admin/|wp-login.php) {
#auth_basic "Restricted Area";
#auth_basic_user_file /home/site-user/.htpasswd;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:2040;
proxy_max_temp_file_size 0;
proxy_connect_timeout 7200;
proxy_send_timeout 7200;
proxy_read_timeout 7200;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
proxy_temp_file_write_size 256k;
}
location / {
{{varnish_proxy_pass}}
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_hide_header X-Varnish;
proxy_redirect off;
proxy_max_temp_file_size 0;
proxy_connect_timeout 720;
proxy_send_timeout 720;
proxy_read_timeout 720;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
proxy_temp_file_write_size 256k;
}
location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf|map)$ {
# WordPress Multisite Subdirectory
rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) $1 break;
rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 break;
add_header Access-Control-Allow-Origin "*";
add_header alt-svc 'h3=":443"; ma=86400';
expires max;
access_log off;
}
if (-f $request_filename) {
break;
}
}
server {
listen 8080;
listen [::]:8080;
server_name example.com www1.example.com;
{{root}}
include /etc/nginx/global_settings;
try_files $uri $uri/ /index.php?$args;
index index.php index.html;
location ~ \.php$ {
include fastcgi_params;
fastcgi_intercept_errors on;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
try_files $uri =404;
fastcgi_read_timeout 3600;
fastcgi_send_timeout 3600;
fastcgi_param HTTPS "on";
fastcgi_param SERVER_PORT 443;
fastcgi_pass 127.0.0.1:{{php_fpm_port}};
fastcgi_param PHP_VALUE "{{php_settings}}";
}
# WordPress Multisite Subdirectory
if (!-e $request_filename) {
rewrite /wp-admin$ https://$host$uri permanent;
rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) $1 last;
rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 last;
}
if (-f $request_filename) {
break;
}
}Forum: Fixing WordPress
In reply to: Permalinks don’t work after switching from Apache to NGINX@threadi I’m sure. As I wrote, NGINX works properly, I tested it on a clean WP instance and I’m using the community recommended configuration.
Forum: Plugins
In reply to: [Meta Box] Broken LITE pluginBut this is a full screenshot. It’s the Meta Box lite app.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Displayed HTML in table does not workGood to know! I’ve modified the code to accommodate security and allow me to apply basic HTML elements. Thanks a lot for your help! 🙂
Forum: Plugins
In reply to: [Site Reviews] Reviews are visible even without email verificationThanks for your answer. So I have to manually approve the comment? It will not be published automatically after verification by the reviewer via email?
Forum: Plugins
In reply to: [Packeta] Doprava zdarmaMáte pro nás nějaké novinky?