Added option to theme config to disable custom background images
This commit is contained in:
parent
5665465076
commit
87424e1d2e
|
@ -45,6 +45,7 @@ return $path;}
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if(theme('allow_custom_background') != "false")
|
||||||
@php
|
@php
|
||||||
$customBackgroundFile = findBackground($userinfo->id);
|
$customBackgroundFile = findBackground($userinfo->id);
|
||||||
$customBackgroundPath = base_path('/img/background-img/'.$customBackgroundFile);
|
$customBackgroundPath = base_path('/img/background-img/'.$customBackgroundFile);
|
||||||
|
@ -67,6 +68,7 @@ if($customBackgroundExists == true){
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@endif
|
@endif
|
||||||
|
@endif
|
||||||
|
|
||||||
<!--#### BEGIN Meta Tags social media preview images ####-->
|
<!--#### BEGIN Meta Tags social media preview images ####-->
|
||||||
<!-- This shows a preview for title, description and avatar image of users profiles if shared on social media sites -->
|
<!-- This shows a preview for title, description and avatar image of users profiles if shared on social media sites -->
|
||||||
|
|
Loading…
Reference in New Issue