Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter baturica

    (@baturica)

    I found the solution myself
    My English is not very good. Maybe the solution can understand what I am asking ??

    posts tagged with the label : <?php single_tag_title(); ?>
    <h2> category name 1</h2>
    <?php
    $current_tag = single_tag_title("", false);
    query_posts(array(
    'cat'=>'26',
    'showposts'=>'3',
    'tag_slug__and'=>array($current_tag),
    ) );
    ?><?php while (have_posts()) : the_post(); ?>
      while....
    <?php endwhile; ?>
    
    <h2> category name 2</h2>
    <?php
    $current_tag = single_tag_title("", false);
    query_posts(array(
    'cat'=>'27',
    'showposts'=>'3',
    'tag_slug__and'=>array($current_tag),
    ) );
    ?><?php while (have_posts()) : the_post(); ?>
    while...
    <?php endwhile; ?>
    Thread Starter baturica

    (@baturica)

    Was like a stylish ??

    <ul>
    <?php
    $tags = get_tags( array('name__like' => "?", 'order' => 'ASC') );
    foreach ( (array) $tags as $tag ) {
    echo '<li><a href="' . get_tag_link( $tag->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $tag->name ) . '" ' . '>' . $tag->name.'</a></li>';
    }
    ?>
    </ul>
    Thread Starter baturica

    (@baturica)

    Soryy! utf8 is no problem. Turkish character works very well

    Thread Starter baturica

    (@baturica)

    Was very simple. But another problem appeared. Turkish characters do not work. For example, ?, ?, ?

    <?php
    $tags = get_tags( array('name__like' => "?", 'order' => 'ASC') );
    foreach ( (array) $tags as $tag ) {
    echo '<li><a href="' . get_tag_link ($tag->term_id) . '" rel="tag">' . $tag->name . ' </a></li>';
    }
    ?>
    Thread Starter baturica

    (@baturica)

    a great solution. Thank you very much. How do I make a separate page for each letter?

Viewing 5 replies - 1 through 5 (of 5 total)