Correct atahualpa theme to work with bedrock 0.1
authorymh <ymh.work@gmail.com>
Wed, 04 Dec 2019 15:38:56 +0100
changeset 1 407d5a626a50
parent 0 505fe5249d9c
child 2 7996096aaae3
Correct atahualpa theme to work with bedrock
src/web/app/themes/atahualpa/functions.php
src/web/app/themes/atahualpa/functions/bfa_rotating_header_images.php
--- a/src/web/app/themes/atahualpa/functions.php	Wed Dec 04 11:40:06 2019 +0100
+++ b/src/web/app/themes/atahualpa/functions.php	Wed Dec 04 15:38:56 2019 +0100
@@ -132,8 +132,6 @@
 }
 
 function bfa_footer_output($footer_content) {
-	global $bfa_ata;
-	$footer_content .= '<br />Powered by <a href="http://wordpress.org/">WordPress</a> &amp; <a href="http://forum.bytesforall.com/">Atahualpa</a>';
 	return $footer_content;
 }
 
--- a/src/web/app/themes/atahualpa/functions/bfa_rotating_header_images.php	Wed Dec 04 11:40:06 2019 +0100
+++ b/src/web/app/themes/atahualpa/functions/bfa_rotating_header_images.php	Wed Dec 04 15:38:56 2019 +0100
@@ -13,7 +13,7 @@
            $imgpath = get_template_directory() . '/images/header/';
            $imgdir  = get_template_directory_uri() . '/images/header/';
         } else {
-           $imgpath = ABSPATH . 'wp-content/' . $img_folder . '/header/';
+           $imgpath = WP_CONTENT_DIR . '/' . $img_folder . '/header/';
            $imgdir  = content_url() . '/' . $img_folder . '/header/';
         }