amila
Forum Replies Created
-
Forum: Networking WordPress
In reply to: can not be login status when multi domainsThank you !
Is there any solution for map domains?Forum: Plugins
In reply to: [WeChat Payments for WooCommerce] 扫码支付成功后,页面好像没有接收到消息导致不能自动更新订单Yes, server manager told me to add this to .htaccess
SiteGuard_User_ExcludeSig bof-try-2Forum: Networking WordPress
In reply to: Multisite,multi server, different countriesmaybe difficult
Forum: Networking WordPress
In reply to: Multisite,multi server, different countriesHope anyone can help!
I solve by this in functions.php
add_filter('pmpro_account_preheader_redirect', '');But I got a message:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ” not found or invalid function name in /home/sites/heteml/users/f/l/a/flatworld/web/flatja.com/wp-includes/plugin.php on line 235I add this in wp-config.php and then disappear. I hope there is a better solution
ini_set('log_errors','On'); ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);Thank you, unwiredtech and Pete
But what I need is not login/logut redirect.
Now, even though I am login status, but if I have no membership, when I access to /membership-account/, I will redirect to /membership-levels/, I want to change thisDoes any one know how to change and not influence the update?
I did by changing
paid-memberships-pro/preheaders/account.phpby comment out line 29-36
if (empty($current_user->membership_level->ID)) { /* $redirect = apply_filters("pmpro_account_preheader_redirect", pmpro_url("levels")); if ($redirect) { wp_redirect($redirect); exit; } */ }But one problem is that I have to change every time after update
Forum: Plugins
In reply to: [Favorites] How to Display Featured Image in Fav List?I did.
at this in line 121 of UserFavorites.php
$out .=get_the_post_thumbnail($favorite, array( 50, 50));css
Forum: Plugins
In reply to: [Favorites] can not display in the right widgetsolve by adding this
location.reload();
to 86 line of
simple-favorites.min.jsBut it means we have to reload the page
Forum: Plugins
In reply to: [Favorites] How to Display Featured Image in Fav List?I have the same question
Have you solved it?Forum: Fixing WordPress
In reply to: php files are modified by virus, how to delete this line?I find a sh file here.
http://stackoverflow.com/questions/25653364/keep-finding-inject-gibberish-php-in-my-wordpress-theme-filesBut since it does not work because the malware content is a little different.
Who can modified the sh file so that I can use for the upper malware content?[moderated]
I changed it to test the hook like this code in the functions.php of the theme.
But nothing happened. i changed hook to woocommerce_thankyou but also nothing output.add_action( ‘woocommerce_order_status_completed’, ‘check_quantity’ );
function check_quantity($order_id) {
echo 1111111111111;
}do you mean the hook “woocommerce_order_status_completed” does not work?
so what hook will you use?
I do not need check_quantity and I will make a new function.Forum: Plugins
In reply to: [Page Builder by SiteOrigin] Oops! That page can’t be found.Thank u
I tried to deleted almost all of the plugins but still exist.
Any way I tried not to use and or or