Would something like this screw up the search results? I have a page template that I want the customer to be able to modify the text of via the_content() for the page, but then I want the rest of the page to pull in a number of posts.
so I'm doing it this way:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2 class="pageTitle"><?php the_title(); ?></h2>
<div class="post">
<?php the_content(); ?>
</div>
<?php endwhile; endif; ?>
<?php
global $query_string;
global $more;
$more = 0;
query_posts('posts_per_page=10' . '&paged=' . $paged .'&cat=' . $categoryID);
?>
Yeah, I'm using a modified search.php template, but I think this goes beyond that. I've tried incorporating elements of the Twenty Eleven search.php template to see if that fixes my issue, but no luck.
I also thought that perhaps not calling wp_head() might cause some issues (since I leave it out for certain reasons), but no luck there either.
I'm not aware of any videos that would tackle your problem specifically, so let me take a shot.
Replace your index.php file with https://gist.github.com/918414
But notice this line in the code:
<?php query_posts('cat=-1'); //Change the value of "1" to the category IDs you want to exclude ?>
You'll want to identify the IDs of the categories that you don't want to show up on your homepage and add them to that line. If you have multiple it will look like this:
<?php query_posts('cat=-1,-2,-3) ?>
etc.
A very good friend of mine works full time at Trader Joe's doing just this. Did you mean to say that you were a "part-time" trying to transition to full-time?
Curiously, I'm also in the midst of tweaking my work flow and jumping into version control. I ended up going with git, and I suppose this is my process as best as I can describe:
I use MAMP to develop locally
I create one Wordpress Install and have developed my own 'starter' theme for theme development
I copy the starter theme in a new directory in wp-content/theme and then git init that directory and do my initial commit.
At that point I'm ready to get into the nitty-gritty of developing the theme, and commit working code as often as I can.
Once finished I use Transmit to push the theme to the web server, and if needed use the Theme Test Drive plug-in to test it in the real environment before activating.
Really cool, except I don't know what is considered "stared", is it the white or gray? I assume it's white, but my eyes defaulted to gray and I initially wondered why some content pieces had a half star right justified.
Anyway, I would change the way the stars are colored. Other than that, cool site.
I can empathize, good on you. Has he tried taking lactaid tablets?
Hodor
work computer > home computer :'(
Would something like this screw up the search results? I have a page template that I want the customer to be able to modify the text of via the_content() for the page, but then I want the rest of the page to pull in a number of posts.
so I'm doing it this way:
Yeah, I'm using a modified search.php template, but I think this goes beyond that. I've tried incorporating elements of the Twenty Eleven search.php template to see if that fixes my issue, but no luck.
I also thought that perhaps not calling wp_head() might cause some issues (since I leave it out for certain reasons), but no luck there either.
LOL, that took me a minute!
did you accidentally the whole thing?
I'm not aware of any videos that would tackle your problem specifically, so let me take a shot.
Replace your index.php file with https://gist.github.com/918414 But notice this line in the code: <?php query_posts('cat=-1'); //Change the value of "1" to the category IDs you want to exclude ?> You'll want to identify the IDs of the categories that you don't want to show up on your homepage and add them to that line. If you have multiple it will look like this: <?php query_posts('cat=-1,-2,-3) ?> etc.
Replace your sidebar1.php file with https://gist.github.com/918417
Glad you have a test site. Let me know how it goes!
If you're okay with changing code, I would use the query_posts function.
If you have custom templates, you could do something like: <?php query_posts(cat=1);?>
If you want to simply list out the categories that you have for navigation purposes, you can use the wp_list_categories function.
That way you can click on one of the categories that will list all of the posts only in that category.
For example, "growing" is a category on a site I created, and you can see everything in that category here:
http://www.farmcurious.com/category/growing/
Which is different than the custom template I have for the grow page
Hopefully this helps.
I wonder how much the Girl Scouts paid for that "redesign."
Client: "Add bangs and give them all nose jobs." Designer: "Done. That'll be 10,000.00."
Ah. well good luck! You're very talented.
A very good friend of mine works full time at Trader Joe's doing just this. Did you mean to say that you were a "part-time" trying to transition to full-time?
Anyone else here planning on attending?
Curiously, I'm also in the midst of tweaking my work flow and jumping into version control. I ended up going with git, and I suppose this is my process as best as I can describe:
Just wrote this up, would love to hear your thoughts!
The best resource is http://codex.wordpress.org/Installing_WordPress.
Did you install wordpress in a sub directory? If so, you'll need to make sure that your domain is pointing to that sub directory.
I'd like to add: functions.php
Rama?
Really cool, except I don't know what is considered "stared", is it the white or gray? I assume it's white, but my eyes defaulted to gray and I initially wondered why some content pieces had a half star right justified.
Anyway, I would change the way the stars are colored. Other than that, cool site.
nettuts: consistently churning out awesome content.
End of this list.
Back to top