dvsmith
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to do mouse over effect in navigation menuOh, okay. I misunderstood. (And was a little bit mean.)
It’s possible to do the ‘drop-down’ entirely in CSS.
There’s a pretty good walkthrough here, on the code:
https://www.alistapart.com/articles/hybrid/For the wordpress call to child pages, take a look at:
https://robm.me.uk/projects/plugins/wordpress/list-subpagesIt’s what I’m using on our site (though, not in the exact manner you are).
Forum: Themes and Templates
In reply to: How to do mouse over effect in navigation menuChristian, you may want to look into hiring a new “programmer.”
The site in question is using very simple CSS conditional image replacement.
If you look at the site’s CSS file, you’ll see that the
a
(link) elements with the class ofglink
do not have a separate background image so long as the mouse isn’t hovering over them. When the pointer is over them (called through the:hover
element), the background changes to<a href="https://zfoneproject.com/glblnav_selected.gif">glblnav_selected.gif</a>
.To read more about image replacement see: https://www.w3schools.com/CSS/css_pseudo_classes.asp
https://allmyfaqs.net/faq.pl?Hover_effectForum: Plugins
In reply to: [Plugin: Maintenance Mode] Stay away from this the maintenance mode pluginI’ve had no problems with it on either 2.6 or 2.6.1. It’s worked as advertised for me.
Forum: Plugins
In reply to: Lock Out with 2.6.1?I’ll second the Maintenance Mode recommendation. I’ve run it on my 2.6.1 installation without any problems.
It respects role-manager settings (so that you can control who sees the maintenance page, and who can get into the site) and the maintenance page is relatively easy to customize.
The only snag is the need to disable it before upgrading the wordpress version.
https://www.ads-software.com/extend/plugins/maintenance-mode/
Forum: Themes and Templates
In reply to: understanding php codesAnything that’s not between
<?php
and?>
is not PHP code, it’s (X)HTML.The
id
andclass
attributes in the HTML are calls to the CSS stylesheets. They’re completely arbitrary, so long as the names match those on the stylesheet. You could rename every instance of#annoucementcontent
to#joe-bob
and every instance of#annoucement
to#angelina-jolie
and it wouldn’t affect the Loop, at all.Forum: Themes and Templates
In reply to: how do I change my HEADER to look like …It’ either:
- the height of
logo.gif
, - the CSS
height
attribute of:
.logo
#search
#header
- the CSS
margin
and/orpadding
attributes of:
.logo
- `#search
Forum: Fixing WordPress
In reply to: HTML editor replaces quotes with “smart quotes”Actually, inline-javascript is my friend, as I really didn’t want to disable all smart quotes, just the ones entered in the HTML editor pane (which is a little misleading, if it isn’t truly a hands-on code view).
Forum: Fixing WordPress
In reply to: home.php disables index.php?The problem with using the “Reading” panel is that it ignores the
is_home()
function.Whatever page is set to be the “Posts” page remains the home, as far as the loop is concerned, making any calls to that function broken.
Using a home.php template respects the
is_home()
, but breaks the posts page.Edit:
Nevermind, I just discovered theis_front_page()
function, introduced in 2.5.1 (I hadn’t used WP since 2.1 was intro’d).Forum: Fixing WordPress
In reply to: List Uploaded FilesI was wondering the same thing…?
(tap) Is this thing on…? (tap)(tap)(tap)
Forum: Plugins
In reply to: Looking for simple way to upload/display a list of filesI’m looking for a solution to the same need. Did you have any luck?
- the height of