I would like to feature a tip on the homepage

You can place another loop on the template, for example below the first loop. Multiple loops documentation: http://codex.wordpress.org/The_Loop#Multiple_Loops_Example_1 <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <!– your first loop … –> <?php endwhile; ?> <?php endif; ?> <?php wp_reset_query(); $tips_query = new WP_Query( ‘category_name=tips&posts_per_page=1’ ); ?> <?php if ($tips_query->have_posts()) : ?> … Read more

Only first category!

If I understand you correctly, you want to display the parent Categories themselves, and not their posts, correct? get_terms is what you need. $top_level_categories = get_terms( ‘category’, array( ‘parent’ => 0, // This will get ONLY top level items ‘hide_empty’ => false // This will make sure even empty categories are returned ) ); print_r( … Read more

Generating a feed of all but one category of posts

I think you can go even simpler in the coding. Just add the below to your functions.php file within your theme folder. function myFeedExcluder($query) { if ($query->is_feed) { $query->set(‘cat’,’-73,-9′); // categories 73 and 9 are being excluded } return $query; } add_filter(‘pre_get_posts’,’myFeedExcluder’); Note particularly that multiple categories can be excluded by separating them with commas. … Read more

Category link redirect to custom template page instead of index.php?

Your question implies that index.php is a page to be redirected to, it isn’t, it’s purely a template file. It implies that single.php being loaded is what makes a page singular, or that loading the page.php template will give you a page, when it’s actually the other way around. I strongly recommend reading about the … Read more

javascripts files not linking to my category slugs?

Relative URLs are best avoided in WP, so use absolute URLs instead. Also, you should load javascript files using the correct method, ie by using the wp_enqueue_script() function hooked to the wp_enqueue_scripts action hook. Doing both of these things will sort out your issue. Using wp_enqueue_script() will also allow you to define dependencies so, for … Read more