(→Examples) |
(→Examples) |
||
| Line 21: | Line 21: | ||
This would then transform the top of the theme Welcome page into something like this: | This would then transform the top of the theme Welcome page into something like this: | ||
[[File:PageLines-Welcome-Billboard-blank.png|center]] | [[File:PageLines-Welcome-Billboard-blank.png|center]] | ||
| + | Well, that's rather boring ... but we can fix that rolling our own Welcome Billboard code ... | ||
| + | |||
| + | <syntaxhighlight><?php | ||
| + | function my_pagelines_welcome_billboard(){ | ||
| + | /** Let's borrow some code ... */ | ||
| + | } | ||
| + | ?></syntaxhighlight> | ||
== Source File == | == Source File == | ||
pagelines_welcome_billboard can be used to modify the content at the top of the theme Welcome page produced by the get_welcome_billboard function.
NB: my_pagelines_welcome_billboard is used only as an example, a more appropriate function name should be used in production code.
The default look of the theme Welcome page is very similar to the following:
If you wanted to remove that altogether then you could simply add the following to your (Child-Theme's) functions.php file:
This would then transform the top of the theme Welcome page into something like this:
Well, that's rather boring ... but we can fix that rolling our own Welcome Billboard code ...
pagelines_welcome_billboard is defined in get_welcome_billboard() which is located in admin/class.welcome.php