eable
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Edit custom taxonomies slugHere is the register_post_type reference. To give the post type a slug with archives of its own, add
'has_archive' => 'yourslug'to your $args array. Is that what you meant?If you want to know how to append a custom post’s url depending on its parent or grandparent, I’m curious about that, too. I’d like to be able to generate /myslug/posttitle-parentslug/ links for posts in the “myslug” custom post type that are in a hierarchical group like a category.
Forum: Themes and Templates
In reply to: Custom sidebar for category children?After I posted I found this description of how to use a post_is_in_descendant_category function.
cat_is_ancestor_of looks useful. Thank you!
I need to make some test cases to feel through how practical application of cat_is_ancestor_of is different from post_is_in_descendant_category. Interesting.
Forum: Themes and Templates
In reply to: Static Misty Look Navigation TabsI don’t know why I didn’t figure that out. What a noob I am!
I replaced this line:
<?php wp_list_pages('title_li=&depth=1&'.$page_sort.'&'.$pages_to_exclude)?>With a few of these:
<li><a href="">link</a></li>Voila. No more frustration. The baby steps continue. 🙂
Thank you so much, Sadish, for your reply and your theme.
Forum: Plugins
In reply to: How can I use an alternative header.phpLook what I found! I was Googling around for something else WordPress and found a link to this: different CSS for different categories.
Color me (nerd) happy.
Forum: Themes and Templates
In reply to: How do I reduce the font size used in my sidebar?Look for the styles listed in the style sheet under NAVIGATION. 🙂
You can add something like font-size: 90% to any of div .nav, div .nav li, or div .nav li a, depending on what you want to accomplish. You could use ems instead, if you like.
If you only want to change the size of the h2 in your sidebar, you could define font-size like so:
div .nav h2 {font-size: 90%;}Forum: Developing with WordPress
In reply to: Tabular navigation to include categories?Thank you, Moshu! I’m going on the theory that as I keep going I’ll absorb more of how to approach a task, and my questions will be clearer. In the meantime, I will be a stumbling pest. 😉
Just to be clear, can part of a Page be a feed of some category of posts?
I’d be happy with topping a category index with an article that stays put, then filling out the rest of the category index with excerpts of the most recent posts.
I started with Misty Look. To accomplish a goal I’d change themes if need be. I’ve added a third column, made some changes to the masthead and a few other things. Those changes seem like they’d be portable to many themes, when I figure out what makes the content go into the divs.
Forum: Plugins
In reply to: How can I use an alternative header.phpHere’s a little more info – hope this helps! I am already using an alternative header.php for my home page via something like
<?php include (TEMPLATEPATH . '/header2.php'); ?>. I want to know how to do the same for some of the blog categories, and also some of the “static” wp pages. I don’t know enough php to be able to find where to associate a “topicheader.php” with all the posts in a specific category, or a “page2header.php” with a specific page.Could someone please point me towards what would do this, or supply a search term that I could use to find it on my own? “Read the codex” or “read about templates” is not specific enough to stick to my 99% php-illiterate brain.
Forum: Fixing WordPress
In reply to: How to change the font, font size in side barGet Firefox and the Firefox Web Developer plugin. With it you can experiment with CSS right in the browser and see almost instantly the results of what you are doing. It’s a great way to learn. Your changes with Web Developer vanish as soon as you go to another page, so you don’t have to worry about messing up anything. Once you’ve made changes you want to keep, copy them and put them into your theme’s css.
To find the right class/id to edit, do a view > source of the page and search for text that appears in that area. Look for what classes and ids are associated with that area. Then, search for the same classes and divs in the CSS. That usually does it, though sometimes you have to take into consideration that the CSS for plugin comes with the plugin.
I’d start with changing background colors for divs, to make it easier to see how the page is structured.
Like anything else, it’s not as confusing after you have your bearings.
Forum: Fixing WordPress
In reply to: how to stop WP from changing my xhtmlTry Options> Writing> and look at the formatting options. Uncheck “Users should use the visual text editor by default”
I hope that helps!
Forum: Plugins
In reply to: How can I use an alternative header.phpI’ve tried searching the documentation for [alternative header] and TEMPLATEPATH and whatever else I could think of. Is there a specific place in the codex where I should look?
Forum: Fixing WordPress
In reply to: how to stop WP from changing my xhtmlYou can go to Users > Your Profile and uncheck “use the visual editor when writing”
Forum: Developing with WordPress
In reply to: Professional wordpress siteHawthorne, my intuition is that if your content is time sensitive the blog post category route would be best. If you’re going to have a mix between newsy new content that eventually ages out and content that stays current, maybe you could use both WP “Pages” and blog “posts.”
Good luck!
Forum: Developing with WordPress
In reply to: WordPress as CMS for root with blog at /blogLOL peipinglong. I downloaded WP MU and came to the same conclusion. First I’ll get to know WP better. I can always consider fun with dynamite later.
Forum: Developing with WordPress
In reply to: WordPress as CMS for root with blog at /blogOh happy day.
I saw the Home Page Control plugin before, but didn’t give it a try because the plugin’s home page says
This plugin is not necessary if you are using WordPress version 2.1+
Now that I’ve actually tried it, I see that the plugin adds one more feature than WP 2.1+. I can now set up a WP “Page” at /blog and use Home Page Control to tell WP to put the blog stuff there.
Thank you!!
Forum: Developing with WordPress
In reply to: Professional wordpress site“Pages,” as opposed to “posts” will be in chronological order unless you assign a page order. Open the “Page” you want to move, and look for the little box called page order. Pages with lower numbers will show up online at the top or the left, depending on the layout of your list.
You can arrange pages alphabetically by title, by date, or by page order. Look for Presentation > theme options to see if your theme has a built in way to control this. In Misty Look, the theme I’m using as a base right now, there are three radio buttons at the bottom of that panel.
If you have set two pages with the same order, WP will try to work out contradictions by defaulting to alphabetical.