t.g
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Remove category display from frontpagecheck if you have a file called sidebar.php and see if you can find anything like wp_list_categories(); < remove everything related to it
if you want the hole sidebar to remove you have to go to your frontpage.php or whatever youve called it and delete get_sidebar();
Forum: Fixing WordPress
In reply to: Add Html code right after the site title (entry-title)you can do that after calling the_title(); in the loop. you do
echo ‘you html here’;
Forum: Fixing WordPress
In reply to: Filter attached imagesjust like that =)
<?php $attachments = get_children( array( 'post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image' ) ); foreach ( $attachments as $attachment_id => $attachment ) { $src = wp_get_attachment_image_src( $attachment_id, 'full' ); if ($src[2] == 500){ echo wp_get_attachment_image($attachment->ID, 'full'); } } ?>Forum: Fixing WordPress
In reply to: how to filter images by its attributes?thanks for your help!
i have a solution too, finally!
<?php $attachments = get_children( array( 'post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image' ) ); foreach ( $attachments as $attachment_id => $attachment ) { $src = wp_get_attachment_image_src( $attachment_id, 'full' ); if ($src[2] == 500){ echo wp_get_attachment_image($attachment->ID, 'full'); } } ?>Forum: Fixing WordPress
In reply to: how to filter images by its attributes?can you place an if statement within a foreach loop? or where do you mean shall i put the if statement?
Forum: Fixing WordPress
In reply to: 2 Blogs on 1 site–Possible?Why not make custom post types with 1. peotry and 2. fiction.
This way you can order the to post types in different categories, pages or whatever.http://codex.wordpress.org/Installing_Multiple_Blogs or is that what you looking for?