Disable email field on WooCommerce customer account details

Is there a possibility to disable the email field on WooCommerce customer account details? Or Is there a hook or action available to do such thing? I’m just using a pre-made themes and not that much into PHP. Have tried this plugin called « Prevent Email Change » by Happy Plugins, but it didn’t worked. Would really appreciate any help from this. Thanks, Source: https://wordpress.stackexchange.com/feeds

Failed to open stream / no such file or directory

Server upgrading Friday, which will kill my existing WP 3.1 blog. So I’m installing 4.7.3 fresh in new subdirectory of existing WP 3.1 domain/site AND using the same database. Domain is a subweb. Server is running PHP 5.3. (New one will run 5.6) Once working, I’ll point the domain at the new directory. (Not sure whether subweb/shared db might affect this?) I did mod the wp-config file with db info and memory use limits. Other than that, the entire install is fresh out of the box. No theme files here…

Web Design Weekly #273

Headlines Technology Imitates Art – The rise of the conversational interface Not only is this post full of awesome content the amount of effort dedicated to creating it is next level. A mixture of writing, UX and humanity. Who said blogs were boring? (typeform.com) Meet The Next Smashing Magazine (next.smashingmagazine.com) Build and deploy websites (even with custom domains) on CodePen! While the Pen Editor on CodePen is mighty useful, your limited to just the HTML, CSS, and JavaScript editor panes. If you need more, you can build a Project, which…

Error updating WP-CLI

Below is the output from my attempt to update wp-cli on Windows 10. Clearly another version is available. Can someone please explain how to make this work? C:UsersHP>wp cli update Error: You can only self-update Phar files. C:UsersHP>wp cli check-update +———+————-+—————————————————————————–+ | version | update_type | package_url | +———+————-+—————————————————————————–+ | 1.1.0 | major | https://github.com/wp-cli/wp-cli/releases/download/v1.1.0/wp-cli-1.1.0.phar | +———+————-+—————————————————————————–+ Source: https://wordpress.stackexchange.com/feeds

How do I cache (core) API requests?

I’m am currently trialling the new (as of 2017) core API built into WordPress. My setup is reasonably simple: +———+ +——+ +———+ |Wordpress|<–>|Guzzle|<–>| App | |(API) | +——+ |(PHPSlim)| +———+ +———+ Guzzle will be operating through a local loopback (/etc/hosts set up to see the api as a local resource). The major players in the WP space for cacheing (WP Super Cache, W3, etc) don’t appear to do anything around the API. My understanding is that they essentially create snapshots of a rendered page and skip over any php (including…

Why wordpress multisite redirect to wp-signup if site exists?

I just create a site on my Multisite domain (example.com), for instance site1.example.com After this, I try to enter on https://site1.example.com/wp-admin, but I’m redirected to https://www.example.com/wp-signup.php?new=example.com My .htaccess containt this lines: RewriteEngine On RewriteBase / RewriteRule ^index.php$ – [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ – [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L] RewriteRule . index.php [L] I have installed, among others, this plugins wordfence Security Loginizer WP Maintenance Mode (with Status Activated) Why…

Automating svn updates from a server-side cron job

I am running WordPress on Ubuntu with Apache and MySQL. I would like to automatically install minor and security updates to WordPress. However, as I understand it, the standard auto-update mechanism (see also How exactly do automatic updates work?) is ultimately fired off by a web request, meaning that the update process runs as the apache user (for me it’s www-data). So the www-data user has to have permissions to write to WordPress’s php files. This makes me uncomfortable – it could let an attacker escalate a « create files » vulnerability…

Admin Ajax returns "0 200 OK server error.." in Multi-site sub-site

I’m aware admin-ajax.php is intended to return ‘0’ if there’s no action set. My issue seems to be that it’s returning an error after the ‘0’. Accessing the file mu.site.com/wp-admin/admn-ajax.php directly returns ‘0’ as expected. Accessing the file mu.site.com/sub-site/wp-admin/admn-ajax.php directly returns ‘0 OK The server encountered an internal error or misconfiguration and was unable to complete your request. [ check your error logs] » Naturally, my error logs have no information shown even though all sources say that error logging is enabled. Possibly it’s due to me having a subdirectory multi-site…

Sticky header for wordpress changes size and logo size as I scroll down

I am using Themify to construct my website. I have a parallax site partially constructed, however when I scroll down my logo and header changes size. It is a sticky header and goes from being transparent to a color. Where can I find the options to change this in the themify builder? I just want to keep the size consistent as I scroll down. Here is the site: http://willwiseman.us Source: https://wordpress.stackexchange.com/feeds

How to get my insert.php url in jquery?

I want to save my form data via jquery but i can’t able to access it in my script.Can anyone help me. URL access in script: url: ‘admin.php?page=insert.php’, My script $(function () { $(‘form’).on(‘submit’, function (e) { e.preventDefault(); var schema_key = $(« #schema_key »).val(); $.ajax({ type: ‘post’, url: ‘admin.php?page=insert.php’, data: schema_key, success: function () { alert(‘form was submitted’); } }); }); }); Source: https://wordpress.stackexchange.com/feeds