creativelifeform
Forum Replies Created
-
Forum: Hacks
In reply to: Question about PaginationOkay, it has something to do with the permalink structure. Now if I go and change the permalink structure to the default setting, everything works fine. But I don’t want to have to do that. This is an incredibly bad problem which, to be honest, I’ve not run into before now oddly enough. Perhaps this is a 3.2.1 thing?
Forum: Hacks
In reply to: Question about PaginationInterestingly enough, changing my template back to the default does not fix the issue. Very strange…
Forum: Themes and Templates
In reply to: Cannot add posts or pages after host changeOkay I just reinstalled. Fixed now.
Forum: Themes and Templates
In reply to: Cannot add posts or pages after host changeNo one?
Forum: Themes and Templates
In reply to: 3.1.1 logged in controlsYeah those are there. There must be something that changed in the general_template.php or something like that because I wasn’t seeing this before 3.1.1
Forum: Themes and Templates
In reply to: How to display specific post orderAh! the offset parameter solved my problem.
Forum: Fixing WordPress
In reply to: Security Keys after installCheers thanks!
Forum: Fixing WordPress
In reply to: Security Keys after installHi macmanx, thanks a lot.
So I can just edit the wp-config file offline, add the security keys and then upload it to the server and it won’t break anything right?
Forum: Fixing WordPress
In reply to: Get the current category reliablyHmm okay for anyone else having this problem, dolphin_design provided an answer in another thread I was posting in. You can just use
if(in_category('Your Category)){}
although this is kind of lame because it relies on you hardcoding in the sub category name. If anyone else finds a way to do this and bypass the alphabetical ordering of parent/child arrays please let me know. Can’t really understand why it is done that way in the first place though.
Forum: Fixing WordPress
In reply to: get_the_category questionUpdate: weirdly enough, if I use <?php the_category(‘, ‘) ?> it writes them out fine BUT they are in alphabetical order. Is there any way to use the_category() and just have it order via parent->child?
Forum: Fixing WordPress
In reply to: get_the_category questionOkay, now this is really frustrating. I’m cool with using javascript for the above issue, but now I want to do something really simple and its not going to work because of this problem.
Just to recap; I’m inside of a category called Procedures. I am using the following code:
$category = get_the_category(); echo $category[0]->name
The echo is happening inside of a loop:
<?php $my_query = new WP_Query('category_name=Procedures'); ?> <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
And it is returning “Practices”
I just don’t know how this is possible…The posts inside this category have nothing to do with Practices, they are all children of the Procedures category.
Forum: Installing WordPress
In reply to: Migrating from Local to onlineHi macmanx, yep I’ve done that now, everything seems to be going smoothly! Just need to get my media uploaded now. Cheers!
Forum: Fixing WordPress
In reply to: get_the_category questionYeah, I don’t know. It works with Javascript, I’m not too bothered to depend on Javascript, its really just a visual element and nothing related to key functionality.
Forum: Themes and Templates
In reply to: Using alternate stylesheets for IEHi, thanks jleuze, I didn’t change anything and its working now. Stupid IETab for Chrome…I don’t think its so accurate…when I test in IE8 its fine, but if I test in IETab…no go.
Noted about template_url, I usually put my css directory where the main style.css is located anyway but that’s good to know. Cheers.
Forum: Fixing WordPress
In reply to: get_the_category questionHey, I’ve actually just resolved to do it with Javascript for now. Very easy that way. Its really just graphics, not too fussed if someone browsing with Javascript turned off doesn’t see the correct header graphic, I don’t really know who does that these days anyway.