Custom widget not appearing on front end
Custom widget not appearing on front end
Custom widget not appearing on front end
This sounds like your theme doesn’t have a margin/padding set on the paragraph. Just add the following CSS to the themes style.css and your paragraphs should then be spaced. p { margin-bottom:20px; }
Flexslider not working for my custom theme WordPress
H’okay, so, using this resource, I was found that going into the template-knowledgebase.php file and replacing the cat keyword with category__in (that’s a double underscore) did only return the articles who’s parent were the category we were looking at. I also edited the else statement of the if to be endif and removed the extraneous … Read more
using theme check plugin to remove waring and errors from my theme
First: You probably did some settings wrong with the slider or the slider is messed up because your pictures get totally skewed by it. About your Problems: 1.: auto is not a valid value for the HTML Attribute “height” for images. Remove it completely from the image tags, and it will be sized “auto”. So, … Read more
In your sidebar array as an example: register_sidebar(array( ‘id’ => ‘footer’, ‘name’ => ‘Footer’, ‘before_widget’ => ‘<div id=”%1$s” class=”widget col-sm-4 %2$s”>’, ‘after_widget’ => ‘</div>’, ‘before_title’ => ‘<h4 class=”widgettitle”>’, ‘after_title’ => ‘</h4>’, )); Don’t worry about wrapping the sidebar in a row. Let this do it for you. See, the col-sm-4 (or whatever size, with 4) … Read more
WordPress allows the addition of extra nav menus. Add this to your child themes functions file: register_nav_menus( array( ‘secondary_menu’ => ‘My Second Menu’ ) ); Add this to your header.php file or the file where you want to display your extra nav menu. <nav id=”site-navigation” class=”main-navigation” role=”navigation”> <?php wp_nav_menu( array( ‘theme_location’ => ‘secondary’, ‘menu_class’ => … Read more
I think similar question is answered here: Send user activation email when programmatically creating user Please have a look. Let me know if that solves the issue.
You should call the_post only inside the loop, or call rewind_posts() before actually starting the loop. sidenote: you are doing it totally wrong. don’t reinvent the wheel, look in the codex how to write a theme or use one of the bundled default themes as a base to your theme. No sane person starts to … Read more