Forum Replies Created
-
AuthorPosts
-
June 17, 2020 at 10:53 am in reply to: Genesis Accessibility Components: Skip Links missing javascript? #499364
ilkweb
MemberI just cleared my cache again, and this time the changes seem to have taken effect. Thanks!
May 2, 2020 at 7:46 am in reply to: Show/hide footer area conditional logic is mis-firing in functions.php #498385ilkweb
MemberThanks, Victor.
I never thought Brad's code was wrong, but I do know that the Business Pro theme I used had been heavily customised even before I started tweaking it.
I've reached out to SEO Themes, the makers of Business Pro, with a complete and detailed message identifying the problem, and to ask which hooks I ought to be targeting to remove the footer completely on certain pages.
Thanks again! Stay safe!
April 30, 2020 at 4:22 am in reply to: Show/hide footer area conditional logic is mis-firing in functions.php #498308ilkweb
MemberI didn't Anita. I don't really want to bother him.
October 23, 2019 at 11:20 am in reply to: Quick feedback needed please – CSS inconsistency across browsers #494212ilkweb
MemberI solved this in the end. I used the Chrome browser in Chinese and the issue appeared. With some recoding of CCS there's a happy medium now between English and Chinese.
October 23, 2019 at 10:00 am in reply to: Quick feedback needed please – CSS inconsistency across browsers #494210ilkweb
MemberI just got vital feedback which makes my questions a little redundant: these "gap" issues only occur when Chinese is set as the default system preference.
October 23, 2019 at 6:03 am in reply to: Quick feedback needed please – CSS inconsistency across browsers #494200ilkweb
MemberThanks for checking, Victor.
ilkweb
MemberThanks. I'm satisfied that this issue is resolved.
October 4, 2019 at 3:06 am in reply to: Business Pro Featured Image for the Portfolio Archives #493863ilkweb
MemberCome over to the Genesis Slack group. Lee from SEO themes hangs out there. I use the same theme as you, although I'm not using the portfolio feature so cannot help you there.
If I were to guess, I'd say the featured image is under the Customizer.
SEO Themes have some documentation online here: https://docs.seothemes.com/
October 3, 2019 at 4:59 am in reply to: How to remove "This content is password protected…" from content feedsummaries #493838ilkweb
MemberI solved it with this code:
function my_excerpt_protected( $excerpt ) { if ( post_password_required() ) { $post = get_post(); $excerpt=$post->post_excerpt; } return $excerpt; } add_filter( 'the_excerpt', 'my_excerpt_protected' );
October 2, 2019 at 11:29 am in reply to: How to remove "This content is password protected…" from content feedsummaries #493832ilkweb
MemberI've been referencing this WP codex link for the code for other parts of the password protection functionality I've been customizing.
September 27, 2019 at 6:42 am in reply to: "Hamburger" menu suddenly looks odd – What is affecting it? #493747ilkweb
MemberThanks Victor. I solved this and arrived at the same conclusion as you. Thanks for replying.
ilkweb
MemberDid you get this working?
What theme are you using?
There's a site you can use for quick testing of viewports: https://ready.mobi/
It seems to be ok according to that site. The useful thing is that you can use the element inspector on those viewports and see your own html and css.
ilkweb
MemberI actually do need the plugin though - Without it, the widgets show up where I don't want them to. I've yet to replace the conditionals I put into the plugin with the equivalent conditionals in
functions.php
.I've been looking for a way to do this, as seemingly, what I presently have in
functions.php
is not sufficient.ilkweb
MemberI've used the following in
functions.php
to hide the actually footer widgets wrapper which I'm describing as the "footer widgets area":/* Show footer widget area on certain pages */ add_action( 'genesis_before', 'wpsites_display_footer_home' ); function wpsites_display_footer_home() { if( !is_page( array( 47, 18, 20 ) ) || is_404() || is_search() ) { remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' ); remove_action('genesis_footer', 'genesis_do_footer'); remove_action('genesis_footer', 'genesis_footer_markup_open', 5); remove_action('genesis_footer', 'genesis_footer_markup_close', 15); }}
I'm also using a conditional logic plugin for individual widgets to hide the four widgets I have:
is_page( array( 47, 18, 20 ) ) || is_404() || is_search()
This is working so far but I think I could probably lose the conditional logic plugin.
ilkweb
MemberI think I wrongly described what I'm trying to do.
I actually want to remove the footer widgets plus the footer widgets area. The footer, I understand, is where the credits reside.
August 26, 2019 at 11:18 am in reply to: Register a second sticky nav/menu at the BOTTOM of the webpage #493192ilkweb
MemberHi Brad, I'm using Genesis Simple Hooks in combination with some other methods. I'm almost there, and am using part of your code.
Thanks for the help!
August 26, 2019 at 6:40 am in reply to: Register a second sticky nav/menu at the BOTTOM of the webpage #493187ilkweb
MemberThe below code is creating TWO footers on my webpage.
function register_additional_menu() { register_nav_menu( 'third-menu' ,__( 'Footer Navigation Menu' )); } add_action( 'init', 'register_additional_menu' ); add_action( 'genesis_footer', 'add_third_nav_genesis' ); function add_third_nav_genesis() { wp_nav_menu( array( 'genesis_footer' => 'third-menu', 'container_class' => 'genesis-nav-menu' ) ); } echo' <div class="third-menu">'; wp_nav_menu( array( 'genesis_footer' => 'third-menu', 'container_class' => 'genesis-nav-menu' ) ); echo'</div> ';
If I remove
<div class="third-menu">'; wp_nav_menu( array( 'genesis_footer' => 'third-menu', 'container_class' => 'genesis-nav-menu' ) ); echo'</div>
I have the one footer, where I want it, but without the classes and subclasses I need.
At present the CSS I'm targeting is
#menu-footer { text-align:center; position: fixed; left: 0; bottom: 0; width: 100%; background-color: red; color: white; text-align: center; z-index:1000; }
I'm unable to center my nav as I would like to use
margin:0 auto;
while keeping the outer container atwidth: 100%;
I'm getting there gradually.
August 26, 2019 at 5:12 am in reply to: Register a second sticky nav/menu at the BOTTOM of the webpage #493185ilkweb
MemberThe code you posted in your tutorial breaks my CSS. I'm using a multisite.
I'm going over the code you posted but I cannot understand what is wrong with it, if anything is wrong.
July 18, 2019 at 2:51 am in reply to: Attempting to widgetize my theme using functions but site crashing #492415ilkweb
MemberThanks, Victor. That was indeed the solution.
ilkweb
MemberMy mistake in my last post. I meant to post this:
(Bill's improvement)
//* Customize 404 page entry title add_filter( 'genesis_404_entry_title', 'be_404_entry_title' ); function be_404_entry_title( $title ) { return 'Sorry, nothing found - English'; }
-
AuthorPosts