 aldolat
|
Hi,
I would report a bug for those who have a site using this theme and running in a subfolder.
Situation
When viewing a tag page (like `tag/framework+css`), I found that when I click on the X to remove a tag, the returned URL is `/tag/framework+css` that redirect me to the root of the site.
Solution
Open tag.php (theme version 0.6.1) and change the lines 34 and 35 into this:
`
if (empty($minusthistag)) $taglink = site_url() . ‘/’;
else $taglink = site_url() . ‘/tag/’.implode(‘+’, $minusthistag);
`
Adding this to the theme would be appreciated. :)
|
 aldolat
|
Also I found a similar incorrect behaviour in the tag search form: after inserting a tag and pressing Enter, I am redirected to the root.
The line to change is nr. 42 in the file `loop.php`. The “action” should be:
`action=”<?php echo site_url(); ?>/”`
|
 Stephanie
|
Thanks much. I’ll put these fixes into the next update.
|
 aldolat
|
Thanks for the update! :)
Another similar bug is located in functions.php. The widget redirects to the root. You can change the line 37 into this one:
echo 'slug.'">'.$tag->name.''.$tag->count.'';
|
 aldolat
|
WordPress! grrr
The line 37 is:
echo ‘<li><a href=”‘ . site_url() . ‘/’.$tagbase.’/’.$tag->slug.’”>’.$tag->name.’<span class=”count”>’.$tag->count.’</span></a></li>’;
|