eorsavik
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [OceanWP] How to add some image on the right side of header?Hey,
Thank you very much for the details. Much appreciated.
This is bit of work I need to try myself, hope this will help.
Best Regards !!!Forum: Themes and Templates
In reply to: [OceanWP] How to add some image on the right side of header?Hello @skalanter
I am using the default header template. Since the site is live, I need to create exactly similar template header with some icon at the right, so that site appearance done not change from the original.Other than that, is there any way to modify the default template that I am already using? My by using some code/hook or whatever.
I am still not sure about the use of ‘Content After Header’ option. I can see when I add string content here they are displayed on the right side of the header. Instead of string content, can I use some link to image/icon and get it displayed.
Thank you so much for your time.
Best Regards.Forum: Themes and Templates
In reply to: [OceanWP] How to add some image on the right side of header?Thanks for sharing the details !!
In fact I don’t want to create a completely customized header template, rather use the existing one and just want to draw an icon/image on the right side of the header. (May be using “Content After Header” option).Is there any exiting shortcode to achieve that ? If yes how to use it ?
If not available how to create shortcode to achieve that? Any documentation available ?Thanks again !!
Forum: Developing with WordPress
In reply to: WordPress hook that is called when an user visit an websiteI am using this code for URI display and looks like it works fine :
$parts = parse_url( home_url() );
$current_uri = "{$parts['scheme']}://{$parts['host']}" . add_query_arg( NULL, NULL );Forum: Developing with WordPress
In reply to: WordPress hook that is called when an user visit an websiteI am using ‘body_class’ filter hook to retrieve the IP information of users visited. Although sometime it is called multiple times for single request, it still works for my purpose.
Also I need to get the page details which the user has visited. $_SERVER doesn’t contain that information. Any idea ?
Thanks !!!
Thank you so much !!! The issue is solved with some theme configuration.
Thank you so much. The problem is solved !!!
Thanks for your assistance !!!
It looks like an issue with OceanWP theme. Once I activate Storefront theme, the hook works. Maybe I need to reach out to OceanWP theme community for assistance.
I understand that the hook ‘loop_shop_per_page’ is created by WooCommerce plugin. But is it possible that some other plugin or theme can disable that hook ? If that is the case, can I enable it again & use it ?
Thanks again.
Thank you. It works perfectly fine now.
I was not aware of the filter ‘woocommerce_ajax_variation_threshold’. It solved my problem.
Much appreciated !!!
- This reply was modified 2 years ago by eorsavik.
I think the correct way of putting multiple range would be :
50001…60001
80000…95000Thanks.
Thank you so much, Vetsos.
But can I put the range this way :
50001…60001, 80000…95000Regards.