wongkediri
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Woocommerce: Price per multiple of quantitieshow if separate Box product and meters product? it will easier
Forum: Plugins
In reply to: [WooCommerce] Woocommerce multilingual for large shop is possible?Hi, i have client with large product. have been using WPX, WPengine with custom plan $5K still down on christmast sale. Now using servebolt seems promising, just contact and create testing site for free
Forum: Plugins
In reply to: [WooCommerce] Download Function possible on “My Orders” page?@neverdowork you can use addional free plugin like “WC Order PDF Download”
Forum: Plugins
In reply to: [WooCommerce] WooCommerce adds a strange addition to the site nameits caused by woocommerce “geolocalize users with page caching support” setting.
check in menu setting “woocommerce->Settings->General->Default Customer Location”, Geolocate(With page caching support)
Forum: Plugins
In reply to: [Font Awesome] Guttenberg Editor error After update to 4.0 from 4.0.0-rc23@katjavolker easiest way is using wp rollback plugin
Forum: Plugins
In reply to: [Font Awesome] Guttenberg Editor error After update to 4.0 from 4.0.0-rc23rollback to previous version (4.0.0-rc23) the problem gone.
on page load do browser debug throw error regarding hooks.min.js
The hook name can only contain numbers, letters, dashes, periods and underscores
o @ hooks.min.js?ver=50e23bed88bcb9e6e14023e9961698c1:2
hooks.min.js?ver=50e23bed88bcb9e6e14023e9961698c1:2 The hook name can only contain numbers, letters, dashes, periods and underscores.o @ hooks.min.js?ver=50e23bed88bcb9e6e14023e9961698c1:2
post.php?post=6094674&action=edit:3422woocommerce_shared_settings
filter in Blocks is deprecated. See https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/docs/contributors/block-assets.md(anonymous) @ post.php?post=6094674&action=edit:3422
deprecated.min.js?ver=be1d4376501c21d85ba98dd28ca2d7ea:2 Button isDefault prop is deprecated. Please use isSecondary instead.c @ deprecated.min.js?ver=be1d4376501c21d85ba98dd28ca2d7ea:2
editor.min.js?ver=dbf1015c024ecc3b432a2a5d7898e51d:12 [Violation] ‘setTimeout’ handler took 533ms`- This reply was modified 3 years, 3 months ago by wongkediri.
Forum: Plugins
In reply to: [WooCommerce] Can not set Order as completeand sometimes its show blank white pages.
its only happen to order before update woocommerce
#using tick button
wp-admin/admin-ajax.php?action=woocommerce_mark_order_status&status=completed&order_id=xxxx&_wpnonce=xxxxxxx#using: bulk set
/wp-admin/edit.php?s=&post_status=wc-processing&post_type=shop_order&_wpnonce=xxx&_wp_http_referer=%2Fwp-admin%2Fedit.php%3Fpost_status%3Dwc-processing%26post_type%3Dshop_order&action=mark_completed&m=0&_customer_billing_country=&_customer_shipping_country=&_customer_payment_method=&_customer_user=&paged=1&post%5B%5D=37343&action2=-1- This reply was modified 6 years, 5 months ago by wongkediri.
@photocrati: how if you include the next nextgen with jquery migrate. since the jquery cycle use function that not support in jquery 1.9
.browser not support in jquery 1.9
https://jquery.com/upgrade-guide/1.9/
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-migrate-1.0.0.js"></script>
<script type="text/javascript" src="scripts/jquery.cycle.all.min.js"></script>
anyone that jquery slideshow not working,
it’s because deprecated function for jquery cycle.the solution is add jquery migration file in header.php after wp_head(); called.
here are the script
<script src=”https://code.jquery.com/jquery-migrate-1.0.0.js”></script>Yeah, i m looking for this possibilities.
is it possible to trigger autopost with custom function or via another plugin?Thank you
download previous version here
https://www.ads-software.com/extend/plugins/pagerestrict/download/or direct link https://downloads.www.ads-software.com/plugin/pagerestrict.2.02.zip
i m trying your rss source using wpematico default install and its working fine.
no duplicate post after running several time.Hi, sorry. i didn’t notice that. thanks for editing.
yes, i m checking duplicate on permalink because its more precise.
I have try several method but below is the best approach.
now i m checking if permalink is exist. but not using permalink from $item object, I m using wordpress built in function that convert title to permalink, sanitize_title_with_dashes().after generating permalink from title, change the query to search duplicate permalink.
if using code below, and still post duplicate, usually its just only one dupes. because you already has dupe post with numeric value added in the end of permalink.
example:
https://domain.tld/your-post-permalink-1.html
https://domain.tld/your-post-permalink-2.htmlcomplete code please check here. hope its more clear.
https://pastebin.com/sV6V35vBUPDATE:
above code not working, if title has some special character it won’t work.
i try myself on my site and best approach is here:private function isDuplicate(&$campaign, &$feed, &$item) { // Agregar variables para chequear duplicados solo de esta campa?a o de cada feed ( grabados en post_meta) o por titulo y permalink global $wpdb, $wp_locale, $current_blog; $table_name = $wpdb->prefix . "posts"; $blog_id = $current_blog->blog_id; $title = $item->get_title();// . $item->get_permalink(); $query="SELECT post_title,post_name,id FROM $table_name WHERE post_name LIKE '".sanitize_title_with_dashes($title)."%' AND ((<code>post_status</code> = 'published') OR (<code>post_status</code> = 'publish' ) OR (<code>post_status</code> = 'draft' ) OR (<code>post_status</code> = 'private' ))"; //GROUP BY post_title having count(*) > 1" ; $row = $wpdb->get_row($query); trigger_error(sprintf(__('Checking duplicated title \'%1s\'','wpematico'),$title).': '.((!! $row) ? __('Yes') : __('No')) ,E_USER_NOTICE); return !! $row; }
please look at changed code below:
WHERE post_name LIKE '".sanitize_title_with_dashes($title)."%'
it will check duplicate permalink and version, that’s why i just using ‘%’ at the end
i guest problem on WHERE clause, it should be
WHERE post_name LIKE '%".$title."%'