Site logo

Archived topic

removing Category links below posts

10 replies · Started by Ashley on April 26, 2017

Viewing posts 1–11 of 11

hi Tom,

am building this site and am facing a slight problem.

When I click on any post (excerpt) on my homepage, the post opens with the Category and links below.

Tried inserting the following in Simple CSS with no success.

add_filter( 'generate_show_categories','tu_alter_category_meta' );
function tu_alter_category_meta( $meta ) {
// Remove on categories
if ( is_category() ) {
return false;
}

// Otherwise, show the meta
return $meta;
}

Please help , thanks

I have been working on this all night but to no avail. I want the meta category and title to appear but without the hyperlink attached. I found this css code for another theme and was hoping you had one for GP

.post-meta .cat-links a {
cursor: default;
pointer-events: none;
}

Any help you can provide is greatly appreciated as my category template looks horrible and i need to create a page with grid, etc.

Thanks, love the product! Huge Fan

Give this a shot:

.cat-links a {
    cursor: default;
    pointer-events: none;
}

Thanks for the effort but no that does not work either. It's odd, I know it has nothing to do with GP just strange, so far nothing has worked.

by the way the new header feature is awesome!

Hmm, I tried that and it works for me. Can you link me to an example post?

Glad you like it!

First thank you, thank you, thank you
Second, I feel absolutely embarrassed I did not pick up on that, I have been up entirely to long!

You're very welcome :)

This archived topic is closed to new replies.