Hot answers tagged

1

This is mostly a PHP general question about concatenating a function's returned value with a (or many) string(s). The get_bloginfo function returns a string instead of echoing it directly. Thus you start off with: // First param value: stylesheet_directory // Using "template_url" also works unless you are using a child theme // In that case, "template_url"...


1

I assume you need to show the image url to the user, for all sizes, within the Attachment Details screen. Using Underscore/Backbone We can extend the Attachment Details View, in a similar fashion as in my previous answer here and based on the media views in the core: <!-- Custom template part --> <script type="text/html" id="tmpl-wpse-url-per-...



Only top voted, non community-wiki answers of a minimum length are eligible