faster is better than slow | Download Swift
+ Reply to Thread
Results 1 to 10 of 10

Thread: Custom Category Headers

  1. #1

    Custom Category Headers

    Is it possible to create a custom header for posts... i dont mean the actual header but like a sub header as seen at this link:

    I'm referrring to the disease and conditions header in the actual body, under the main blisstree header...

    Any instruction or guidance is greatly appreciated!


  2. #2
    Join Date
    Nov 2009
    The Ozarks

    It looks like on that site by their source code, the first navigation bar is their pages and sub-pages, and the bar underneath that is the categories and subcategories. Just to be clear for anyone who comes in to help...are you saying instead of having the navigation above and below the header image in Swift as it is now, you'd like them both navigation bars beneath the header image?

    I'm thinking that's possible by moving the some of the header code around, but Satish will need to instruct you on exactly how to do that.

  3. #3


    no im not referring to having both bars underneath the header... im referring to the lil custom box right above the actual post...
    to explain... please visit my website, go to the about page by using the top nav bar link... you see where it has the About title in the post... im wondering if theres a way to make a custom About header box to go in that spot... this ? has nothing to do with the actual header... i want to keep that there...

    so in the example.... im referring to the custom disease and conditions box at the top of the post content, see how theres two separate boxes... one for the post and one for the custom heade (not the main header) this is the image location to better explain....

    so is there a way to do this in the swift theme or is this a future update idea?

    in this example

  4. #4

    @Dawn, I think he wants a custom header on categories page. Not on posts.
    Goto swift/categories.php and uncomment this line
    PHP Code:
     //echo category_description( $category ); 
    Now go categories page on wordpress and add your header in the category description.
    HTML Code:
     <img src="yourimageurl" />

  5. #5

    Cool Plugin might do the trick

    I would check for a plugin to do that.
    It looks like a simple include before post fetch image type plugin (Similar to the multitude of plugins that insert either ads or share links) would do the trick. If not, maybe I could make the plugin if there isn't one.

    I'll go check if there is...


  6. #6
    Join Date
    Nov 2009
    The Ozarks

    AH yes sorry...I got what you mean now and actually that's a cool idea. :0)

  7. #7


    I have tried this and nothing changes... by uncomment, you mean take the value out of the ( )?

    category.php code now looks like this..

    <?php get_header();?>

    <div id="content" class="grid_10">

    //echo category_description();

    if(get_option('swift_archives_magzine')=="magzine" )
    blogloop(get_option('swift_archive_excerpts_enable '),get_option('swift_thumbs_disable'),0);

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    then in the category description bow i enter my url with ...

    <img src="yourimageurl" />

    obviously replacing my img url...

    but nothing changes...????

    Any input?


  8. #8

  9. #9

    HI I am not able to make my own category? can anyone help?

  10. #10

    hi satish i have just joined and it wont let me start my own thread keeps redirecting to login page im having some troubles on swift theme options not showing in my admin interface and I dont mind havng to donate to get some help?

+ Reply to Thread

Similar Threads

  1. Replies: 1
    Last Post: 07-09-2014, 05:26 PM
  2. Replies: 2
    Last Post: 11-03-2011, 11:38 AM
  3. Custom Template
    By nipharahil in forum Support
    Replies: 0
    Last Post: 09-07-2010, 02:34 PM
  4. Menu Headers
    By Roysaidit in forum Support
    Replies: 1
    Last Post: 07-16-2010, 12:05 AM
  5. Page and Category Menu Issue, sub page menu under category menu
    By qfisher in forum Bug report and suggestions.
    Replies: 15
    Last Post: 02-09-2010, 03:23 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts