menu items outside of blog

Maybe you are referring to something like this: <?php define( ‘WP_USE_THEMES’, false ); require_once( ‘/absolute/path/to/wp-blog-header.php’ ); wp_nav_menu( $args ); but the current menu item highlighting will not work as expected.

How to show custom taxonomy child posts through shortcode in WordPress

That is a very messy shortcode but it looks like if you pass a term slug into the shortcode cat att this part… if (of_get_option(‘shortcat_video’, ‘1’) == ‘1’) { $query = array( ‘posts_per_page’ => $items, ‘orderby’ => $orderby, ‘order’ => $order, ‘post_type’ => ‘video’, ‘tax_query’ => array( array( ‘taxonomy’ => ‘videos’, ‘field’ => ‘slug’, ‘terms’ … Read more

Can’t style custom menu

I think you are not targeting the element correctly. Try this: #mainmenu { display: block; } #mainmenu ul.nav-primary { list-style-type: none !important; background-color: rgba(0,0,0,0.25) !important; padding: 5px !important; border-radius: 8px !important; -moz-border-radius: 8px !important; -webkit-border-radius: 8px !important; } #mainmenu ul.nav-primary li { display: inline-block !important; background-color: rgba(0,0,0,0.25) !important; margin-right: 5px !important; height: 32px !important; padding-top: … Read more

Set header for default posts page?

You could use a template. You just have to copy the file header.php and call the new file with the slug of the page testimonials. It would require 2 new files : header-testimonials.php and front-page.php. then you can call your custom header with get_header(‘testimonials’); See the template hierarchy. Just be sure Testimonials is your front … Read more

Post Images Size Change in WordPress

First of all set the image size in Settings > Media or seta customized image size using add_image_size function. New images you will upload will be right size, but for images already uploaded you have to recreate the image sizes, for the pourpose you can use the plugin Regenerate Thumbnails Hope it helps.