quentinaurat
Forum Replies Created
-
Forum: Plugins
In reply to: [Meta Box] std value don't workSame here…
However, I notice ‘std’ param only work with
'type' => 'wysiwyg',and with'std' => esc_html__( 'your std text...', 'textdomain' ),as the example shown in the Meta Box website… But not with other types of fields. Help please!Forum: Plugins
In reply to: [Zajax - Ajax Navigation] Disable ajaz load for some linksHi @greghy
I’ve the same issue and it seems I find a hack/solution for this!!
First, Beware! This solution is not “update safe” because it modify the core file. However, the process is very simple : it consist of excluding a created class name in Zajax.js.Steps :
1_ Open “zajax.js” in “plugins/zajax-ajax-navigation/js”. The code is all minified!! D’ont panic and copy/paste it in http://jsbeautifier.org/. Then, generate à clean unminified copy of this, and paste it back to “zajax.js”. save, and check your site : If nothing change, it’s all good.
2_ Next, find the line 338 in your working unminified version of “zajax.js”. It should be this one :
a = "a[href^='" + F + "']:not(a[href*='/wp-']):not([href$='/feed'])",3_ Just add your custom class to exclude (here I choose “.no-ajax”) like this :
a = "a[href^='" + F + "']:not(a[href*='/wp-']):not([href$='/feed']):not(.no-ajax)",4_ Now, in your template, add the class “.no-ajax” to all the
<a>you want to load “normally”!! Simple, it is?Suggestion for developers :
In future versions, please add this feature in the admin panel. Its nothing to do, I think…Have a good day
Bye
Q