accessing tag pages from outside wp blog

  • Unknown's avatar

    Can anyone tell me how to access my ‘www.mydomain/blog/tag/whatever’ pages from ‘www.mydomain’? I can do this for my categories and I can access the tag cloud associated with a particular category, but I can’t seem to figure out how to make the translation to doing same for accessing tags. FYI, I’m using the following code for doing this for categories (I found it somewhere on the web and it works great):

    <?
    $cAt="cat=1&numberposts=10&order=DESC&orderby=post_date";
    require('blog/wp-blog-header.php');
    function parseObjectToArray($object)
    {
       $array = array();
       if (is_object($object))
       		{
          		$array = get_object_vars($object);
       		}
       return $array;
    }
    $posts = get_posts($cAt);
    foreach ($posts as $post) : start_wp();
    $num = count($posts);
    $i=0;
    while ($i<$num)
    	{
    		$a = parseObjectToArray($posts[$i]);
    		$excerpt[$i]=$a['post_excerpt'];
    		$title2[$i]=$a['post_title'];
    		$title[$i]=$a['post_name'];
    		$date[$i]=$a['post_date'];
    		$i++;
    	}
    endforeach;
    ?>

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    The blog you specified at http://www.birthdaypartygameslady.com does not appear to be hosted at WordPress.com.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • The topic ‘accessing tag pages from outside wp blog’ is closed to new replies.