• I’m having some trouble figuring out why the changes don’t take effect on the single post page also. see images

    • Did you make the same changes to the content-single.php as we did to content.php?

      • Everything went well after following that instruction. Seems it wasn’t any trouble at all. Thanks for the reply.

  • Eric C

    I’m not sure if I forgot a step in a previous video, or if _s has changed their theme that we originally downloaded. It looks like they changed where the entry-footer code is, my content.php page does not have that information in it. The only reference to entry-footer is bootlearn_entry_footer(); which refers to a function that is in templage-tags.php. In my template-tags.php I have a function bootlearn_entry_footer() that contains code similar to what you have in content.php. I was able to get it to work by following your video and editing the code in template-tags.php. I attached a picture of my entire content.php file and the section of template-tags.php that is applicable to this video. I would appreciate it if you could tell me whether this was done properly. The results appear to be the same as yours on my website.

    Note: My theme is called bootlearn, not bootstrapwp

    • Yeah, that should work. I would personally rename that entry footer function to something different so it isnt confusing when you look back at your code in the future. Another option would be to move the entry_footer code into the posted_on function. Its all preference though, so however you get it to work and setup is up to you. The videos and tutorial should be a helpful guide to help you learn WP.

      • Eric C

        Cool, thanks for the advice. Im glad I found your site, great tutorials!

    • Patricia Ellis

      How would you move the edit button back down to the footer area?
      Also if you renamed bootlearn_entry_footer, where else do you need to make the change?
      Thanks for your code, my looked the same as yours.

  • It’s getting really difficult to follow these tutorials now that they are out-dated. For example, my code for categories looks like the attached. The icon tags shows on the site instead of the actual folder icon. Will there be up-dates soon? Thanks!

    • If you are using the theme files that I provided in the first tutorial you should have the exact same code as this tutorial. Once you master the integration and understand the process, I then mention you should understand how to use the new functions in underscores.me.

      If you want to move forward with the files you are working with you are going to run into things that aren’t covered in the tutorials. The example code you listed is using the esc_html function which is escaping the html blocks. https://codex.wordpress.org/Function_Reference/esc_html

      It’s not that they are outdated, the developers of underscores just change the markup. The theme provided in the first tutorial works perfectly. There is even an article by the developers of underscores.me about updating _s called ” Don’t Your Theme (_s) http://themeshaper.com/2013/10/11/dont-update-your-theme/

      Again, if this is your first time integrating and building a WordPress theme, I recommend using the underscores files I provided so you can follow along and learn the process.

      Also, please review this topic: https://bootstrapwp.com/topic/updating-concerns/

      The next planned series is advanced topics. I plan to download the latest underscores theme again and go through the process of integrating Bootstrap 4 with sass. This will cover all the new underscores functions as well.

  • AlexxSo

    In the step-by-step overview, in step 2 the line “” disappears, and then reappears in step 4. At first, I did not notice that it reappeared, therefore it was not in my code and so I had some errors in the end. Took me a few minutes to get it. Maybe it should not be removed at all in the code examples, in order to not cause trouble?

    • Yeah. I see that. I will update the code examples. Thanks

  • Xinru Pan

    I can’t open article with content-single.php, but open the single.php, and shows that problem, how can I solve it?
    Fatal error: Call to undefined function bootstrapwp_post_nav() in C:Program FilesVertrigoServwwwwpwp-contentthemesbootstrapwpsingle.php on line 17

  • Atul Khandelwal

    I Can’t find content.php, it’s not included with new _?

    • Atul Khandelwal

      Found it, now it’s in new Folder template-parts, & for content-single the new file is content-page.

      • Yes, if this is your first time developing WP themes I recommend you download the starter theme files I provide so you can follow step-by-step

  • rabin rai

    Hi, Brad W.
    I following with your step-by-step video tutorials but my font-awesome icon not working why? Anything wrong? I added screenshot below:
    Thank You
    Rabin

    • Doesn’t look like you added Font Awesome correctly. Do you have any console errors? You should probably go back over the Font Awesome tutorial to make sure you have the correct markup. If you have further issues, please use the support forum.

      • rabin rai

        Thank You Brad.
        I think, I added font correct. It show the font-awesome.css when view sources.

        /**

        * Enqueue scripts and styles.

        */

        function bootstrapwp_scripts() {

        wp_enqueue_style( ‘bootstrapwp-styles’, get_template_directory_uri() . ‘/css/bootstrap.min.css’, array(), ‘3.3.6’, ‘all’ );

        wp_enqueue_style( ‘font-awesome’, get_template_directory_uri() . ‘/css/font-awesome.min.css’, array(), ‘4.6.3’, ‘all’ );

        wp_enqueue_style( ‘bootstrapwp-style’, get_stylesheet_uri() );

        wp_enqueue_script( ‘bootstrapwp-js’, get_template_directory_uri() . ‘/js/bootstrap.min.js’, array(‘jquery’), ‘3.3.6’, true );

        wp_enqueue_script( ‘bootstrapwp-skip-link-focus-fix’, get_template_directory_uri() . ‘/js/skip-link-focus-fix.js’, array(), ‘20130115’, true );

        if ( is_singular() && comments_open() && get_option( ‘thread_comments’ ) ) {

        wp_enqueue_script( ‘comment-reply’ );

        }

        }

        add_action( ‘wp_enqueue_scripts’, ‘bootstrapwp_scripts’ );

  • Kevin Moran

    For more consistency across the theme, I also applied the … code on content-search.php as well.

  • David Pérez

    Hey Brad,
    have you already have an update tutorials using the new version of Bootstrap (v4) and the last version of underscore.me? or definitely we need to use the theme that you provided us at the beginning of this series of tutorials?

    kind regards!

    • David, I am almost done with some Bootstrap 4 tutorials. Have 15 video recorded as of now. I still need to do the written tutorials for each video. Hope to have them up soon. If you are new to WP theme development I would recommend using the starter theme I provide so you can follow the tutorials exactly to learn the process. Once you are comfortable with how everything works you can venture off and customize things to fit your needs. I have a Bootstrap 4 starter theme at: https://github.com/braginteractive/StrapPress if you are interested.

      • David Pérez

        Thank you Brad, could you let me know when you have complete Bootstrap 4 tutorials, please! i’m going to practice with this course but i’m really interesting in a new version of Bootstrap 4 tutorials.

        Thank you very much!