jhames
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: Strip out Microsoft Word’s extraneous HTML tagsThanks for the tip about Paste from Word!
Forum: Everything else WordPress
In reply to: wp_list_pages Active StateI would love to know how you fixed this issue, floodlightdesign. I am using
<div class="tabs"><ul><?php wp_list_pages('title_li=' ); ?></ul></div>
in header.php and I am gettingcurrent_page_item
to appear in the category-tabbed navigation. But I can’t getcurrent_page_parent
to appear when I click a post related to a category tab.I installed WP 2.7 RC 3 this morning, btw.
Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesI can ZIP and e-mail you what I’ve got, if that helps.
Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesI’ve decided to manually control the tabs and pages outside of WP tags. I’m not going to mark this thread as “resolved” since I can’t achieve the desired effect. But if anyone can figure out how to present categories – not pages – as tabs for navigation, let me know.
Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesI also have the main menu of tabs showing “Latest News” as current category, even though I’m on the events.php page.
I really enjoy the ease of WordPress from the publishing end but I’m concerned about the amount of PHP that a person must know in order to work with the system.
Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesOh dear. I had unexpected results.
WordPress isn’t including
<div>
tags I wrote, but at the same time it’s inserting code I don’t want. I’m sorting through my events.php page right now trying to uncover why<div>
tags didn’t get published.Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesI just got server access this afternoon. I’ll try your solution and let you know asap the results.
Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesReading your last response a second time, I think your solution is far, far simpler.
I better get on that server access asap.
Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesMother Mary Magdalene, I got it to work!
I now have the active tab using the “on” state with the other two tabs using the “off” state, AND only posts associated with “news” are displaying on the homepage.
Now one last trick: when the user clicks on “events”
- how to hide the posts related to “news”
- how to highlight “events” with the “on” state tab
WP is really cool, I only wish so much of my questions weren’t dependent on PHP. :\ But thank you so much for all of your assistance, buddha trance! I couldn’t have made it this far without you. ??
Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesSorry for the multiple replies, WP didn’t show my first reply as posted.
Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesI found a link via Google on a WordPress Navigation Bar and I am trying to adjust its use on the page.
<?php
if (is_page()) {
$highlight = "page_item";
} else {
$highlight = "page_item current_page_item";
}
?>
<div>
<ul class="tabs">
<li class="<?php echo $highlight; ?>"><a href="<?php echo get_settings('home'); ?>">Latest News</a></li>
<?php wp_list_categories('title_li='); ?>
</ul>
</div>
Can your solution be done within the default pages provided by WP? I’m only asking because I have limited server access.
Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesI found a link via Google on a WordPress Navigation Bar and I am trying to adjust its use on the page.
<?php
if (is_page()) {
$highlight = "page_item";
} else {
$highlight = "page_item current_page_item";
}
?>
<div>
<ul class="tabs">
<li class="<?php echo $highlight; ?>"><a href="<?php echo get_settings('home'); ?>">Latest News</a></li>
<?php wp_list_categories('title_li='); ?>
</ul>
</div>
Can your solution be done within the default pages provided by WP? I’m only asking because I have limited server access.
Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesI found a link via Google on a WordPress Navigation Bar and I am trying to adjust its use on the page.
<?php //highlight 'Blog' if not Page if (is_page()) { $highlight = "page_item"; } else { $highlight = "page_item current_page_item"; } ?> <div> <ul class="tabs"> <li class="<?php echo $highlight; ?>"><a href="<?php echo get_settings('home'); ?>">Latest News</a></li> <?php wp_list_categories('title_li='); ?> </ul> </div>
Can your solution be done within the default pages provided by WP? I’m only asking because I have limited server access.
Forum: Fixing WordPress
In reply to: Styling Categories using ImagesI’m in the same boat as you, displayname. buddha trance has been kind enough to help me figure out how to display only one category on my main page, but I’m still puzzled as to how I can display all the categories as tabs that a user can click to view.
I’m about to try your secondary code, but have you had any success with
the_category(', ')
?Forum: Fixing WordPress
In reply to: Work with index.php to display a tab for created categoriesHoly Dhammapada, buddha trance, it worked! Now I can view only the News entries on the main page.
…Now I just need WP to display the “News” tab with the class “current_category”.