kbkisan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: get_the_category_listAnyone ?
Forum: Fixing WordPress
In reply to: get_the_category_listok I found this on the codex page
When you assign multiple categories to a post, only one can show up in the permalink. This will be the lowest numbered category (see Manage Categories). The post will still be accessible through all the categories as normal.
Is there anyone who knows of a plugin to override this function ?
Forum: Fixing WordPress
In reply to: get_the_category_listI made it simple so it is easier to look at the code, but the problem remains the same.
<?php printf(__('%1$s%2$s', 'sandbox'), get_the_category_list(', '),get_the_tag_list('<br/><div class="singletags">','<br/> ','</div>') ) ?>Thanks in advance
Forum: Installing WordPress
In reply to: No pics – only ?Autofocus handles pictures in a different way then a normal blog, it has a lot of custom code in the functions.php file. I myself am having problem with the pictures as well.
Forum: Themes and Templates
In reply to: Autofocus – How can I cancel the loading gif ?In the function.php file located in the template folder you should look for this
else { echo '<img src="' . get_bloginfo ( 'stylesheet_directory' ) . '/img/no-attachment-large.gif" />'; }and remove it, that should do the trick.
Forum: Fixing WordPress
In reply to: If statement to display imagesWell when in need one often stumbles upon the solution.
This is what I did to achieve what I wanted.
<span class="attach-post-image" style="height:250px; display:block; background:url('<?php if (get_post_meta($post->ID, 'front_image', true)) echo get_post_meta($post->ID, 'front_image', true); else { the_post_image_url('large'); ?> <?php } ?>') center center repeat"> </span>Forum: Fixing WordPress
In reply to: Using the_author in an If StatementForum: Fixing WordPress
In reply to: If statement to display imagesIs there anyone that could help me out on this one ?