heriz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Unresponsive Script caused by Custom fieldsThis started happening to me ONLY after importing my xml backup file. I’m still on 2.6 – I’ve been using WP for a year and this has never happened (and I’ve never used the Import function).
Looks like this might be the problem…
Surely there must be a way to undo it?
Forum: Fixing WordPress
In reply to: Wp and ‘wp-includes/Js’ troubleCheers for this Gary – this just started happening after I imported my old post metadata
However it does now mean that the custom fields you HAVE assigned to a post deliberately are also hidden, which is a bit of a nightmare, albeit a lesser one.
Why do the custom fields load the post meta in this situation anyway? It’s weird…
Forum: Plugins
In reply to: wp_list_categories: highlight current category when viewing single posttransalpin
I’d like to know this too. Had any luck?
Forum: Fixing WordPress
In reply to: Replacing database table contentsThanks Michael – it wasn’t quite what I was looking for, but investigating further I realised I’d totally overlooked the Import and Export tabs in the admin panel.
Premature senility I reckon.
I’ve had this problem before, and had it again recently – took me a while to work it out. I use Dreamweaver as well.
I suggest using a text editor as well, such as texteditor in Mac or notepad in Windows, but making sure the file is saved using UTF-8 encoding. I tested other encoding types and this was the only one that didn’t create the problem mentioned here, here and here.
Why this is I don’t know, but it might be worth including it in the custom themes tutorial?
Forum: Fixing WordPress
In reply to: Styling single posts depending on categoryI should’ve trusted Google more.
http://wordpresshero.com/tricks/different-single-post-pages-in-wordpress.html/
That’s it.
Forum: Fixing WordPress
In reply to: Styling single posts depending on categorySorry – I was confusing ‘style’ with ‘layout’.
I want to include different information on these single pages – styling them isn’t a problem. Is it best done with multiple loops in single.php?
Forum: Plugins
In reply to: [Plugin: Tag Functions] fatal error when using pluginI just tried out this plugin.
The documentation (included in the readme, but not on the download page) states you should put btl_list_functions, btw. But this doesn’t work either. It’s confusing.
It seems the documentation is incorrect, because it only works (at least, for me) if you include the code
<?php btl_list_tags(); ?>Try that.
Forum: Fixing WordPress
In reply to: what happened to my header image?Forget that – your rotate.php file has been hacked, or so it looks like.
Delete the file on your server and re-upload the rotate.php file to the rotator directory. Check to make sure the rotate.php on your system isn’t full of medical adverts first!
Forum: Fixing WordPress
In reply to: what happened to my header image?Have you double checked to make sure Header Image Rotator plugin is enabled?
Forum: Fixing WordPress
In reply to: Multiple categories & next_post_linkRemoving the sidebar Loop doesn’t change anything.
If I remove the ‘Poster’ category from the Personal post, then it all works fine. It is simply this cross-linking that’s the problem.
Thanks for your time Moshu, I think I’ll try using tags – if this doesn’t work, I’ll give up. It’s taking up too much time!
Forum: Fixing WordPress
In reply to: Multiple categories & next_post_linkOh and the sidebar loop is this code:
<?php $IDOutsideLoop = $post->ID; global $post; $myposts = get_posts('showposts=100&category=175'); foreach($myposts as $post) : ?> <li<?php if(is_single() && $IDOutsideLoop == $post->ID) print ' class="current-post-item"'?>><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endforeach; ?>Whether this is interfering, I don’t know.
Forum: Fixing WordPress
In reply to: Multiple categories & next_post_linkSorry yes – it should take it through the posts in that category. But as the sidebar is just a list of the posts in that category, then it should give the impression of going through them in order.
This is the issue. It does do this, but it also takes into account posts in other categories, even when they’re excluded. This is what I don’t understand.
So with your next_post links, was the only difference that you kept out ‘TRUE’ in the parameters for the bottom link?
I guess that this has at least located the problem, that it is definitely these ‘cross-linked’ posts that make my system unusable.
Forum: Fixing WordPress
In reply to: Multiple categories & next_post_linkNot surprised. I’m going to keep trying with this. It’s hard to explain.
So you go to the Client section, and click on an item. This takes you to the single.php. You then start browsing through the client items using the forward or backward arrow (next/prev_post_link).
This should do nothing more than take you – chronologically – through the Client work list in the sidebar.
But if you land on a piece which is a Poster (in the Sort – Poster category), and chronologically in the database the next post is also in the Poster category (but in the PERSONAL category, NOT CLIENT), it will take you to the single view of that Poster work in the PERSONAL section.
This means that the sidebar list changes to the Personal Work list, and the browsing logic is broken.
I want to be able to have both Client and Personal work in the same SORT category. But because of this next_post_link problem, I can’t.
Is this any clearer?
Forum: Fixing WordPress
In reply to: Multiple categories & next_post_linkHi Moshu. Sorry, I don’t think I’ve been quite clear enough.
This is on the single.php.
The WORK category currently has two subcategories: CLIENT and PERSONAL. You won’t see anything under PERSONAL yet because I’m testing this using localhost. Luckily.
I have another category: SORT. Under this will be the types of work, such as POSTERS or MUSIC PRODUCTS. This is separate from WORK, so I can create a SORT page (with small p) that collects these SORT sub-categories together.
Each post I put under either CLIENT or PERSONAL. But I will also put under the SORT type.
The problem is this:
When there are two posts in the same SORT sub-category, then the next_post_link in single.php includes that sub-category, even when the posts are in different WORK subcategories. This means that when browsing through each single view, it flicks between CLIENT and PERSONAL categories, favouring the SORT categories EVEN IF they are excluded, as shown above.
I know this is quite confusing – do you see my problem? (Other than my intelligence.)