Amit Kvint
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: twentytwelve navah ok
Still normal nav is broken if you don’t translate right ?
Forum: Alpha/Beta/RC
In reply to: twentytwelve navHi,
What do you mean translate ? I don’t think I have installed WPML or qTranslate on that domain,
Thanks,
Amit
Forum: Themes and Templates
In reply to: Twenty Twelve?There it is : ) – http://wordpress.org/extend/themes/twentytwelve
Forum: Hacks
In reply to: Taxonomy in loopHey there pirate ninja,
It’s exactly(!) what I was looking for, found another (not so aesthetic approach) but I’ll take a look into the example you have attached and let you know,
Thanks
Amit
Forum: Fixing WordPress
In reply to: Taxonomy in loopSo I have found that little script –
<?php $taxonomies = get_the_term_list($post->ID, 'locations', '', '', ''); $taxonomies = explode('>', $taxonomies); $taxonomies = $taxonomies[1]; $myq = new WP_Query('locations = '.$taxonomies); if ($myq->have_posts()) : while ($myq->have_posts()) : $myq->the_post(); ?> <h2> <a href = "<?php the_permalink(); ?>" rel = "bookmark" title = " <?php the_title_attribute(); ?>" alt = " <?php the_title_attribute(); ?>" > <?php the_title(); ?> </a> </h2> <?php endwhile; else:?> <?php endif;?>But still no luck – it shows all posts doesn’t mattar what taxonomy they are attached to, I will give up @ the end…
Amit
Forum: Fixing WordPress
In reply to: Taxonomy in loopI think so,
I will take another look but first… a break,
Me too
Thanks,
Amit
Forum: Fixing WordPress
In reply to: Taxonomy in loopMaidul,
What do you mean ? it goes in the index.php in a div I have made on the bottom for these links, here take a look at the URL – http://educational-adventures.org/ea/
You can see the post for vejer (‘location’ => ‘vejer’) I have replaced that line with the new vars & arrays you suggested
Amit
Forum: Fixing WordPress
In reply to: Taxonomy in loopMaidul,
Thanks : )…
But now no post titles are shown…no error though
Amit
Forum: Fixing WordPress
In reply to: Taxonomy in loopHey,
Yeah I know, have tried that too…but I get also posts that are defined as ‘activities’… (set in functions.php as I mentioned earlier) don’t know why…
Amit
Forum: Fixing WordPress
In reply to: Taxonomy in loopThanks Maidful,
But this shows all post that are under ‘location’ with the value of ‘vejer’ (‘locations’ => ‘vejer’) & I am looking for something that will show all posts that are under locations, any idea ?
Amit
Forum: Fixing WordPress
In reply to: Taxonomy in loopMaidul,
Wouldn’t that just show all posts ? I am looking for something that will show all posts with the specific ‘location’ taxonomy.
Thanks
AmitForum: Themes and Templates
In reply to: Featured image on posts page<?php
// The header image
// Check if this is a post or page, if it has a thumbnail, and if it’s a big one
if ( is_singular() &&
has_post_thumbnail( $post->ID ) &&
( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( HEADER_IMAGE_WIDTH, HEADER_IMAGE_WIDTH ) ) ) &&
$image[1] >= HEADER_IMAGE_WIDTH ) :
// Houston, we have a new header image!
echo get_the_post_thumbnail( $post->ID, ‘post-thumbnail’ );
else : ?>
<img src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”” />
<?php endif; // end check for featured image or standard header ?><?php endif; // end check for removed header image ?>
mmm,
Then what else can be wrong ? as I have all the correct information.
Thanks,
Maybe I am doing something wrong ?
What is the URL I should put in the URL field ? I have entered the var $live_site that I have in the configuration.php Joomla file
Amit
Forum: Fixing WordPress
In reply to: Can not reset my PasswordHallelujah !!! : )
Many Thanks I guess U live & learn