Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5009

    Hi,

    Thanks for this great Theme and flexibility to work with this theme. Great work!

    But i have 2 questions:

    1) Is there a way to get the search form as a menu item. Or if not what is the best way to implement the search form in the header.

    (i tried to put in in the header.php after the div of the main_menu container but now it is a one stretched out search form) So hope you can get me some suggestions.

    2) where can i change the blog format

    I dont like the comment and date boxes in the left colomn so is there a possibility to get rid of them or place only the date just underbeneath the blog post?

    Hope you can get me some solutions.

    #48493

    Hey,

    1) You can use following code:

    <?php get_search_form(); ?>

    to display the search form – I’d insert it after:

    <div class='container main_menu'>

    If you encounter design flaws please post a link to your site – we can give you custom css code then.

    2) Open up includes/loop-index.php and delete:

    <!--meta info-->
    <div class="blog-meta grid3">

    <span class='post-date-comment-container'>
    <span class='date-container'><strong><?php the_time('d') ?> <?php the_time('M') ?></strong><span><?php the_time('Y') ?></span></span>
    <span class='comment-container'><?php comments_popup_link("<strong>0</strong> ".__('Comments','avia_framework'), "<strong>1</strong> ".__('Comment' ,'avia_framework'),
    "<strong>%</strong> ".__('Comments','avia_framework'),'comments-link',
    "<strong></strong> ".__('Comments<br/>Off','avia_framework')
    ); ?>
    </span>
    <?php
    $cats = get_the_category();

    echo '<span class="minor-meta-wrap">';
    if(!empty($cats))
    {
    echo '<span class="blog-categories minor-meta">';
    echo '<strong>'.__('Categories','avia_framework').': </strong><span>';
    the_category(', ');
    echo '</span></span>';
    }

    $portfolio_cats = get_the_term_list( get_the_ID(), 'portfolio_entries', '', ', ','');

    if($portfolio_cats)
    {
    echo '<span class="blog-categories minor-meta">';
    echo '<strong>'.__('Categories','avia_framework').': </strong><span>';
    echo $portfolio_cats;
    echo '</span></span>';
    }

    if(has_tag())
    {
    echo '<span class="blog-tags minor-meta">';
    echo the_tags('<strong>'.__('Tags: ','avia_framework').'</strong><span>');
    echo '</span></span>';
    }
    echo '<span class="blog-author minor-meta">';
    echo '<strong>'.__('Author','avia_framework').': </strong><span>';
    the_author_posts_link();
    echo '</span></span>';

    echo '</span>';

    ?>

    </span>

    </div><!--end meta info-->

    #48494

    Thanks Dude,

    The search form i already placed it their.

    You can have a look at http://w3dev3.chess.nl

    So if you can give me some custom css it would be great.

    #48495

    Try to add following code to css/custom.css:

    #searchform {
    float: right;
    margin-right: 35px;
    margin-top: 10px;
    width: 300px;
    }

    #48496

    Hi, my question is similar to manutrash’s 2nd q about blog date display.

    I like the blog date, comment box and tags where they are (aligned left of title at beginning of post content) but would like the text and rest of content that falls below the height of those (plus a 10px bottom margin) to extend (wrap) all the way to the left in order to fill the left space below date/comment/tags section.

    I hope I am explaining it right. You can see here: http://www.griffingraffix.com/google-search-results1/ how the main text is in a narrow (about 450px) column. Basically, starting at:

    ….better chances of being seen when and by whom it matters.

    Now, something else may be about to change in how web page results are displayed…..

    I would like that to start full left and extend full width to side bar so it would be about 650 or 700 px wide, whatever the full width of that column can be to fit with sidebar.

    Thanks

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

The topic ‘search in menu and blog format change’ is closed to new replies.