nsog8sm43x
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Blocks] Change the style for buttons@jricketts4 – Exactly.
Forum: Plugins
In reply to: [WooCommerce Blocks] Change the style for buttonsYes, of course.
Ad 1. https://www.artsun.pl/optyksala/sklep/
Ad 2. https://www.artsun.pl/optyksala/silhouette/Forum: Plugins
In reply to: [WooCommerce Blocks] Change the style for buttonsThank you for your answer.
Of course, below I am sending a link to the site. Both types of buttons are on the main page. I would like to change the ones that are under the product sections.
Forum: Plugins
In reply to: [WooCommerce] Displaying attributes in a custom locationThat’s exactly what I mean. In a different location from the standard under product price. Maybe as a modal window.
When it comes to additional coding, it is to some extent done by myself, but I need to know which part of the code is responsible for displaying the attributes and in which location.
- This reply was modified 6 years ago by nsog8sm43x.
Forum: Plugins
In reply to: [WooCommerce] Displaying attributes in a custom locationI have already read this page, but it seems that the shortcodes listed there are used to display products. And I mean to display attributes for one product on a single product template.
When you look at the page that should have the image in it, is that page 404? or is it the image that is 404?
If it is the page, then something else is wrong.
If it is the image, use your browser to View Source of the page and copy the img tag that was output into this topic in a code tag, so we can see what is happening.I think it will be easier when I make a screen. In general, the 404 error is just for the image, not the entire page.
I have given you the proper code. Please test it.
Thank you for your commitment and willingness, but unfortunately it doesn’t work.
OK, that’s ok. But apparently we don’t understand each other because I wrote back that the result of my code is a 404 error for this image. If you want, I can send you a skewed photo of the image generated by the browser. Code Result? Actually, there is no result, that’s the problem.
As for your suggestions. I added / before, but the result is the same. Unfortunately, the previous two suggestions are unclear to me.
The IMG tag is in one DIV tag.
<div class="col-md-5 col-xl-4 order-md-2"><img src="<?php echo get_theme_file_uri( 'assets/images/szpital.jpg' ); ?>" alt="" class="rounded"></div>What is the URL for which you get the error? I understand it’s a 404, but a 404 on what string?
<img src="<?php echo get_parent_theme_uri( '/assets/images/szpital.jpg' ); ?>” alt=”” class=”rounded”>- This reply was modified 6 years, 5 months ago by nsog8sm43x.
When you say “doesn’t work”, what does that mean? What is the resulting URL for the image file?
404 error in browser…
You don’t mention what the folder structure for your theme is, so it’s difficult to determine what the problem is.
“None of them work.” is not very specific.Please. Look.
/var/www/html/wordpress/wp-content/themes/WP_Bootstrap/
├── assets
│ ├── css
│ │ ├── bootstrap.css
│ │ ├── bootstrap.min.css
│ │ ├── bootstrap.min.css.map
│ │ ├── theme.css
│ │ ├── theme.min.css
│ │ └── theme.min.css.map
│ ├── font
│ │ ├── KelsonSans-Normal.otf
│ │ ├── KelsonSans-Normal.ttf
│ │ ├── KelsonSans-Normal.woff
│ │ └── KelsonSans-Normal.woff2
│ ├── gfx
│ │ ├── arrow-blue.png
│ │ ├── arrow.png
│ │ ├── gfx-1.png
│ │ ├── gfx-2.png
│ │ ├── ico-3.png
│ │ ├── ico-download.svg
│ │ ├── icos-social.svg
│ │ ├── icos.svg
│ │ ├── ico-szpital-1.svg
│ │ ├── ico-szpital-2.svg
│ │ ├___
│ │
│ ├── images
│ │ ├── about.jpg
│ │ ├── baner-1.jpg
│ │ ├── baner-2.jpg
│ │ ├── certificates.jpg
│ │ ├── event.jpg
│ │ ├── galeria.jpg
│ │ ├── kontakt.jpg
│ │ ├── layer-1.jpg
│ │ ├── logos
│ │ │ ├── logo-1.png
│ │ │ ├── logo-2.png
│ │ │ ├── logo-3.png
│ │ │ ├── logo-4.png
│ │ │ ├── logo-5.png
│ │ │ ├── logo-6.png
│ │ │ └── logo-7.png
│ │ ├── medycyna.jpg
│ │ ├── news.jpg
│ │ ├── photo-1.jpg
│ │ ├── photo-2.jpg
│ │ ├── photo-3.jpg
│ │ ├── photo-4.1.jpg
│ │ ├── photo-4.2.jpg
│ │ ├── photo-4.jpg
│ │ ├── przychodnia-1.jpg
│ │ ├── przychodnia-2.jpg
│ │ ├── przychodnia.jpg
│ │ ├── szpital.jpg
│ │ └── what-clinic.png
│ └── js
│ ├── bootstrap4
│ │ ├── bootstrap.bundle.min.js
│ │ ├── bootstrap.js
│ │ └── bootstrap.min.js
│ ├── bootstrap.bundle.js
│ ├── bootstrap.bundle.min.js
│ ├── include-html.js
│ ├── jquery.slim.min.js
│ ├── slick
│ │ ├── slick.js
│ │ └── slick.min.js
│ ├── theme.js
│ ├── theme.min.js
│ └── tmp.js
├── class-wp-bootstrap-navwalker.php
├── footer.php
├── front-page.php
├── functions.php
├── header.php
├── index.php
├── page.php
├── single.php
├── src
│ └── templates
│ ├── breadcrumbs.html
│ ├── footer.html
│ ├── header.html
│ ├── need-consultation.html
│ └── pagination.html
└── style.css- This reply was modified 6 years, 5 months ago by nsog8sm43x.
- This reply was modified 6 years, 5 months ago by nsog8sm43x.
Also, the functions don’t put out a trailing / if I recall correctly, so you need to add the slash before assets.
Unfortunately, but it doesn’t work either.
The only thing that works is to paste the path leading to the uploads folder. But that doesn’t solve the problem either ….