Rich Owings
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Export function produces 0-byte fileI am having this problem too. I was hoping that moving to 2.9.1 would fix it, but it did not. What’s weird is after I updated my testing subdomain (a duplicate of my main site), XML export works on that installation.
Forum: Fixing WordPress
In reply to: How to diplay custom sidebar if post is from a certain categoryHmm, well, when I pulled the suspect code the second time it worked. Not quite sure what I did different. You may have gathered that I’m using an older theme! Anyway, a bit of styling and it’s all working great. Thank you so much for your help!
Forum: Fixing WordPress
In reply to: How to diplay custom sidebar if post is from a certain categoryThanks again for your help. I’m close. It works, but the layout is screwed up. Not because of this though. I think it has to do with my modified sidebar file, which includes this code copied from the original:
<ul id="l_sidebarwidgeted"> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>I suspect that is the problem.
Here is what I ended up with in regard to the code you supplied, FWIW:
<?php global $post; $side = false; foreach( (get_the_category($post->ID)) as $category) { if ($category->cat_ID == 9) {$side = true;}; } if($side) { include(TEMPLATEPATH."/l_sidebar_alt.php"); } else { include(TEMPLATEPATH."/l_sidebar.php"); } ?>Forum: Fixing WordPress
In reply to: How to diplay custom sidebar if post is from a certain categoryAh, my PHP skills are in their infancy. How do I call the sidebar?
The existing sidebar is called this way…
<?php include(TEMPLATEPATH.”/l_sidebar.php”);?>Forum: Fixing WordPress
In reply to: How to diplay custom sidebar if post is from a certain categoryThanks! I’ll give it a shot and let you know how it goes.
Forum: Fixing WordPress
In reply to: Search Custom Field Data?You are awesome! Works perfectly.
Forum: Fixing WordPress
In reply to: Search Custom Field Data?Yes, I’m looking for the ability to do this from admin too.
Forum: Plugins
In reply to: how to display all tags in one page???Never mind. All I wanted was a page with a list of tags in alphabetical order, so all I needed was step 2. Which works great BTW!
Forum: Plugins
In reply to: how to display all tags in one page???Dgold,
I’m trying to implement this, and it does generate the archive page I’m after. But I get a syntax error when I click on a tag link. There seems to be a missing opening curly brace in the code you posted above (which I’ve pasted below). Can you clarify what the correct code is? I play at the PHP 101 level! Thanks for any help you can offer.
<?php /* If this is a tag archive */ } elseif (is_tag()) { ?> <h2 class="pagetitle">Archive for '<?php single_tag_title(); ?>' Tag</h2> <ul><li><a href="<?php bloginfo('url'); ?>/tag/">All <?php if (function_exists('tagstats')) { tagstats(); } ?> tags index here.</a></li></ul>Forum: Fixing WordPress
In reply to: Empty xml export fileI’ve got the same problem, all of a sudden.
Forum: Fixing WordPress
In reply to: File sizes in backups differ from those on serverAh, now that makes sense. Thanks for taking the time to reply.
Forum: Fixing WordPress
In reply to: File sizes in backups differ from those on serverHere’s what my host support said:
It is hard to say, I doubt its a big deal since the file reporting between OSes can be different.
Does that ring true?
Forum: Fixing WordPress
In reply to: Using custom fields to display repeating textHmm, after investigating developing a custom single.php file for my reviews category, I’m not sure this is possible.
I wanted to use the custom field to grab the product name and use it in the title tag, various headers, and elsewhere within the post. Is there anyway to do that?
Forum: Fixing WordPress
In reply to: changing stylesheet for single posts in specific categoryI want to do the same thing. Where does the code with the conditional tags go? In the loop?
EDIT: Actually, I’m not concerned about stylesheets, but I do want all posts in a specific category to use a custom template.
Forum: Fixing WordPress
In reply to: Using custom fields to display repeating textThanks for taking the time to respond. Now I have to learn how to do a custom template file. Hey, it’s all good though — I’m learning!