Before you ask please READ THIS

Categories ≠ Tags

edited February 2013 in Skyfashion Posts: 10
For whatever reason, Skyfashion seems to have 'Tags: [category]' and not 'Tags: [tags]'.

Example: http://themes.apollo13.eu/skyfashion/2012/07/10/from-blog/

If you click on TAGS: POST you end up getting http://themes.apollo13.eu/skyfashion/category/post/

I want TAGS: POST to produce http://themes.apollo13.eu/skyfashion/tags/post/

..you know. Like you would expect it to?

How do I fix this?

..

I assume its something in here?

function posted_in($separator = ', ')
{
// Retrieves tag list of current post, separated by commas.
if (is_object_in_taxonomy(get_post_type(), 'category')) {
$posted_in = __('%1$s', TPL_SLUG);
} else {
$posted_in = __('Bookmark the permalink.', TPL_SLUG);
}
// Prints the string, replacing the placeholders.
printf(
$posted_in, get_the_category_list($separator), '', //$tag_list,
get_permalink(), the_title_attribute('echo=0')
);
}

(obviously changing references from categories to tags would be too simple)
Post edited by offprint on

Comments

  • Hi,
    this is hard question. I need to check it carefully.
    I will let you know.

    Best,
    Miłosz
  • edited February 2013 Posts: 10
    I found a bit of a work around. Essentially, search for "post_tags post_info_box" (it crops up in three files) and then replace

    <?php echo __('Tags', TPL_SLUG); ?>: <?php $apollo13->posted_in(); ?>

    with

    <?php the_tags(); ?>

    Seems to be doing the trick so far :|
    Post edited by offprint on
  • Hi,
    thanks a lot for information.
    I have tested your solution and this seems works. Do you still have some problems?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!