mtibbits
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: HELP!! Posts disappeared from front pageI just changed “events”, which is the slug to the category name, “Upcoming Events” and it shows them….
If this code will do it that’s great, but I’m wondering why mine worked before, and now doesn’t once the job-bank posts are added??
Forum: Fixing WordPress
In reply to: HELP!! Posts disappeared from front pagethat sort of works…but it’s showing the job-bank posts instead of events…
And my code did work until the job-bank posts were added…
I left it with your code so you can see what it does…
Forum: Fixing WordPress
In reply to: HELP!! Posts disappeared from front pageBasically, 2 from events and 1 each from featured-employer and featured-partner.
Then I have links to news and the job-bank categories.
And I just noticed if I change my code so job-bank shows on the main page it works, but none of the other categories do.
Forum: Fixing WordPress
In reply to: HELP!! Posts disappeared from front pageAnd if this helps any… if I delete the following from my code:
if (!in_category('events')) continue; ?>I get the listing of full posts.
Here is my full “loop” code:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php static $count = 0; if ($count == "2") { break; } else { if (!in_category('events')) continue; ?> <?php if ($count < 1) { echo '<h1>'; the_category(', '); echo '</h1>'; }?> <div class="post"> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a> </h2> <div class="entry"> <?php the_content('Read more...'); ?> </div> </div> <?php $count++; } ?> <?php endwhile; ?>Forum: Fixing WordPress
In reply to: HELP!! Posts disappeared from front pageAnother thing… if I switch from my theme to the default, it shows my posts from most recent to oldest on the front page.
I copied the loop from index.php in the default theme, and it still shows up as blank.
Forum: Fixing WordPress
In reply to: HELP!! Posts disappeared from front pageI was using the “page links to” plugin for my news and job bank links, as they are posts and not pages… it seemed to happen after she entered the posts in the job-bank category.
I disabled the plug-in and same thing. Re-enabled, and same thing.
Forum: Fixing WordPress
In reply to: HELP!! Posts disappeared from front pageI’m using the “permalink” names for my categories. (ie. “events” instead of “4”) and they are the same…
Forum: Fixing WordPress
In reply to: Links to POSTS will not workStupid me, I used %pagename% as my custom permalink structure instead of %postname%.
Forum: Fixing WordPress
In reply to: Posts and pagesSweet, that did the trick.
Now, how do I create a link to a specific category of posts, such as news, and can I somehow include that link in a menu generated using wp_list_pages?
Forum: Fixing WordPress
In reply to: Permalinks and CSSSorry, I guess you already answered that with:
<?php bloginfo('template_directory'); ?>/rest of the path hereThank you very much for your help!
Matt
Forum: Fixing WordPress
In reply to: Permalinks and CSSOk, I used:
<?php bloginfo('stylesheet_url'); ?>for my default stylesheet and it is working. One last question is: how do I then link to my print and my IE only stylesheets? They are in the same location, but have a different name than the default style sheet.
Forum: Fixing WordPress
In reply to: Permalinks and CSSI am using relative paths…can I not do this?
I have everything on a local testing server for now so I don’t have a link to the site. If need be I will upload later this evening.
Forum: Fixing WordPress
In reply to: Permalink Change causes CSS problem.I am having a similar issue…I changed permalinks from the default to Day and name, and now when I click on a link I get my page, but there is no CSS.
I am working with pages here, not posts. WordPress v2.7
Can anyone help?