[FEATURE REQUEST] Hide footer credits + Ads spaces
Is your feature request related to a problem? Please describe. Hey, I noticed there is no easy way (from admin menu) to hide/show the credits in the footer e.g. for whatever reason you don't want to show it is made with HTMLy or who designed the theme. Not sure if this is possible or breaks the term of the software and/or theme. Also I don't see a space to add simple widgets (maybe im blind) for google ads or other platforms, in my opinion it would be cool.
Describe the solution you'd like
- Adding a simple switch in the admin page to show or hide the credits and theme info (like the show or hide htmly version)
- Adding some space to insert advertisements e.g. Google Ads that will be displayed in every page and you decide if on the header or footer or both.
Additional info: Would be good to make it from the release and not modify the whole project, so it would be permanent and other people may benefit from this
Hi,
For widgets, currently you still have to add it manually, you can read the docs or tutorials to creating htmly theme (to know the theme structure).
Almost everything can be changed using just a theme. For example, you might want to create your own copyright function. Create functions.php inside your theme and write your custom function:
// My custom copyright
function mytheme_copyright()
{
$blogcp = blog_copyright();
if (!empty($blogcp)) {
return '<span class="copyright">' . $blogcp . '</span>';
}
return false;
}
Edit the layout.html.php and replace the copyright() with your new function mytheme_copyright().
Maybe a later release will have that option available but no ETA as it's pretty easy to make yourself.
is blog_copyright() returning Settings -> Config -> 'Copyright line'? We have something there but it is not showing.