bloginfo(‘template_directory’) img src
I am lazy loading some images with URLs which are added via custom fields. The lazy load plugin I’m using requires a place-holder … Read more
I am lazy loading some images with URLs which are added via custom fields. The lazy load plugin I’m using requires a place-holder … Read more
Is it good to install wordpress in a subdirectory (with a random name), but set “Homepage” address to domain root? (based on Giving … Read more
I need to get the current plugin name using a define like this define(PLUGIN_NAME, plugin_basename(dirname(__FILE__))); Regrettably, that code doesn’t work because the php … Read more
I have a simple problem I’m hoping someone can shed some light on. I have a child theme with a custom page template … Read more
I have a domain that already has a number of wordpress installations in existing subdirectories. I would like to activate wordpress multisite to … Read more
Currently my folder structure looks something like …\themes\MyTheme – \lib – \src – index.php – style.css – more theme files – .gitignore – … Read more
I have WordPress 4.4 installed localy on wamp server 2.5 x64 on Windows 10 and noticed that: get_template_directory(); returns this: ‘C:\wamp\www\my-site//content/themes/my-theme’ Questions What’s … Read more
I created a custom page template where I want to present some data specific for that page. The file is placed in wp-content/themes/themename/page-templates … Read more
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so … Read more
I just installed WordPress Multisite (version 4.7.2) in a subdirectory of my primary domain (site1.com/wordpress), and I’ve configured multisite to use subdirectories for … Read more