Forum Replies Created
-
AuthorPosts
-
Hello,
Perfect. Thank you kriesi team :)Hello,
allright, thank you.
Hey,
results are the same. Loaded posts open in the same window. :)Hey,
here it is.Hi,
used in functions.php.
Tried your solution, same results. First posts open in new tab, but those loaded with load more ajax button open in the same tab.February 22, 2017 at 3:52 pm in reply to: Masonry Gallery: Opening some links in NEW WINDOW & some in SAME WINDOW #750530Hi,
you can target pagesfunction add_custom_target(){
?>
<script>
jQuery(window).load(function(){
jQuery(‘.page-id-xx .av-masonry-container a ‘).attr(‘target’,’_blank’);
});
</script>
<?php
}
add_action(‘wp_footer’, ‘add_custom_target’);Hi,
I want to set 4 columns. But show automatic on smaller screen devices (than it would show 3 instead of 4) Because when I set automatic, than bigger screen shows 6 columns. It would be possible with @media only screen code.
- This reply was modified 7 years, 10 months ago by demarko19.
Offtopic :) If uploaded image is 1000×1000 but on masonry screen it is shown 400×400. Will theme serve smaller image or original 1000×1000?
December 8, 2016 at 11:36 pm in reply to: Error fetching content – please reload the page and try again #722251Hi,
yep will remove some. Found the problem. One plugin imported enormous ammount of unnecessary product attributes which caused memory errors :)December 7, 2016 at 12:44 pm in reply to: Error fetching content – please reload the page and try again #721449It’s kinda memory problem. Line from log: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) in – directory changes. Problem dissapears when woocommerce plugin is disabled. I have 3k products. Does it really require that much of memory? In dashboard I see just 3% memory usage.
settings:
limit set in php – memory_limit = 3584M;
limit set in wp-config – WP_MEMORY_LIMIT’, ‘2048M’
‘WP_MAX_MEMORY_LIMIT’ , ‘3584M’December 6, 2016 at 12:34 pm in reply to: Error fetching content – please reload the page and try again #720953Hello,
all pages, when using advanced layout builder.December 5, 2016 at 4:28 pm in reply to: Error fetching content – please reload the page and try again #720526Never mind. It seems problem was with memory limit. You can close topic. Thanks
December 5, 2016 at 10:24 am in reply to: Error fetching content – please reload the page and try again #720390I tried vpn and yes, login resets. Please try this link. it’s working for me.
December 4, 2016 at 4:35 pm in reply to: Error fetching content – please reload the page and try again #720224Hey,
I was logged in with this acc, that might be the problem. You can try main login page.Hi,
yes you were right. It’s plugin’s fault. All In One SEO Pack.
Thanks for help :)Hi,
there is no custom.js file in ftp.Hello,
there is some modifications on “news” page. Removed all modifications from website, same results. I copy-pasted part of template from about” page to fresh page bellow, same results. Added columns between color, grid elements, and it looks normal, except footer.
Please check news” and about” pages with smartphone, I don’t use one.. Maybe it shows like this just on mobile test sites, because of some kind of iframe issue.
ThanksHello, thanks for an answer. .pagination fits nicely in “Override AJAX Pagination Class” box. But I need “Override AJAX Product Class” by default plugin says “Enter custom products class if you are using a broken template and the default setting is not working. Default class: .type-product” Plugin author said it might be different from theme to theme. And asked me to contact theme authors.
Hello,
well as you see on screenshot “Overide ajax product class” ……. Default class: type-product.other overrides seems to work. Except product class. And because of it I can’t use fast ajax load on product categories selection.
Plus I want to know original count of columns and rows, when woocommerce is installed for the first time. It might be one of the issues why ajax load doesn’t work.
Hi there!
Can you write default product class. It should look like .product-type or .type-product. Or maybe one of those? Also default woo product row and column count. ThanksHi. It redirects to myaccount page same as woo default.
Ok. I will contact him. Will post a solution, If I’ll get one.
Thanks for reply, Basilis. Plugin creates second registration, form. Plus it redirects hidden wp-admin login to simple login. And since copy/paste isn’t allowed on my website, it would be a hell to write 20+ letter long pwd every time :)
A bit of google and editing gave me a few codes to child functions.php.
This one resolved redirection to myaccount page:add_filter( 'comment_form_defaults', 'my_custom_phrase' ); function my_custom_phrase( $array ){ $array['must_log_in'] = sprintf( __( '<p class="must-log-in">Please <a href="%s">Log In</a> to post a comment.</p>' ), get_permalink( wc_get_page_id( 'myaccount' ) ) ); return $array; }
Since woocommerce by default, after login redirects to my account and not previous visited page, I thought this might help:
// Custom redirect for users after logging in add_filter('woocommerce_login_redirect', 'wcs_login_redirect'); function wcs_login_redirect( $redirect ) { //Redirect to the previous visited page or, if not available, to the home $redirect = wp_get_referer() ? wp_get_referer() : home_url(); return $redirect; }
But it redirects to home page. And if I delete ? wp_get_referer() : home_url(). It redirects to empty page.
Your team is great with codes, maybe you can help me with this :) -
AuthorPosts