topitoconnectey
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Load Contact Form 7 with ajaxifyYou don’t need to reload all the script. You just need to execute the init function.
Try this bit of code right after the buddy press support in ajaxify.js :$( 'div.wpcf7 > form' ).each( function() { var $form = $( this ); wpcf7.initForm( $form ); if ( wpcf7.cached ) { wpcf7.refill( $form ); } } );
- This reply was modified 7 years, 7 months ago by topitoconnectey.
Forum: Plugins
In reply to: [Contact Form 7] $(…).wpcf7InitForm() is not a functionHere’s the best way :
`function initContactForm() {
$( ‘div.wpcf7 > form’ ).each( function() {
var $form = $( this );
wpcf7.initForm( $form );if ( wpcf7.cached ) {
wpcf7.refill( $form );
}
} );}`
Forum: Plugins
In reply to: [Contact Form 7] Init function (wpcf7InitForm)I just found out how :
function initContactForm() { $( 'div.wpcf7 > form' ).each( function() { var $form = $( this ); wpcf7.initForm( $form ); if ( wpcf7.cached ) { wpcf7.refill( $form ); } } ); }
Forum: Plugins
In reply to: [Contact Form 7] Init function (wpcf7InitForm)@andrewgtibbetts : How can we execute it ?
Forum: Plugins
In reply to: [Yoast SEO] Full website ajax load : yoast seo meta update@monbauza Yes I know both of those things..
My question relates to dynamically added content. Changing from one page to another without reloading the page and thehead
tag. Therefore the metas are not changed.
Should I change them via JS or just leave the meta from the old page ?
Does Google crawler load the page themselves or does they “click” and execute javascript code ?Hello again,
Should’ve paid more attention to the FAQ, thank you again ??Hello @dcooney
Thanks for the link, I tried and it works perfectly.
I’m impressed by this plugin and the support ?? Good job!