name: playwright-tester
description: >
Automated UI testing using Playwright's native test runner. Writes persistent .spec.ts test files,
runs them for free via npx playwright test, and fixes failures automatically. Use this skill
whenever the user wants to test a web app, check if a frontend works, run UI tests, verify form
submissions, test browser interactions, do end-to-end testing, stress test a website, or validate
that recent changes didn't break anything. Also triggers for "run my tests", "check the app in a
browser", "does this page work", "test the happy path", "find UI bugs", or any mention of
Playwright, E2E tests, browser automation, or regression testing. This is the go-to skill for ANY
So, you just cloned an existing project's repo and you run bundle install but you got the error: rbenv: version x.x.x is not installed....
What the issue means? The project uses a specific ruby version that you do not have on your system.
Here's how to fix it:
- Install the Ruby build for the specified version using:
rbenv install x.x.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: WordPress Functionality Plugin | |
| * Plugin URI: http://rickrduncan.com/wordpress/functionality-plugin | |
| * Description: Core WordPress customizations that are theme independent. | |
| * Author: Rick R. Duncan - B3Marketing, LLC | |
| * Author URI: http://rickrduncan.com | |
| * | |
| * | |
| * Version: 1.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| * Loop through Categories and Display Posts within | |
| */ | |
| $post_type = 'features'; | |
| // Get all the taxonomies for this post type | |
| $taxonomies = get_object_taxonomies( array( 'post_type' => $post_type ) ); | |
| foreach( $taxonomies as $taxonomy ) : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $loop = new WP_Query( array( | |
| 'post_type' => 'Property', | |
| 'posts_per_page' => -1 | |
| ) | |
| ); | |
| ?> | |
| <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Remove Rev Slider Metabox | |
| */ | |
| if ( is_admin() ) { | |
| function remove_revolution_slider_meta_boxes() { | |
| remove_meta_box( 'mymetabox_revslider_0', 'page', 'normal' ); | |
| remove_meta_box( 'mymetabox_revslider_0', 'post', 'normal' ); | |
| remove_meta_box( 'mymetabox_revslider_0', 'YOUR_CUSTOM_POST_TYPE', 'normal' ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if ( get_the_content() ) { ?> | |
| // do or output something | |
| <?php } ?> // break php tag for HTML block |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'woocommerce_checkout_fields', 'webendev_woocommerce_checkout_fields' ); | |
| /** | |
| * Change Order Notes Placeholder Text - WooCommerce | |
| * | |
| */ | |
| function webendev_woocommerce_checkout_fields( $fields ) { | |
| $fields['order']['order_comments']['placeholder'] = 'Your custom placeholder'; | |
| return $fields; | |
| } |
NewerOlder
