shull123
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Post formatting — add line between postsThat’s what I thought too, but check this link and you can see what happens. The dotted line appears like it’s suppose to, but I can’t figure out why it won’t go around the actual post text.
Forum: Fixing WordPress
In reply to: Post formatting — add line between postsYes. That’s correct. I thought that was it, but I couldn’t get any changes when I added the changes. Here’s the stylesheet info that I have for it. When I change the .entry from 0px to anything else, it changes the border of the box, but it doesn’t include the info. Am I just placing the border-bottom in the wrong place?
/* entry
————————————————–*/
.entry {padding-bottom:15px; margin-bottom:20px; font-size:95%; border-bottom: dotted 0px #eee; }
.entry .info {position:relative; padding:1px; border:1px solid; font-size:0.9em; border-color:#ddd; background-color:#f4f4f4; line-height:1.3em;}
.entry.single {clear:both;}
.entry .info a {margin-right:6px; padding-right:9px; border-right:1px solid; #949494;}
.entry .info em {padding-right:6px; font-style:normal;}
.entry .author,
.entry .editlink a {padding:0 0 0 5px; border-left:1px solid; border-right:none;}
.entry #filedunder {clear:both; padding:3px 0 0 0; font-size:0.9em;}
.entry a.more {padding-left:12px; background:url(/images/more.gif) center left no-repeat;}
.entry .info .date {padding-left:15px; background:url(/images/post.gif) center left no-repeat;}
.entry .info .author {padding-left:23px; border-color:#949494; background:url(/images/author.gif) 10px 2px no-repeat;}Forum: Fixing WordPress
In reply to: Navigation Bar — Exclude Menu ItemThanks a million! It worked just as you said. You have no idea how big of a help you have been. Thanks again.
Forum: Fixing WordPress
In reply to: Navigation Bar — Exclude Menu ItemI am fairly new to WP and have spent several hours working on this issue. I know you probably hate when people paste the code, but I don’t think I have any other options. My navigation portion of the header is as follows. Any thoughts on what to change or add?
Thanks again for your help.
————————<div id=”navigation”>
<li<?php if (is_home()) echo ” class=\”selected\””; ?>>“>Home
<?php
$pages = my_get_pages();
if ($pages) {
foreach ($pages as $page) {
$page_id = $page->ID;
$page_title = $page->post_title;
$page_name = $page->post_name;
if ($page_name == “archives”) {
(is_page($page_id) || is_archive() || is_search() || is_single())?$selected = ‘ class=”selected”‘:$selected=”;
echo “<li”.$selected.”>Archives\n”;
}
elseif($page_name == “about”) {
(is_page($page_id))?$selected = ‘ class=”selected”‘:$selected=”;
echo “<li”.$selected.”>About\n”;
}
elseif ($page_name == “contact”) {
(is_page($page_id))?$selected = ‘ class=”selected”‘:$selected=”;
echo “<li”.$selected.”>Contact\n”;
}
elseif ($page_name == “about_short”) {/*ignore*/}
else {
(is_page($page_id))?$selected = ‘ class=”selected”‘:$selected=”;
echo “<li”.$selected.”>$page_title\n”;
}
}
}
?>Forum: Fixing WordPress
In reply to: Navigation Bar — Exclude Menu ItemThanks.
But unfortunately, I tried it already and can’t exactly get it to work. I placed it in the header.php and it duplicated the entire navigation bar (all the tabs, it was pretty nasty).So, I know the syntax, but I can’t figure out where to put it inside template.
Forum: Fixing WordPress
In reply to: Navigation Bar — Exclude Menu ItemWell, they will all pretty much be WP Pages if I can help it. I am simply using Word Press as a way to have multiple admins (staff members) be able to update their portions of the site. I haven’t exactly got it all set up to that point yet, but hopefully it will be finished soon.
Right now, I am trying to add a WP Page through the Dashboard’s Page Post and keep it out of the navigation bar.
I have tried the exclude tags, but I am not sure where to put them…and when I do include them, it adds all the pages in a list type format.
Any thoughts?