okieman
Forum Replies Created
-
Forum: Plugins
In reply to: Installed plugins not visible in Dashboard wp-adminCLOSING THIS because turned out to be different problem at…
wordpress-DOT-org
TOPIC access-to-network-dashboard-blocked-concatenated-linkForum: Networking WordPress
In reply to: Access to network dashboard blocked concatenated linkOK I may have a fix or a bad decision. I went into wp-admin/network and commented out line 18 which has a redirect I don’t understand. I can get in now (IF I hardcode the normal URL and do paste-and-go), but what is the intent of this original code? …
$redirect_network_admin_request = 0 !== strcasecmp( $current_blog->domain, $current_site->domain ) || 0 !== strcasecmp( $current_blog->path, $current_site->path );And why is the wrong link still inside My Sites / Network Admin ?
Forum: Localhost Installs
In reply to: Way to conceal CSS/HTML from contributor?Two good ideas! Beaver Builder didn’t come up in my plugin search, and I hadn’t heard about ACF, so thanks again.
Forum: Localhost Installs
In reply to: Use of CSS "not" for menu displayThe CSS mod worked on the first try. Thank you CrouchingBruin.
Instead of being exasperated, I remembered the advice I’ve heard about good work practices in coding. Like keep it simple. Here’s a reminder to monitor one’s self and ask: If a relatively simple problem hasn’t been resolved via a particular approach after 6 hours, maybe it’s time to step back and rethink it all.
RossMitchell I’ll still test the hooks thing so I know how to use it. And if my friend comes up with something interesting, I will post it.
Forum: Localhost Installs
In reply to: Use of CSS "not" for menu displayIE’s support for “:not” is much worse than usual, which is saying something.
CrouchingBruin, your suggested CSS looks suspiciously simple. I’d hate to think I struggled just for the exercise. When I get home tonight I’ll test it.
(An old friend who specializes in PHP is looking at what I wrote along those lines. I may end up using that fix somewhere down the road.)
Forum: Localhost Installs
In reply to: Use of CSS "not" for menu displayhad to go in functions.php
No: The codex says no conditional tags in functions.php. My brain is officially fried.
It didn’t help (yet) that I found a detailed if/elseif at wpexplorer dot com.
Forum: Localhost Installs
In reply to: Use of CSS "not" for menu displayGetting closer / still kinda broken.
The style register and enqueue had to go in functions.php. Plus, for whatever reason, the css file being loaded had to go up in the Genesis directory instead of the child directory where all the other action is taking place.
The last remaining problem is getting this PHP “if” statement to tell the difference between the default first page in the site and everything else. I tried it with both || and && between the two names for such a page.
if ( ! is_home() && is_front_page() ) { add_action( 'wp_enqueue_scripts', 'outreach_load_scripts2' ); function outreach_load_scripts2() { wp_enqueue_style( 'nav-all-nonsplash-pgs' ); } }Forum: Localhost Installs
In reply to: Use of CSS "not" for menu displayLong story short I’ve been researching this all afternoon. Best thing to do is create header.php and put it in the theme directory, and use that to check to see if I’m on any page other than the splash, then introduce a CSS snippet. But the code below somehow causes half the head to disappear on every page in the site. First item is header.php …
<?php wp_register_style( 'nav-all-nonsplash-pgs', get_stylesheet_directory_uri().'/nav-all-internal-pgs.css','all'); if ( ! is_front_page() ) { wp_enqueue_style( 'nav-all-nonsplash-pgs' ); }and inside nav-all-internal-pgs.css
.nav-primary #menu-item-572 { display:none; } .nav-primary #menu-item-658 { display:none; }Forum: Localhost Installs
In reply to: Use of CSS "not" for menu displayHmmm. Half way there. My theme only allows two nav menus at once. So I changed the primary to be the splash page. Then I changed the secondary to reflect what I need on all interior pages. Couldn’t find header.php anywhere in my theme. So I created a new functions.php with the following. But it displays the secondary below the primary on every page including the splash. Ack. Here’s my code …
function show_menu() { if ( is_home() || is_front_page() ) {} // is front-splash page therefore do nothing else // is any page on site not the front-splash page { if ( has_nav_menu( 'secondary' ) ) { wp_nav_menu( array( 'theme_location' => 'secondary' ) ); } } //use secondary menu }(Oh poo. I bet if I read the manual, it’ll say the secondary is intended to display beneath the primary.)
Forum: Localhost Installs
In reply to: Use of CSS "not" for menu displayNow, that looks promising! (Plus I’m discovering that :not will leave IE users out in the cold. Again.) I’ll try this out and report back.
Forum: Plugins
In reply to: [The Events Calendar] A little CSS helpI just installed the calendar today, but have already dealt with this.
Go to your admin dashboard, click on Events on the left, then below that Settings, then look in the middle for the Display tab. Go down a bit to “Enable event views” before three checkboxes.
I unchecked all except Month (AND clicked Save Changes way at the bottom), which forced the main calendar page on the site to default to the month view (my goal). It also got rid of the selector.
Forum: Fixing WordPress
In reply to: Upgrading / uploading at same time – breaking old stuffCatacaustic thanks for the response. Sounds like advance planning and taking it step by step will carry the day. I wanted to be sure there wasn’t a huge gap in my logic. Only small gaps.
Forum: Fixing WordPress
In reply to: CSS for centering in WordPressModerator, didn’t intend to create a problem; the vendor has not responded to my question. I’ll handle this on my own. Thanks anyway for your time.
Forum: Fixing WordPress
In reply to: CSS for centering in WordPressIt’s running locally on my PC via some mini-webserver software. Here’s a link to the vendor’s demo site (I’ve only made a few minor modifications to their default CSS so for). It’s the section below the image slider …
Forum: Fixing WordPress
In reply to: How turn off "current" portion of nav bar on one page?Perfect, KostasNi! Thank you so much for the rapid fix!