Source

elbee-elgee / footer.php

Diff from to

footer.php

 <?php
-global $themename, $shortname;
+global $lblg_themename, $lblg_shortname, $lblg_options;
 ?>
 <div id="footer">
 	<div id="footerwrapper">
 	</div>
 	<div id="footercredits">
 	<?php 
-		$tmp_footer_text = get_option($shortname.'_footer_text');
-		if($tmp_footer_text == ''){ 
+		if( 'true' == $lblg_options['display_footer_copyright'] ) {
 	?>
 	<p><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a> <?php lblg_print_copyright(); ?></p>
-	<?php lblg_print_credits(); ?>
-	<?php
-		}else{
-			echo $tmp_footer_text;
+	<?php }
+		if( 'true' == $lblg_options['display_footer_credits'] ) {
+			lblg_print_credits();
 		}
-
+		
 		wp_footer(); 
 	?>
 	<!--<?php echo get_num_queries(); ?> queries-->
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.