webstijlen
Forum Replies Created
-
Forum: Plugins
In reply to: [Mollie Payments for WooCommerce] Communicating with mollie failedNo problem @davdebcom
Thanks for the reply & keep up the good job with the PluginForum: Plugins
In reply to: [Mollie Payments for WooCommerce] Communicating with mollie failedHi Frank,
I had the same problem, it was my own fault eventually, this is what I did;
- Activated Query Monitor plugin
- Checked the plugin page if there were error’s at the API
- Looked like no API connection FROM MY server could be astablished
- Google told me; restart the DNS (cache flush)
- Problem solved
Maybe it will help you
Forum: Plugins
In reply to: [Mollie Payments for WooCommerce] Error 500 after updatingHad the same problem with version 2.4.0, tnx for the quick fix
Forum: Plugins
In reply to: [[DEPRECATED] WooCommerce (nl)] Translation in child themeMaybe this is where you are looking for!
https://github.com/woothemes/woocommerce/tree/master/i18n/languages
Forum: Hacks
In reply to: Get domain name from URLYep, change the 0 in the script and make it 11. That’s the variable of the first character of the domain name. It starts counting at 0, and https://www. is 11 characters long.
Good luck!
Forum: Plugins
In reply to: Show the size in chars of the excerpt field.You’re right,
I did have a look for you, maybe a starter:
function updateTitle( force ) { if ( jQuery("#yoast_wpseo_title").val() ) { var title = jQuery("#yoast_wpseo_title").val(); } else { var title = wpseo_title_template.replace('%%title%%', jQuery('#title').val() ); } if ( title == '' ) return; title = jQuery('<div />').html(title).text(); if ( force ) jQuery('#yoast_wpseo_title').val( title ); title = yst_clean( title ); title = jQuery.trim( title ); if ( title.length > 70 ) { var space = title.lastIndexOf( " ", 67 ); title = title.substring( 0, space ).concat( ' <strong>...</strong>' ); } var len = 70 - title.length; if (len < 0) len = '<span class="wrong">'+len+'</span>'; else len = '<span class="good">'+len+'</span>'; title = boldKeywords( title, false ); jQuery('#wpseosnippet .title').html( title ); jQuery('#yoast_wpseo_title-length').html( len ); testFocusKw(); }
maybe some minor help concerning your problem:
jQuery('#yoast_wpseo_title').val( title ); title = yst_clean( title ); title = jQuery.trim( title ); if ( title.length > 70 ) { var space = title.lastIndexOf( " ", 67 ); title = title.substring( 0, space ).concat( ' <strong>...</strong>' ); } var len = 70 - title.length; if (len < 0) len = '<span class="wrong">'+len+'</span>'; else len = '<span class="good">'+len+'</span>'; jQuery('#yoast_wpseo_title-length').html( len );
Good Luck!
Forum: Plugins
In reply to: Show the size in chars of the excerpt field.Yoast SEO uses the live counter for typing the description meta tag and title into the page.
get SEO by Yoast, (WordPress SEO)
instal,
edit a page,
look at the bottom at the meta description input field.Maybe you can hack it?
Forum: Hacks
In reply to: Get domain name from URL<?php $url = get_meta("source_url"); $pos = strpos($url, '/', 7); $domain = substr($url, 0 ,$pos); print "<a href='$url'>$domain</a>"; ?>
Search Google for: String PHP
You get to this site, all the functions I have used are described there.
https://php.net/manual/en/book.strings.phpCould you be more specific what your goal is?
If you’re interested, the missing images is due to not having the same height for all the thumbnails. If elements (this case the images) with different heights are floated to the left, there will be some unexpected results.
How to resolve:
1st and easyest: Set the max number of images each row. This can be edited in the gallery settings.
– this option add a property clear after the #th element you chose.
– (you could also add this with javascript yourself for more dynamics)2nd option is to set the same height for all thumbnails in the manage gallery -> select gallery -> create new thumbnail settings.
3rd option: manually add javascript to force the images to be the same given height.