Archive for January, 2018
|
Wednesday, January 24th, 2018
This is a great addition to jQuery tabs, for when you want to animate the new active tab body.
@keyframes tabSlide{
0% {
opacity: 0;
-moz-transform:translateY(30px);
-webkit-transform:translateY(30px);
-o-transform:translateY(30px);
-ms-transform:translateY(30px);
transform:translateY(30px)
}
100% {
opacity:1;
-moz-transform:translateY(0px);
-webkit-transform:translateY(0px);
-o-transform:translateY(0px);
-ms-transform:translateY(0px);
transform:translateY(0px)
}
}
.active-tab {
animation-name: tabSlide;
animation-duration: 500ms;
animation-timing-function: ease;
}
Tags: active, animation, css tabs, jquery ui, opacity, slide up, tabs
Posted in CSS | No Comments »
Tuesday, January 9th, 2018
Add this to you wp-config.php file and change the number for how many revisions you want to limit your pages to:
define('WP_POST_REVISIONS', 10);
Or use the below to globally turn off post revisions:
define('WP_POST_REVISIONS', false);
Tags: Code help, Functions, Matt Seymour, Post, Revisions, Support, WordPress, WP, WP config, wp_post_revisions
Posted in PHP, WordPress | No Comments »