What is the general function to add a Widget area (not of a particular type)?

Adding on mikesars answer, afterwards, one needs to Place the widget in a template file like header.php (for example). So it would be: functions.php: if ( function_exists(‘register_sidebar’) ) register_sidebar(array( ‘name’ => ‘Name of Widgetized Area’, ‘before_widget’ => ‘<div class = “widgetizedArea”>’, ‘after_widget’ => ‘</div>’, ‘before_title’ => ‘<h3>’, ‘after_title’ => ‘</h3>’, ) ); Template file: <?php … Read more

Need help with adding custom wordpress menu and sub-menu

Use this code bellow to dynamic you nav: <?php $args = array( ‘theme_location’ => ”, ‘menu’ => ‘Main’, ‘container’ => ‘false’, ‘container_class’ => ”, ‘container_id’ => ”, ‘menu_class’ => ‘cs-main-navigation cs-clearfix’, ‘menu_id’ => ”, ‘echo’ => true, ‘fallback_cb’ => ‘wp_page_menu’, ‘before’ => ”, ‘after’ => ”, ‘link_before’ => ”, ‘link_after’ => ”, ‘items_wrap’ => ‘<ul … Read more

How do I build a WordPress Profile/Author Header?

A quick way to find your way is by installing the ACF plugin with these rules: And create author.php file with this code: <?php while ( have_posts() ) : the_post(); ?> <?php // get the background_picture ?> <?php $background_picture = get_field( ‘background_picture’, ‘user_’.get_the_ID() ); ?> <img src=”https://wordpress.stackexchange.com/questions/272675/<?php echo $background_picture[“url’] ?>” alt=””> <?php // get the … Read more