Title: DevDm's Replies - page 4 | WordPress.org

---

# DevDm

  [  ](https://wordpress.org/support/users/devdm/)

 *   [Profile](https://wordpress.org/support/users/devdm/)
 *   [Topics Started](https://wordpress.org/support/users/devdm/topics/)
 *   [Replies Created](https://wordpress.org/support/users/devdm/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/devdm/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/devdm/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/devdm/engagements/)
 *   [Favorites](https://wordpress.org/support/users/devdm/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 46 through 60 (of 68 total)

[←](https://wordpress.org/support/users/devdm/replies/page/3/?output_format=md) 
[1](https://wordpress.org/support/users/devdm/replies/?output_format=md) [2](https://wordpress.org/support/users/devdm/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/devdm/replies/page/3/?output_format=md) 
4 [5](https://wordpress.org/support/users/devdm/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/devdm/replies/page/5/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] How to move time and author from post meta](https://wordpress.org/support/topic/how-to-move-time-and-author-from-post-meta/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/how-to-move-time-and-author-from-post-meta/#post-4692149)
 * Sure is!
 * You will duplicate the template-part-topnav.php
 * Find this line:
 * <nav class=”navbar navbar-inverse” role=”navigation”>
 * and just add the class “navbar-fixed-top”
 * So it turns into:
 * <nav class=”navbar navbar-inverse navbar-fixed-top” role=”navigation”>
 * Now, when you are logged in the admin bar hovers over it so you will need to 
   put in some logic there to add some margin/padding to the nav and the body if
   it bothers you. There are a few ways to do that.
 * You can use the function below to test and sort it out.
 * [http://codex.wordpress.org/Function_Reference/is_admin_bar_showing](http://codex.wordpress.org/Function_Reference/is_admin_bar_showing)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] How to move time and author from post meta](https://wordpress.org/support/topic/how-to-move-time-and-author-from-post-meta/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/how-to-move-time-and-author-from-post-meta/#post-4692099)
 * Glad you like the theme Gabbz! What you are trying to do can be accomplished 
   with a couple little adjustments to your child theme.
 * The first thing you will want to do is duplicate the template-part-postmeta.php
   file and put a copy of it in your child theme. This contains the current code
   for the post time and author. You’ll want to remove it from the file so it doesn’t
   show twice. This will give you some code to copy and paste into the next file
   you are going to duplicate.
 * That file is the main index.php file. This contains the main loop that is running
   through your posts and where you will put in the code you just cut out!
 * You will see two <h2 class=”page-header”> lines in this index.php file. This 
   is where the title code starts for a single post (the top loop) and multiple 
   posts (the bottom loop). So around this area you will put in your code you cut
   out from the template-part-postmeta.php and make any adjustments.. yadda yadda!
 * Hope this helps!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] how to center the top Menu without messing the toggle …](https://wordpress.org/support/topic/how-to-center-the-top-menu-without-messing-the-toggle/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/how-to-center-the-top-menu-without-messing-the-toggle/#post-4637903)
 * Shutting this down wp-newbee. You can email me danny (at) devdm.com if you need
   more help.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] how to center the top Menu without messing the toggle …](https://wordpress.org/support/topic/how-to-center-the-top-menu-without-messing-the-toggle/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/how-to-center-the-top-menu-without-messing-the-toggle/#post-4637781)
 * Is your project online somewhere for me to see?
 * I “sort of” dealt with this issue yesterday on a project. Check this link…
 * [http://stackoverflow.com/questions/10939481/center-the-nav-in-twitter-bootstrap](http://stackoverflow.com/questions/10939481/center-the-nav-in-twitter-bootstrap)
 * Hope it helps.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] Missing translated lines](https://wordpress.org/support/topic/missing-translated-lines/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/missing-translated-lines/#post-4589940)
 * Well that is awful Dyskette! Thanks for the heads up!
 * I’ll add it to my fix it list.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[DevDmBootstrap3] Good job! Thanks!](https://wordpress.org/support/topic/good-job-thanks/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/good-job-thanks/#post-7821631)
 * Thanks trixbox!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] Help!](https://wordpress.org/support/topic/help-451/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/help-451/page/2/#post-4497957)
 * I should be around yes.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] Help!](https://wordpress.org/support/topic/help-451/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/help-451/page/2/#post-4497955)
 * I can’t really know that without seeing the site and where the searches do go.
   🙂
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] Help!](https://wordpress.org/support/topic/help-451/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/help-451/page/2/#post-4497953)
 * There is no admin bar unless a user is logged in. I don’t think you need to worry
   about that.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] Help!](https://wordpress.org/support/topic/help-451/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/help-451/page/2/#post-4497949)
 * There are a few classes available up there to accomplish this. Just add the right
   CSS properties to them. You probably need to adjust the margins/padding of one
   of these classes. Play with it and use your inspector tools. 🙂
 * .dmbs-header
    .dmbs-header-text .dmbs-top-menu
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] Help!](https://wordpress.org/support/topic/help-451/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/help-451/#post-4497915)
 * The navwalker class we are using enables access to the glyphicon library via 
   the “title attribute” for menu items.
 * Appearance -> Menus -> “Your Menu” -> Click the down arrow on your menu item 
   to see the “Title Attribute” input box. In there you can put in the class of 
   the icon you wish to display. For the home icon it is “glyphicon-home”.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] Help!](https://wordpress.org/support/topic/help-451/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/help-451/#post-4497911)
 * Awesome Oliver 🙂 Way to keep at it! I’m sure it will be great.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] Help!](https://wordpress.org/support/topic/help-451/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/help-451/#post-4497907)
 * I didn’t want to over complicate things with widgets everywhere clogging up the
   code. The footer is accessible via the footer.php file. Again, you can duplicate
   this file for your child theme and hard code your copyright or add some widget
   areas down there via your functions.php file.
 * You’ll have to link me to your project Oliver if you want me to advise you on
   the Navigation trouble or post your code.
 * Again, you can email me [danny@devdm.com](https://wordpress.org/support/users/devdm/replies/page/4/danny@devdm.com?output_format=md)
   and I’d be happy to help if you are uncomfortable posting the code here.
 * – Danny
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] Help!](https://wordpress.org/support/topic/help-451/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/help-451/#post-4497789)
 * You’ll need to send me a link or give me some access oliver. If you want my help.
   🙂
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[DevDmBootstrap3] Help!](https://wordpress.org/support/topic/help-451/)
 *  Theme Author [DevDm](https://wordpress.org/support/users/devdm/)
 * (@devdm)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/help-451/#post-4497775)
 * Hey Oliver,
 * There is a lot going on here so let me see what I can do to help.
 * The “Site Name” and “Site Description” code is located in the template-part-head.
   php file which is the file you should be duplicating for your child theme.
 * So first thing is to make sure you have that file name right. 🙂
 * You can email me [danny@devdm.com](https://wordpress.org/support/users/devdm/replies/page/4/danny@devdm.com?output_format=md)
   if you want me to take a look at your file and you can explain to me how you 
   are implementing these “Social Links.” Plugin? Hard coded?
 * The navigation CSS follows all of the Bootstrap 3.0.3 ‘s nav components.
    [http://getbootstrap.com/components/](http://getbootstrap.com/components/)
   More Info here about that.
 * Below is an example of a modified template-part-topnav.php that will add a search
   form to your top menu on the right. You might not want to change the search form
   all over your site with a searchform.php. If you do you can simply create it 
   for the child theme.
 *     ```
       <?php if ( has_nav_menu( 'main_menu' ) ) : ?>
   
           <div class="row dmbs-top-menu">
               <nav class="navbar navbar-inverse" role="navigation">
                   <div class="container">
                       <div class="navbar-header">
                           <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-1-collapse">
                               <col-md- class="sr-only">Toggle navigation</col-md->
                               <col-md- class="icon-bar"></col-md->
                               <col-md- class="icon-bar"></col-md->
                               <col-md- class="icon-bar"></col-md->
                           </button>
                       </div>
                       <div class="collapse navbar-collapse navbar-1-collapse">
                           <?php
                           wp_nav_menu( array(
                                   'theme_location'    => 'main_menu',
                                   'depth'             => 2,
                                   'container'         => '',
                                   'container_class'   => '',
                                   'menu_class'        => 'nav navbar-nav',
                                   'fallback_cb'       => 'wp_bootstrap_navwalker::fallback',
                                   'walker'            => new wp_bootstrap_navwalker())
                           );
                           ?>
                           <form class="navbar-form navbar-right" role="search">
                               <div class="form-group">
                                   <input type="text" class="form-control" placeholder="Search" name="s" id="search" value="<?php the_search_query(); ?>">
                               </div>
                               <button type="submit" class="btn btn-default">Submit</button>
                           </form>
                       </div>
                   </div>
               </nav>
           </div>
   
       <?php endif; ?>
       ```
   

Viewing 15 replies - 46 through 60 (of 68 total)

[←](https://wordpress.org/support/users/devdm/replies/page/3/?output_format=md) 
[1](https://wordpress.org/support/users/devdm/replies/?output_format=md) [2](https://wordpress.org/support/users/devdm/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/devdm/replies/page/3/?output_format=md) 
4 [5](https://wordpress.org/support/users/devdm/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/devdm/replies/page/5/?output_format=md)