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
| while [ ! -e wp-config.php ]; do | |
| if [ $pwd/ = / ]; then | |
| echo "No Wordpress root found" >&2; exit 1 | |
| fi | |
| cd ../ | |
| done | |
| if [ -e wp-config.php ]; then | |
| wproot=$(pwd) | |
| fi |
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 | |
| /** | |
| * Changes ad wrapper <div> element to <aside> element | |
| * Does not work with cache-busting containers | |
| * | |
| * @param string $output ad output. | |
| * @param object $ad Advanced_Ads_Ad object. | |
| * | |
| * @return string |
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
| class f6_dropdown_menu extends Walker_Nav_Menu { | |
| // Add vertical menu class and submenu data attribute to sub menus | |
| function start_lvl( &$output, $depth = 0, $args = array() ) { | |
| $indent = str_repeat( "\t", $depth ); | |
| $output .= "\n$indent<ul class=\"vertical menu dropdown\">\n"; | |
| } |
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
| name: myproject | |
| recipe: wordpress | |
| config: | |
| php: '7.3' | |
| xdebug: false | |
| proxy: | |
| theme: |
OlderNewer