Forum Replies Created
-
AuthorPosts
-
conster
MemberI did not realized later that it was working. Even though Showcase Pro version did not change, I download a new copy and uploaded to the website. I thought I purged the caching but I might of forgotten to purge either WPengine or the browser. Thanks so much for responding.
conster
MemberI finally thought about it some more and here is a better way and keep the footer below the wrap like the Prose demo theme. The previous steps left the footer divs in two places (in the wrap and after the wrap) so I wanted to clean it up. I have two different versions of step 3. One with the Genesis Simple Hooks plugin and the other without. Please note that there might be a better way of changing the copyright for the Prose theme but this works for me.
1. Open init.php file (prose/functions/init.php)
2. Comment out or delete the add_action() codes but not the remove_action() codes (see example of commenting out the add_action codes below) then save file. The 1st remove function removes the initial footer div tags. The second remove function removes the default "return to top" and default copyright. The 3rd remove function removes the ending footer div tags. All the add functions adds the footer stuff after the wrap so that is why we are commenting it out because we will add it ourselves later.
/** Reposition the footer */
remove_action( ‘genesis_footer’, ‘genesis_footer_markup_open’, 5 );
remove_action( ‘genesis_footer’, ‘genesis_do_footer’ );
remove_action( ‘genesis_footer’, ‘genesis_footer_markup_close’, 15 );
//add_action( ‘genesis_after’, ‘genesis_footer_markup_open’, 5 );
//add_action( ‘genesis_after’, ‘genesis_do_footer’);
//add_action (‘genesis_after’, ‘genesis_footer_markup_close’, 15 );3. NOT USING GENESIS SIMPLE HOOKS PLUGIN (SEE THE NEXT STEP TO USE PLUGIN). Go to WordPress admin menu and select Genesis > Theme Settings. Scroll down to and add the below code with your domain name and title to wp_footer() then click "Save" button. I don't like this because you loose the PHP code for the date. The PHP code updates the year automatically.
<div id=”footer” class=”footer”>
<div class=”wrap”>
<div class=”gototop”>
<a rel=”nofollow” href=”#wrap”>Return to top of page</a>
</div>
<div class=”creds”>
Copyright © 2013 ·
<a title=”Your Title” href=”http://www.yourdomain.com”>Your Domain</a>
</div>
</div>
</div>3. ANOTHER WAY BUT WITH GENESIS SIMPLE HOOKS PLUGIN (PREFERRED). Go to wp_footer hook. Check “Execute PHP on this hook” because I use PHP code to automatically put the year in for the copyright. Copy the below code with your domain name and title then click the "Save" button.
<div id=”footer” class=”footer”>
<div class=”wrap”>
<div class=”gototop”>
<a rel=”nofollow” href=”#wrap”>Return to top of page</a>
</div>
<div class=”creds”>
Copyright © <?php echo date(“Y”); ?> ·
<a title=”Your Title” href=”http://www.yourdomain.com”>Your Domain</a>
</div>
</div>
</div>conster
MemberOkay. I place the code in the wrong hook. Instead of genesis_footer hook, place the code in the wp_footer hook to get the copyright outside the wrap like the Prose demo. Sorry for the confusion.
conster
MemberI thought I had it figured but the code is not perfect in the hook. My home page looks great but the other pages don't look right. Stay tune.
conster
MemberHere is more detail on how to fix copyright:
1. Open init.php file (prose/functions/init.php)
2. Remove or comment the following code then save file:
/** Reposition the footer */
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_footer', 'genesis_do_footer' );
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
add_action( 'genesis_after', 'genesis_footer_markup_open', 5 );
add_action( 'genesis_after', 'genesis_do_footer');
add_action ('genesis_after', 'genesis_footer_markup_close', 15 );3. Go to Genesis Simple Hooks and scroll down to genesis_footer hook. Check "Unhook genesis_do_footer() function from this hook?". Check "Execute PHP on this hook" because I use PHP code to automatically put the year in for the copyright. Place a similar code but replace your domain name or title.
<div id="footer" class="footer">
<div class="wrap">
<div class="gototop">
<a rel="nofollow" href="#wrap">Return to top of page</a>
</div>
<div class="creds">
Copyright © <?php echo date("Y"); ?> ·
<a title="Your Title" href="http://www.yourdomain.com">Your Domain</a>
</div>
</div>
</div>conster
MemberI tried Simple Edit and it does not work. Reading the old forum, I realized that the copyright is repositioned outside the footer. The theme developer wanted the footer outside the wrap. To fix this problem, I had to do the following to edit the init.php file (located under prose/functions/init.php) and comment out the reposition code (lines 78-84). Now under Genesis Simple Hooks, I am able to unhook the footer and added my copyright code. It now works.
conster
MemberBecause we are anticipating using hooks in the near future so I would like to keep the Genesis Simple Hooks plugin.
January 31, 2013 at 1:39 pm in reply to: Displaying home sidebar widget to the right of slider – Education Theme #16808conster
MemberI just discovered that. I did not have the content-sidebar-sidebar set as a default in Genesis>Theme Settings. Thanks so much for the quick response.
December 5, 2012 at 8:45 pm in reply to: Removing child category from the parent category page #3507conster
MemberI think you don't understand my question. This is a category page and not a regular page. I want to keep the child category but I do not want the child category posts to display on the parent category page, which currently displays posts from both the parent and its child categories. I am sorry but I cannot provide the link. Any help would be appreciated.
-
AuthorPosts