WordPress.org

Ready to get started?Download WordPress

Forums

GamePress
Categorys on Posts (5 posts)

  1. Knytul
    Member
    Posted 1 year ago #

    I have a category set up where alot of posting goes to. In order you see:

    Horizontal Menu Bar which is in the header

    Category: (whatever the name of the category is)

    Post date, title, and message.

    How do i remove this "Category:" line? Commenting out would be preferred, but if i have to delete or display: none it, that works too.

  2. pvashist75
    Member
    Posted 1 year ago #

    I don't really understand what you want to do but just try going to Dashboard>appearence>menus see if you have a custom menu there. Change or remove the links you don't want to be displayed.

    if you want to use display property or something else then just try to find the id of that menu item by using firebug or any other inspect tool from your browser. And then just add display none to that id in css file...please tell if understood the problem correctly...

  3. Knytul
    Member
    Posted 1 year ago #

  4. alex27
    Member
    Theme Author

    Posted 1 year ago #

    This comes from archive.php template. Near the top there is big IF that constructs page title. Find the line that says:

    elseif ( is_category() ) :
    printf( __( 'Category: %s', 'gamepress' ), single_cat_title('',false));

    and remove
    printf( __( 'Category: %s', 'gamepress' ),
    Of course you should do this via child theme to avoid troubles with upgrades in the future.

  5. Knytul
    Member
    Posted 1 year ago #

    well, i know we are on the right track. just to test i just commented out that line of code, refreshed and that part went away. So Thank You for finding that for me.

    However, when i tried to go to another category page, i got syntax errors. I removed the comments, syntax went away.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.