Skip to content

Fixed Header Instead of Menu For Header Style Two, Three and Four

Alter The Default Excerpt Arguments

/* The Default arguments look like this: $defaults = array( 'output' => '', 'length' => '30', 'readmore' => false, 'readmore_link' => '', 'more' => '…', ); */ // You can use a filter to alter these. It will also override…

Read more

Center Mobile Menu

/* Positon mobile menu under logo /* Will no longer work with fixed header without additional tweaks */ body #mobile-menu { clear: both; position: relative; right: auto; top: auto; margin: 0; padding: 20px 0; } /* Make mobile menu span…

Read more

Display Thumbnail Above Title For Pages

// Display post thumbnail above the title on pages function my_add_thumbnail_to_pages() { // For pages only if ( ! is_page() ) { return; } ?> 'full', 'alt' => wpex_get_esc_title(), ) ); ?> <?php } add_action( 'wpex_hook_page_header_before', 'my_add_thumbnail_to_pages' );

Read more
Back To Top