Dub Force Events
x0Events cannot currently be displayed, sorry! Please check back later.x0_close-
Recent Posts
Recent Comments
Archives
- March 2022
- August 2021
- February 2021
- December 2020
- November 2019
- April 2019
- April 2018
- January 2017
- May 2016
- April 2016
- March 2016
- December 2015
- June 2015
- January 2015
- December 2014
- November 2014
- April 2014
- January 2014
- December 2013
- November 2013
- March 2013
- December 2012
- November 2012
- November 2010
- October 2010
Categories
Meta
Tag Archives: wordpress
WordPress Mysql Migration
Magic formula: Most free plugin to “backup” charge your migration, when is a matter of running few lines of code on your database… UPDATE wp_options SET option_value = replace(option_value, ‘http://oldurl.com’, ‘https://newurl.com’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’; UPDATE … Continue reading
WordPress Auto Lazy Loading
New wordpress (since?) Has an automatically lazy loading for images.. if that broke your site, you can disable it with the following code:add_filter( ‘wp_lazy_loading_enabled’, ‘__return_false’ ); AC.
Speed UP WordPress [or any site]
If you use a shitty server/network or your wordpress theme/plugins/content combination is heavy you can speed up the loading on the side of the client and server side by using a plugin like “W3 Total Cache”; it could set easily … Continue reading
Posted in Medium Technical, Wordpress
Tagged cache, cache-control, header order, htaccess, linux, mod_expires.c, php, w3 total cache, wordpress
Comments Off on Speed UP WordPress [or any site]
WordPress Proxy
Running WordPress on a internal network or something like that and want to handle all the internal connections with a proxy? Just edit the “wp-config.php” and add this: define(‘WP_PROXY_HOST’, ‘90.90.90.90’); define(‘WP_PROXY_PORT’, ‘3128’); define(‘WP_PROXY_USERNAME’, ‘username’); define(‘WP_PROXY_PASSWORD’, ‘password’); define(‘WP_PROXY_BYPASS_HOSTS’, ‘localhost, www.someurl.com’); References: … Continue reading
Posted in Medium Technical, Wordpress
Tagged download_url, wordpress, WP_Http, wp_remote_get
Comments Off on WordPress Proxy
WordPress – Get all posts where a meta key does not exist
Simple… $search_values[‘meta_query’] = array( ‘relation’ => ‘OR’, array( ‘key’ => ‘psychedelics’, //replace with the non existing field to query ‘compare’ => ‘NOT EXISTS’, ‘value’ => ” // Ignored, but needed to work… ), array( ‘key’ => ‘psychedelics’, //replace with the … Continue reading
Posted in Learned Today, Medium Technical, Wordpress
Tagged all, get, not exist, query, wordpress, wp
Comments Off on WordPress – Get all posts where a meta key does not exist