mipqim
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Change size of featured images in woocommerceIt helped thanks!
Forum: Themes and Templates
In reply to: [Storefront] adjust the “password reset page” (woocommerce)Managed to solve it by my own π
- This reply was modified 6 years, 3 months ago by mipqim.
Forum: Plugins
In reply to: [WooCommerce] Change size of featured images in woocommerceI have made some progress, but still not there –>
When I add this code in my functions.php the “gallery thumbnail pictures” changes size. But for some strange reason the only time the code has affect is when width=400 and height=400, for all other size-values the gallery-image-size goes back to its original small size. For your info, the size-values down below is my current setting on my site.
add_filter( ‘woocommerce_get_image_size_gallery_thumbnail’, function( $size ) {
return array(
‘width’ => 400,
‘height’ => 400,
‘crop’ => 1,
);
} );`
All best
MipqimForum: Fixing WordPress
In reply to: Adding google analytics to functions.phpGreat! π
I have played around with functions.php and perceive it being more βsensitiveβ to changes than header.php, so I choose the header.php option.
Regarding my choise:
I cannot find any info about the relationship between the parent theme-header.php and the child theme-header.php file?
Right now its a bit unclear to me how wordpress prioritize the code in these files. For example. Lets say I now copy my parent theme-header file to my child theme and add GA to it.
What happens when storfront (parent theme) gets updated?Forum: Fixing WordPress
In reply to: Adding google analytics to functions.phpAh Sorry!
@littlepackage and @bigmoxy
Ok I do as you recommend!
But I am not quite sure what you mean with the customizer because:When I go to my customizer, the only option where I can put in code is under “additional css”. The “header” and “footer section” only have color options.
Are you perhaps talking about the “theme editor section”? If you are, then my problem is that I only have three files (for my child theme) —> style.css, functions.php and README.md.So where exactly are you saying I should add GA?
Forum: Fixing WordPress
In reply to: Adding google analytics to functions.phpFirst of all. Crazy fast respons from you, many many thanks!
@bigmoxy
1) Are you saying I could add the code exactly the way I present it down below (except replacing the stars with my id) to my functions.php in my child theme?add_action('wp_head','my_analytics', 20); function my_analytics() { ?> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=*******************"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '*******************'); </script> <?php }Also, regarding changes in the functions.php file: In general, can I feel safe that if anything goes wrong during new changes, I can always return the code to what it was, and all things should be back to normal again? Just want to understand if I could have kind of a “BOLD MENTALITY” –> change, error, change back, change, success etcetera…..?
Last thing, are you saying that adding GA to functions.php is to prefer (I have storefront parent theme and storefront child theme, if that info changes anything)?
@littlepackage
I use storefront parent theme and storefront child theme. I thought wordpress customizer was related to the parent theme, so that when updates are made any changes might get lost?
Anyhow I think I prefer to have a structure where I do changes directly in the files, so that I know exactly where my code is (perhaps this is not the best..)?Forum: Plugins
In reply to: [WooCommerce] Css for woocommerce product search boxSolved it myself. Thanks anyway.
Solution: box-shadow: none;π
Forum: Plugins
In reply to: [WooCommerce] Css for woocommerce product search boxJust an update. I managed to fix this by myself π
There is one thing left though that I can not manage myself, if you could give me an input here?
The woocommerce product search box has this horizontal line above the text field. Its like there is a “border” only at the top, displaying as a straight line. I want this to be removed. Could someone guide me here?
https://staging4.vonlino.com/taste
Again, thanks for your time!
Forum: Plugins
In reply to: [WooCommerce] Css for woocommerce product search boxThanks for quick reply!
Ops sloppy, this is the correct site!
https://staging4.vonlino.com/taste
- This reply was modified 6 years, 4 months ago by mipqim.
Forum: Themes and Templates
In reply to: [Storefront] Change Storefront child theme site logo linkThank you so much I it helped @fevered π
Consider this thread done!Forum: Themes and Templates
In reply to: [Storefront] Change Storefront child theme site logo linkThanks for the quick response.
Yes I I have started to realize I need to add some php in my files. But when googling around I can not find any code suited for storefront. Do you have an idea about what code to add where, or are we waiting for someone else here to provide with a possible solution?Ok. I post something on those forums as well.
Thank you again really!
- This reply was modified 6 years, 5 months ago by mipqim.
Super thanks for you taking time for this. It works super π
//Yoencaz
- This reply was modified 6 years, 5 months ago by mipqim.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] vertical align credit card logSo strange. Without doing any changes all of a sudden the logos are aligned horizontally. Perhaps it changed due to some updates. However I guess I wont be needing your help.
Thanks anyway π
Forum: Plugins
In reply to: [Custom Post Type UI] Remove extra slugJust wanted to say thanks for your help. I have not had time to look into this but I will. We can close this matter now.
Again super thanks!!
Hannes- This reply was modified 6 years, 5 months ago by mipqim.
Forum: Plugins
In reply to: [Custom Post Type UI] Remove extra slugConcrete example:
My aim:
I want an archive page for all my posts that belongs to the category “stories”. I want this page to have this URL –> https://yoenca.com/stories
When clicking on any post at this archive page I want to be directed to the URL
–> https://yoenca.com/stories/nameofpostToday it looks like this:
https://yoenca.com/stories/stories/
When clicking on the first post, the one having a featured image on a women (named: Viktoria Widengren), you get directed to this URL –> https://yoenca.com/storiespost/viktoria-widengren/Am I explaining myself better now?
Thank you so much for the quick reply and pushing my problem towards a possible solution!!
//Yoenca