Add HTML Elements Using Hooks
You can use hooks to add html elements such as wrapping divs to your templates. Here is an example that I used in a Woo theme. You have to adapt it according to your theme. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 <?php…
You can use hooks to add html elements such as wrapping divs to your templates. Here is an example that I used in a Woo theme. You have to adapt it according to your theme. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 <?php…
Place this code in the functions.php file to add another navigation area to your website 1 2 3 4 5 6 7 8 9 add_action( ‘init’, ‘mk_nav_menu’ ); function mk_nav_menu() { register_nav_menus( array( ‘header-sector-menu’ => __( ‘Header Sector Menu’ ) ) ); }add_action( 'init', 'mk_nav_menu' ); function mk_nav_menu() {…
It always seemed to be a simple matter to make a child element wider than the parent element. You just give the child element negative right and left margins and you’re done. So I was totally perplexed when this did not work the first time I created a child theme…
I recently met some educators who were telling me how confusing and frustrating image uploading can be, especially for their students who are new to WordPress. I looked into possible plugins for them, but found that most of them only add on more features instead of creating a simpler interface….
I was recently asked to create a horizontal sub-menu for socialchange.is as part of their new website. The menu consists of parent and child categories. Child categories to the currently selected category are always visible, except when a different menu item is hovered over. This makes the site structure more…
The following has been created specifically for our client BookTheWriter.com – however, other readers can also learn about creating text widgets. The end of this post includes a video about using text widgets in WordPress. First, here is easy help for WordPress sites Scroll down for advanced help and non-WordPress…
End of content
End of content