ult
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: next_post_link: exclude category doesn’t workcan anybody at least confirm that $excluded_categories work in next_post_link?
Forum: Fixing WordPress
In reply to: next_post_link: exclude category doesn’t worksorry but this is not next_post, which is deprecated in 1.5, this is next_post_link
function next_post_link($format=’%link »’, $link=’%title’, $in_same_cat = false, $excluded_categories = ”)
so, it is on pos. 4…
Forum: Fixing WordPress
In reply to: next_post_link: exclude category doesn’t workmoshu, thanks but replacing 0 with FALSE doesn’t help, and I didn’t find any other mistakes with passing parameters. Then, I wonder if I actually should feel myself like a buddhist disciple trying to hear one palm’s flap.
Forum: Fixing WordPress
In reply to: the_excerptI ended up puttin […] at the end of excerpt field ?? no link, though.
Forum: Fixing WordPress
In reply to: is_home problemThanks,
The problem was similar, a php comment, something like <?php … { /* ?> in the middle of the page, and after that is_home() didn’t work anymore ??Forum: Fixing WordPress
In reply to: is_home problem<?php if ( (is_home()) || (is_archive()) ) { ?>
– works
<?php } ?><?php if (is_home()) { ?>
– works only first time
<?php } ?>I know, it’s weird… ??
Perhaps someting in php code in between…
The code is placed in sidebar.php.Forum: Fixing WordPress
In reply to: access to current data?Thanks!
Forum: Fixing WordPress
In reply to: access to current data?I didn’t get to use $cat from within my template index.php file; I’ve heard that I have to set up $cat in the root index.php instead? How it can be done?
Did I get it right that if there are permalinks like /category/etc., get_query_var(‘cat’) won’t work?
Forum: Fixing WordPress
In reply to: two category menus on one pageI wanted just to put the categories menu twice on a page, but it doesn’t work.
Forum: Plugins
In reply to: help find the simplest way to associate an image with a postKafkaesqui, yes, each post may have it’s own unique image (ideally, if there is no image specified, a default image can be used); anyway, thank you for an idea. Storing the image’s name in the db would be more preferable, but I didn’t yet find any plugin that does it. But I now figured out that the real problem is that the image is outside the loop. Though, I don’t understand why I should use loop in a page displaying a single blog element.