Skip to content

Add Post Types To Author Archives

Add Post Types To Author Archives

By default WordPress author archives only display posts from the standard post type, however, you can easily tweak things via your child theme to include any post types you want in the author archive. The snippet below shows how you…

Read more

Add Tilted Dividers to Menu Style One

.navbar-style-one .dropdown-menu > li > a > span:after { content: ""; height: 24px; width: 1px; background: #ccc; position: absolute; right: 0; top: 50%; margin-top: -12px; transform: skew(-10deg); } .navbar-style-one .dropdown-menu > li:last-child > a > span:after { display: none; }

Read more

Hide portfolio media block on password protected posts

// Hide portfolio media block on password protected posts add_filter( 'totaltheme/portfolio/single_blocks', function( $blocks, $instance ) { // Don't mess with customizer blocks if ( 'customizer' == $instance ) { return $blocks; } // Alter front-end blocks else { // Get…

Read more

Alter Scroll to Top Speed

You can use the following code in your child theme's functions.php file to alter the back to top scroll speed. Simply change the 1000 value to your value of choice (speed in milliseconds).

Read more
Back To Top