Commit f5e25f84 authored by Jakob Moser's avatar Jakob Moser
Browse files

Add inline documentation to the background image getter process

parent 260f6096
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -22,8 +22,10 @@ get_header();
    <article>
        <header style="background-image:url('
            <?php if(has_post_thumbnail()) {
                // A header configured specifically for this page
                the_post_thumbnail_url();
            } else {
                // Fall back to the default header (which can be configured site-wide, so we can't hardcode the URL)
                header_image();
            } ?>
        ')">
+2 −0
Original line number Diff line number Diff line
@@ -24,8 +24,10 @@ get_header();
    <article>
        <header style="background-image:url('
            <?php if(has_post_thumbnail()) {
                // A header configured specifically for this post
                the_post_thumbnail_url();
            } else {
                // Fall back to the default header (which can be configured site-wide, so we can't hardcode the URL)
                header_image();
            } ?>
        ')">