WordPress on Nginx – Missing admin/toolbar

If you’re using Varnish and you’re not seeing the admin bar it’s because you probably have a rule in /etc/varnish/default.vcl that looks like this: sub vcl_recv { if (!(req.url ~ “wp-(login|admin)”)) { unset req.http.cookie; } } That’s going to keep the admin bar from showing up because you’re dropping cookie stuff from all pages except … Read more

Can I have a link within a WP UI Spoiler

I was able to make your spoiler code work on my site. The <, >, and ” characters in your spoiler code are encoded on your site, breaking the link. I think that either your theme or one of your plugins is encoding those characters. To test your theme, temporarily switch to one of the … Read more

Building theme so user can change header image [closed]

You can add theme support in your functions file for a Custom Header page using this code which also enables you to add a default size and selector class which you can style with CSS. add_theme_support( ‘custom-header’, array( ‘width’ => 320, ‘height’ => 60, ‘header-selector’ => ‘.site-title a’, ‘header-text’ => false ) ); Or this … Read more