I hereby claim:
- I am nikschavan on github.
- I am nikhilchavan (https://keybase.io/nikhilchavan) on keybase.
- I have a public key ASDwKn9STnshrMPZ2oVg74bs4v8Bcw8o_gDi6cbcb1IJHQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| UP=$(pgrep mysql | wc -l); | |
| if [ "$UP" -ne 1 ]; | |
| then | |
| echo "MySQL is down."; | |
| sudo service mysql start | |
| fi |
| <?php // don't copy this line to your file. | |
| // disable the default wrappers for the WooCommerce Sensei templates. | |
| global $woothemes_sensei; | |
| remove_action( 'sensei_before_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper' ), 10 ); | |
| remove_action( 'sensei_after_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper_end' ), 10 ); | |
| /** | |
| * Load the correct wrappers for the WooCommerce Sensei layouts. | |
| */ |
| <?php // don't add this line to your file. | |
| add_filter( 'astra_schema_body', '__return_empty_string' ); | |
| add_filter( | |
| 'astra_attr_post-meta-author', | |
| function( $attr ) { | |
| unset( $attr['itemprop'] ); | |
| unset( $attr['itemscope'] ); | |
| unset( $attr['itemtype'] ); |
| <?php | |
| /** | |
| * Function to change the Next Post/ Previous post text. | |
| * | |
| * @param array $args Arguments for next post / previous post links. | |
| * @return array | |
| */ | |
| function astra_change_next_prev_text( $args ) { | |
| $next_post = get_next_post(); |
| <?php | |
| /** | |
| * Enqueue styles | |
| */ | |
| function astra_bb_custom_layout_styles_in_head() { | |
| if ( ! is_callable( 'FLBuilder::enqueue_layout_styles_scripts_by_id' ) ) { | |
| return; | |
| } |
| <?php // don't copy this line in your code | |
| /** | |
| * Display only last modified date in the post metadata. | |
| * | |
| * @param String $output Markup for the last modified date. | |
| * @return void | |
| */ | |
| function your_prefix_post_date( $output ) { | |
| $output = ''; |