e7
Forum Replies Created
-
I think you have to create one by one, but look, there’s only so many states ??
Forum: Fixing WordPress
In reply to: what dictates the category the main index file is assigned to?Bump, no replies?
I was just browsing through your site, I didn’t see the error at all. Looks like you have a good start going. One thing you should consider is making a category for each state. This is a pretty big project you have started.
First off I’m not sure you want to use “pages” for this exercise… because pages are outside the main wp loop. However one thing I did on my site is to use the page architecture, basically assing a page for each state and for each school in that state you can parent it to the state page. I’ll show you a quick example, this is just a quick idea about what you’re trying to do and it may not work for you at all anyways.
https://e7.shanky.com/wordpress/?page_id=38
Scroll to the bottom of the page to see the site map, you’ll notice how the Art Gallery functions as a parent for all the individual sub-pages.
Your question really is a web design question, not so much wp related.
Moshu keeps saying that pages don’t have categories, this is untrue, they are assigned to the default category normally but you can easily reassign them if you add the following lines to your wp-admin/edit-page-form.php file in the right place:
<fieldset id=”categorydiv” class=”dbx-box”>
<h3 class=”dbx-handle”><?php _e(‘Categories’) ?></h3>
<div class=”dbx-content”>
<p id=”jaxcat”>
<div id=”categorychecklist”><?php dropdown_categories(get_settings(‘default_category’)); ?></div></div>
</fieldset>This will give you the option of assigning the category of each individual page you create or edit it as you see fit. I’m not sure why the wp team hasn’t added this functionallity by default into wordpress. I think older versions of wp treated pages differently but now they’re basically posts.
Forum: Fixing WordPress
In reply to: “Killing” Page Category?Ok, the solution is rather simple. Add the following lines to the wp-admin/edit-page-form.php file in the right place:
<fieldset id=”categorydiv” class=”dbx-box”>
<h3 class=”dbx-handle”><?php _e(‘Categories’) ?></h3>
<div class=”dbx-content”>
<p id=”jaxcat”>
<div id=”categorychecklist”><?php dropdown_categories(get_settings(‘default_category’)); ?></div></div>
</fieldset>This will give you the selection to choose a category for each page just like you do for posts.
Good luck folks.
Forum: Fixing WordPress
In reply to: “Killing” Page Category?Thanks for the response,
There is no the_category tag in my page.php file at all. I am using php to write in the header of my page and there is a statement there which reads:
if(in_category(#){…do this… }
Because apparently my pages belong to a default category which I want to be the default category for posts but NOT for pages I need a way to change the page categories.
Pages DO have a category, if you change the default setting in the admin center and create a new page it will belong to the new category.
Forum: Fixing WordPress
In reply to: How to change page category?Well this is neat, so pages do have categories.
It would be best if the wp team added a selection option inside the main admin menu to allow changing of page categories.
I don’t think categories for pages are bad, I just wish I could change them w/o having to do what htheriault described…
Forum: Fixing WordPress
In reply to: “Killing” Page Category?BUMP!
Can someone answer this?
How can page categories be changed or disabled? I’m having a problem with this myself. I thought pages reside outside the loop and are not assigned to categories but on my website they seem to be. Because I have two themes running a main theme and a category specific theme, I’m running into problems with this.
Forum: Fixing WordPress
In reply to: Blank pageIf you haven’t altered your files at all try using a different browser. I have problems using IE and WP together. The thing should come with a disclaimer.
Go download Firefox, I hope this helps you, good luck!
Forum: Installing WordPress
In reply to: problems with posting new post/pageActually this problem still persists, I cannot make posts/pages with IE still. Maybe the WP staff should consider putting a warning in the system that IE cannot be used for updating your blog??
Forum: Installing WordPress
In reply to: how do i make comments work with pages (posts already work)Ah, I searched for it but didn’t get the result I wanted. Thank you so much moshu. I will try it over the next couple of days and see how it works out for me.
Forum: Fixing WordPress
In reply to: Adding Flash to pagesactually i’m having problems creating a page through wordpress to work php properly. For example, by going in and creating a page you type all your text and you can use html tags just fine, but typing the simple line <?php echo “test line…”; ?> will not display anything at all.
I read through this topic, the only advice I could give is to manually generate the page, make sure you can make a simple page with this flash file in it before you try to integrate it into wordpress.
Forum: Fixing WordPress
In reply to: Removing Bullet from Links and Pages?To remove the title go into the theme directory and edit the page.php file, there is a line in there which displays the title. Your margin is probably in your css file, good luck.
Forum: Installing WordPress
In reply to: Upgrading from 2.0.2 to 2.0.3I found the upgrade from 2.0 to 2.03 very painless yesterday. I only have the wp-config and my theme files which are edited, everything else is default. Hope you fix your problem.