Use this in your htacess file (or nginx equivalent)
ModPagespeedDisallow */wp-admin/*
Further reading: https://obviate.io/2013/03/06/wordpress-3-5-and-mod_pagespeed-does-not-play-well-together/
Use this in your htacess file (or nginx equivalent)
ModPagespeedDisallow */wp-admin/*
Further reading: https://obviate.io/2013/03/06/wordpress-3-5-and-mod_pagespeed-does-not-play-well-together/
Need to override a field of setting in the default Visual Composer element?
We needed to set the default image size ( vc_single_image ) from thumbnail to full.
Here's how:
add_action( 'vc_after_init', 'vc_after_init_actions' ); function vc_after_init_actions() { $shortcode_vc_single_image = WPBMap::getShortCode( 'vc_single_image' ); foreach($shortcode_vc_gallery_tmp['params'] as $key => $param) { if( $param['param_name'] === 'img_size' ) { $shortcode_vc_single_image['params'][$key]['value'] = 'full'; } } //VC doesn't like even the thought of you changing the shortcode base, and errors out, so we unset it. unset( $shortcode_vc_single_image['base'] ); vc_map_update('vc_single_image', $shortcode_vc_single_image); }
First of all we need to know the config content shortcode base name, in our case vc_single_image.
Then we need to update the params. In order to prevent this "error" (see below) we need to unset the 'base' item.
Wrong setting_name for shortcode:vc_single_image. Base can't be modified.
And you're done!
Further reading:
use
generated_dynamic_sidebar( 'name' );
In your PHP template files
This sidebar is also known as Widget section
Found: https://theme-fusion.com/forums/topic/blog-sidebar-load-in-custom-php-file/
Normally WP Plugins have this structure:
plugins/plugin-name1/some.php
plugins/plugin-name2/some.php
plugins/plugin-name3/some.php
However MU-plugins should have this structure
mu-plugins/plugin-name1.php
mu-plugins/plugin-name2.php
mu-plugins/plugin-name3.php
This is an issue when using composer, as composer is only capable of using (sub) folders. When set to mainlevel folders, composer will delete its contents for each new plugin, resulting in only the last plugin ( in this example plugin-name3 ) "standing"..
Zeg ook JA tegen een van de mooiste websitepakketten ooit! Nu is HET moment om in te stappen.
Wij regelen alles van A-Z, van ontwerp tot sitehosting en van updates tot advies.
Leg vandaag nog geheel vrijblijvend uw idee bij ons neer, en we maken er werk van!
Website:
www.sail-today.nl
Werkzaamheden:
Advies, Plugin ontwikkeling
Sail today was op zoek naar een flexibele mogelijkheid om zelf inschrijf-formulieren te maken waarbij per bank met iDEAL betaald kan worden.
MijnPress heeft dit in GravityForms met Pronamic en Mollie als bankbetalingsmogelijkheid opgeleverd. De formulieren hebben berekeningen om bijvoorbeeld korting door te berekenen aan de hand van het aantal inschrijvers.
Website:
https://maskeradekleding.nl
Werkzaamheden:
Plugin ontwikkeling
In opdracht van:
MediaTopia
Maskeradekleding.nl zocht een stel een vraag optie voor haar WooCommerce webshop. Wij hebben dit in een overlay modal gemaakt samen met het flexibele GravityForms. De klant krijgt een keurig bericht in de mail met daarin de gestelde vraag.
if(!current_user_can('edit_pages')) { // Exclude all passwd protected posts for non-authorized level users $args['perm'] = 'readable'; $args['has_password'] = false; // Make sure }
Only the perm should suffice, but it does not work in all situations. To make sure we add the has_password argument.
This snippit will allow all logged in users who have capabilities to edit a page to see the title of a password protected post. All others (subscribers and non logged in users, will not se the title of the protected post at all).
Website:
pathmedia.nl
Werkzaamheden:
Advies, Plugin ontwikkeling
Voor Pathmedia hebben wij het mogelijk gemaakt voor hun schrijvers dat er een centrale plek is waar al hun blogberichten in te zien zijn. Middels synchronisatie worden de berichten (na goedkeuring van de eindredactie) volautomatisch doorgezet naar de betreffende site.
Ook hebben we de WordPress gebruikerbase synchroniseerbaar gemaakt en gezorgd dat bestaande berichten behouden bleven.
Soms is iets te mooi om waar te zijn of klinkt het gewoon goed. Maar vaak is het verkoop praat en is er dus een addertje onder het gras!
Let op bij deze kreten of eigenschappen: (more…)
We werken graag op freelance basis. Ook voor andere web-bureau's en ontwikkelaars.
En dat mag ook op whitelabel basis. Doen we niet moeilijk over.