Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #16835

    I saw this advice on a similar post (but for Shoutbox):

    “You can find that on wp-contentthemesshoutboxframeworkphpfunction-set-avia-frontend.php, edit the file and find this code

    if(!function_exists(‘avia_which_archive’))

    Below that is the text you are looking for.”

    I have located this information in my files, but I have no idea what to delete, edit or change to remove “Archive for category:” and the box it comes in.

    I would really appreciate some help. Thanks!

    #93081

    Hey!

    Open up wp-contentthemesbrightboxframeworkphpfunction-set-avia-frontend.php and replace all occurences of:

    $output = __('Archive for

    with:

    $output = __('

    Best regards,

    Peter

    #93082

    Brilliant!

    Thank you, Peter.

    That worked, but now instead it reads: “category:…”

    Can I also get rid of this?

    And remove ‘Categories’ and Tags’ from beneath the post title?

    e.g. Categories: Home + garden, Recipes – Tags: chestnuts, edible, found, horse chestnut, Netherlands, poisonous, roasted, sweet chestnuts, tree

    from here: http://www.spellitwithpeas.com/?cat=75

    #93083

    Hi peas,

    If I’m understanding correctly, you’re wanting to hide the entire “category Home + Garden” text and box, yes? If so, add this to your custom.css or Quick CSS.

    body.category-75 .firstheading {
    display:none;
    }

    What this will do is remove that area only from the Home + Garden category page (the one you referenced). If you want to remove that area from all category pages then you would use this:

    body.category .firstheading { display: none; }

    To remove the categories and tags from beneath the post title, you would use this:

    body.category-75 .blog-categories {
    display: none;
    }

    Again, this removes them for this category page only. If you want to remove them across board you would use:

    .blog-categories { display: none; }

    Hope this helps!

    Regards,

    Mya

    #93084

    Hi Mya,

    Thanks for your reply!! I was able to get rid o the ‘category:’ bit! Thank you!

    But the categories and tags are still in the posts. I tried both options, for the categories page and across the board, but neither worked. Did I maybe enter the code in the wrong spot…I was to also add this to custom.css, right?

    Cheers,

    Renée

    #93085

    Open up brightbox/includes/loop-index.php and delete following code to get rid of the tags/categories:

    $cats = get_the_category();
    if(!empty($cats))
    {
    echo '<span class="blog-categories">';
    echo '<strong>Categories: </strong>';
    the_category(', ');
    the_tags('<strong>'.__(' - Tags: ','avia_frameworkt').'</strong>');
    echo '</span>';
    }

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Remove "Archive for category:" and the box it comes in’ is closed to new replies.