This shows two progress bar animations, one with a fixed pixel width, and the other fully responsive.
Animation is done with the JavaScript interval method as the looper.
| // Layout ---------------------------------------------------------------------- | |
| @include establish-baseline(16px); | |
| #nav, | |
| #inner, | |
| #footer{ | |
| @include container; | |
| width:100%; | |
| @include padding-trailer(1); |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <projectDescription> | |
| <name>bfc-android</name> | |
| <comment></comment> | |
| <projects> | |
| </projects> | |
| <buildSpec> | |
| <buildCommand> | |
| <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | |
| <arguments> |
| RewriteEngine On | |
| RewriteRule ^(.*/)?\.svn/ - [F,L] | |
| ErrorDocument 403 "Access Forbidden" |
This shows two progress bar animations, one with a fixed pixel width, and the other fully responsive.
Animation is done with the JavaScript interval method as the looper.
A Pen by Trisha Salas on CodePen.
A Pen by Trisha Salas on CodePen.
| /* set forum subscription field checked by default */ | |
| function my_forum_topic_subscribed_by_default() { | |
| echo '<script type="text/javascript">jQuery("#bbp_topic_subscription").prop("checked","checked");</script>'; | |
| } | |
| add_action('bbp_theme_after_topic_form_subscriptions', 'my_forum_topic_subscribed_by_default'); |
| <?php | |
| /** | |
| * Plugin Name: Static Templates | |
| * | |
| * If most of your site content is in .php template files, and you're tired of | |
| * creating new pages, assigning them page templates, creating page templates | |
| * then doing it all over again on production, this plugin is for you. | |
| * | |
| * Examples: | |
| * |
| <?php | |
| add_action( 'wp_enqueue_scripts', 'enqueue_my_styles' ); | |
| function enqueue_my_styles() { | |
| global $wp_styles; | |
| // Load the main stylesheet | |
| wp_enqueue_style( 'my-theme', get_stylesheet_directory_uri() . '/style.css' ); |
| <?php | |
| function date_compare($a, $b) | |
| { | |
| $t1 = strtotime($a->post_date); | |
| $t2 = strtotime($b->post_date); | |
| return $t1 - $t2; | |
| } | |
| // Cloud Loop |