185 reputation
10
bio website borber.com
location
age
visits member for 1 year, 4 months
seen Mar 2 at 0:20
stats profile views 13

Feb
28
asked How to transfer changes from test environment to live site?
Feb
25
comment Is there a way to visualize / print out which templates were used to render a given piece of UI?
How will Firebug help me find out which server-side file rendered a part of a page? But the link seems useful, thanks.
Feb
20
comment Is there a way to visualize / print out which templates were used to render a given piece of UI?
Looking at the Twenty Eleven files a bit more, it seems that some files are "templates", like they can appear in the "Query template" field of the Debug Bar like in the screenshot you posted (those are files like index.php, 404.php, archive.php etc.) and then some files are "template parts" - they provide pieces of HTML to the real templates. Examples of these files would be header.php, footer.php, comments.php etc. This distinctions is something I have observed, not read about, is it about right? Is this documented somewhere?
Feb
20
awarded  Commentator
Feb
20
comment Is there a way to visualize / print out which templates were used to render a given piece of UI?
I don't necessarily need to step through PHP code, it's just that when I look at e.g. index.php which the debug bar suggests is the template used for the current page, there are many more files involved, e.g. header.php, footer.php, maybe things like content-page.php? I don't know how to tell which files are cooperating on rendering the resulting page. I hope there is an easier way than using xdebug.
Feb
20
comment Is there a way to visualize / print out which templates were used to render a given piece of UI?
Yes, like from which file came the header (most probably header.php), where did sidebar come from etc. If I'm correct the "template" in Wordpress usually means only the single resulting file like page.php, single.php or 404.php but those files are usually composed from many more *.php files, e.g. Twenty Eleven has about 20 of them like content-page.php, tag.php and I'd like to visualize how those work together to build the resulting page.
Feb
19
revised Is there a way to visualize / print out which templates were used to render a given piece of UI?
fixed function name
Feb
19
comment Is there a way to visualize / print out which templates were used to render a given piece of UI?
Usefull as well but am I correct that this will print out only the "target" template file and not how the page was constructed, i.e. where sidebar came from, where navigation came from etc.?
Feb
19
suggested suggested edit on Is there a way to visualize / print out which templates were used to render a given piece of UI?
Feb
19
comment Is there a way to visualize / print out which templates were used to render a given piece of UI?
This is useful but if there's any way to display more in-depth information about how the page is composed from templates like header, footer, sidebar etc. it would great.
Feb
19
asked Is there a way to visualize / print out which templates were used to render a given piece of UI?
Feb
19
accepted How to make theme configurable
Feb
19
comment How to make theme configurable
Wow, excellent description, thank you. Why can't I upvote twice? :)
Feb
18
asked How to make theme configurable
Feb
17
comment Is “SELECT TOP 0” a bug with MS SQL database?
@rxn: If it's retriving columns, I would then expect another SELECTs from wp_posts, however, there are only those: SELECT post_status, COUNT( * ) AS num_posts FROM wp_posts... SELECT TOP 0 * FROM wp_posts WHERE 1=1 AND... SELECT COUNT(1) as Computed FROM wp_posts... None of them seems to be getting the posts.
Feb
16
asked Is “SELECT TOP 0” a bug with MS SQL database?
Feb
16
accepted How to troubleshoot WordPress issues?
Feb
16
asked How to troubleshoot WordPress issues?
Jan
20
awarded  Scholar
Jan
20
accepted How to configure WordPress + plugins to support these commenting features