Forum Replies Created
-
AuthorPosts
-
rdw2017Member
That worked perfectly, thanks!
rdw2017MemberDepending on the page. I'm not as concerned about the posts.
December 6, 2017 at 10:45 am in reply to: Monochrome Pro – Switch Footer Navigation & Credit #214314rdw2017MemberAh! I figured it out.
// Remove site 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 );//Customize site footer
add_action( 'genesis_footer', 'sp_custom_footer' );
function sp_custom_footer() { ?><div class="site-footer"><div class="wrap"><p>© 2017 RedDesk Writing</p></div></div>
<?php
}***Make sure to remove the original code.
This page helped a lot. https://studiopress.blog/customize-genesis-site-footer/
December 5, 2017 at 11:01 pm in reply to: Monochrome Pro – Switch Footer Navigation & Credit #214303rdw2017MemberWhat I don't understand is why they'd design the template that way to begin with. After digging through the code, it looks like they've taken a previous template and modified it, rather than building from scratch, which is why this thing is so difficult to parse out.
Anyway, I figured out how to flip them. The downside is I now have duplicate credits (on my site, the duplicate shows up larger than the original and on the left margin of the page). I'm still trying to figure out how to remedy that.
Here's what I have so far:
// Remove site footer.
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );// Add site footer.
add_action( 'genesis_after', 'genesis_footer_markup_open', 5 );
add_action( 'genesis_after', 'genesis_do_subnav', 5 );
add_action( 'genesis_after', 'genesis_footer_markup_close', 15 );// Reposition secondary navigation menu.
add_action( 'genesis_after', 'genesis_do_footer' );
remove_action( 'genesis_footer', 'genesis_do_footer', 12 );If you compare this to the original you'll probably figure out pretty quickly what I did.
(Make sure you delete the original code before pasting this in, of course.)
December 5, 2017 at 11:42 am in reply to: How to remove the hyphen line under page and post titles #214291rdw2017MemberIs this removed in the same way on Monochrome Pro? I removed the border-bottom but the hyphen is still there at the top of every page.
rdw2017MemberI have the same question.
-
AuthorPosts