Support » Fixing WordPress » How to Remove category pages titles that appear before posts?

  • our custom menu displays pages and some category pages, and when these category pages are displayed, it shows the category title at the begining, before any posts.
    Don’t want to see this title..But I have deleted and replaced so many pieces of code in different php files without success.
    Anyone who knows how to remove category pages titles that appear before the posts?

Viewing 15 replies - 1 through 15 (of 31 total)
  • does your theme contains a category.php file? open it and look for something in the code that may refer to the category name

    in wp_includes/category.php

    Probably this part:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    try commenting this line like this //return $category->name;

    WAITTT, dont change wordpress core code, go to wp-content > themes >your-theme and look there for category.php

    There isn’t any category.php file in wp-content > themes >my-theme
    Files in wp-content..are like: content-page, content-gallery, content-single, functions, index, archive, etc..

    [No bumping, please.]

    What theme are you using?

    I created with artisteer

    Go here
    http://your-website.com/wp-admin/theme-editor.php

    and on the right side look for the default category template, then copy and paste the code here http://pastebin.com/ and place a link in this thread please

    These are All files on the right side, nothing relating directly to “categories”…

    (archive.php)
    (header.php)
    (comments.php)
    (single.php)
    (404.php)
    (searchform.php)
    (functions.php)
    (onecolumn-page.php)
    (footer.php)
    (attachment.php)
    (index.php)
    (page.php)
    (search.php)
    (admins.php)
    (content-aside.php)
    (content-attachment.php)
    (content-gallery.php)
    (content-page.php)
    (content-single.php)
    (content.php)
    (defaults.php)
    (legacy-comments.php)
    (legacy.php)
    (misc.php)
    (navigation.php)
    (options.php)
    (shortcodes.php)
    (sidebar-bottom.php)
    (sidebar-default.php)
    (sidebar-footer.php)
    (sidebar-secondary.php)
    (sidebar-top.php)
    (sidebars.php)
    (smiley.php)
    (widgets.php)
    (wrappers.php)

    (style.css)
    style.ie6.css
    (style.ie6.css)
    style.ie7.css
    (style.ie7.css)

    copy the contents of index.php into pastebin please

    “http://pastebin.com/embed_js.php?i=Q5cwetxD”

    now sidebar-top and content.php please, that theme is quite confusing
    Also please provide a link to the page where the situation happens, if possible.

    “http://pastebin.com/embed_js.php?i=cTQwrQ7R” sidebar top
    “http://pastebin.com/embed_js.php?i=vk8q9Y61” content

    am doing this using a localhost cause the site hasn’t been launched

    OMG, that theme looks like inception, lets try something easier, i will need the source code, in html, of the page, right click on the page, view source code, copy and paste into pastebin please

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘How to Remove category pages titles that appear before posts?’ is closed to new replies.