@@ -166,13 +166,13 @@ function themeAsset($path){
166
166
<?php $array = config (' advanced-config.buttons' ); ? >
167
167
@foreach ($array as $button )
168
168
@php $linkName = str_replace (' default ' ,' ' ,$button [' button' ]) @endphp
169
- @if ($button [' button' ] === " custom" and ($button [' custom_css' ] === " " or $button [' custom_css' ] === " NULL" ) or (theme (' allow_custom_buttons' ) != " true " and $button [' button' ] === " custom" ) )
169
+ @if ($button [' button' ] === " custom" and ($button [' custom_css' ] === " " or $button [' custom_css' ] === " NULL" ) or (theme (' allow_custom_buttons' ) == " false " and $button [' button' ] === " custom" ) )
170
170
<div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-{{ $button [' button' ] } } button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ $button [' link' ] } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif >@if ($button [' icon' ] == ' llc' )<img alt =" button-icon" class =" icon hvr-icon" src =" {{ asset (' \/littlelink/icons\/' ) } } llc.svg" >@else <i style =" color : {{$button[' icon' ]}}" class =" icon hvr-icon fa {{ $button [' icon' ]} }" ></i >@endif {{ $button [' title' ] } } </a ></div >
171
171
@elseif ($button [' button' ] === " custom" and $button [' custom_css' ] != " " )
172
172
<div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-hover icon-hover" style =" {{ $button [' custom_css' ] } }" rel =" noopener noreferrer nofollow" href =" {{ $button [' link' ] } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif >@if ($button [' icon' ] == ' llc' )<img alt =" button-icon" class =" icon hvr-icon" src =" {{ asset (' \/littlelink/icons\/' ) } } llc.svg" >@else <i style =" color : {{$button[' icon' ]}}" class =" icon hvr-icon fa {{ $button [' icon' ]} }" ></i >@endif {{ $button [' title' ] } } </a ></div >
173
173
@elseif ($button [' button' ] === " buy me a coffee" )
174
174
<div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-coffee button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ $button [' link' ] } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" button-icon" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /coffee{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/littlelink/icons\/' ) } } coffee.svg @endif " >Buy me a Coffee</a ></div >
175
- @elseif ($button [' button' ] === " custom_website" and ($button [' custom_css' ] === " " or $button [' custom_css' ] === " NULL" ) or (theme (' allow_custom_buttons' ) != " true " and $button [' button' ] === " custom_website" ) )
175
+ @elseif ($button [' button' ] === " custom_website" and ($button [' custom_css' ] === " " or $button [' custom_css' ] === " NULL" ) or (theme (' allow_custom_buttons' ) == " false " and $button [' button' ] === " custom_website" ) )
176
176
<div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-custom_website button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ $button [' link' ] } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" button-icon" class =" icon hvr-icon" src =" https://icons.duckduckgo.com/ip3/{{ strp ($button [' link' ])} } .ico" >{{ $button [' title' ] } } </a ></div >
177
177
@elseif ($button [' button' ] === " custom_website" and $button [' custom_css' ] != " " )
178
178
<div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-hover icon-hover" style =" {{ $button [' custom_css' ] } }" rel =" noopener noreferrer nofollow" href =" {{ $button [' link' ] } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" button-icon" class =" icon hvr-icon" src =" https://icons.duckduckgo.com/ip3/{{ strp ($button [' link' ])} } .ico" >{{ $button [' title' ] } } </a ></div >
0 commit comments