Skip to content

Conversation

andrewheiss
Copy link

Hardcoded paths to the theme were causing images to not load when the WordPress installation was in a subdirectory. I replaced all instances of /wp-content/themes/pear/ with the with more dynamic get_template_directory_uri();

I also replaced the link to the home page in the logo with the more dynamic echo site_url();

Replaced it with more dynamic gett_template_directory_uri()
Replaced the hardcoded "/" in the logo with the more dynamic `echo
site_url();`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants