How to set the path to your WP page?

All kind time of day.Needed to throw on the site(VP) one page,coded it myself,threw in "public_html/wp-content/themes/my theme."Created a page,put your template in the admin area,but does not see images and bootstrap grid,although the files are in the same folder.Thank you for your answer.
An example of a picture
why is he building some other way?
thank you in advance for the answer
July 4th 19 at 23:06
2 answers
July 4th 19 at 23:08

So that the path was correct, you can use the function get_template_directory_uri.
<img src="<?php echo get_template_directory_uri(); ?>/logog.png" alt>
July 4th 19 at 23:10
Because You are using relative paths (this is normal).
Just look at this main page of the site, and the paths are not relative to it and relative to the template file.
For this you just have to get used to.
Rewrite the path, starting from the home.
VSM counting?
starting from the main page template,not my samopisnaya? - Monty.Hirth commented on July 4th 19 at 23:13
from the home page (site root, if so understandable) - Elmer.Upt commented on July 4th 19 at 23:16

Find more questions by tags CSSHTMLWeb DevelopmentWordPress