- Create and send the Proposal
- Create and send the Agreement
- Ask for the Logo (Important)
- THIS IS IMPORTANT BECAUSE WE HAVE TO FIND THE RIGHT FONT AND THE RIGHT COLOR PALETTE
- Create Wireframe with Figma
| /* --------------------------------------------------------------------------- | |
| * Set hreflang="x-default" according to Google content guidelines with Polylang | |
| * --------------------------------------------------------------------------- */ | |
| function filter_pll_rel_hreflang_attributes( $hreflangs ) { | |
| foreach ( $hreflangs as $lang => $url ) { | |
| if ( $lang === 'en' ) { | |
| printf( '<link rel="alternate" href="%s" hreflang="%s" />' . "\n", esc_url( $url ), esc_attr( 'x-default' ) ); | |
| } | |
| } | |
| return $hreflangs; |
| add_action( 'wp_head', 'sk_google_tag_manager1', 1 ); | |
| /** | |
| * Adds Google Tag Manager code in <head> below the <title>. | |
| */ | |
| function sk_google_tag_manager1() { ?> | |
| <!-- Google Tag Manager --> | |
| <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |
| new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |
| j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= |
| <?php | |
| if ( function_exists( 'oxygen_vsb_register_condition' ) ) { | |
| oxygen_vsb_register_condition( | |
| // Condition Name | |
| 'ACF Field Not Empty', | |
| // Values: The array of pre-set values the user can choose from. | |
| // Set the custom key's value to true to allow users to input custom values. |
| <?php //remove opening php tag | |
| // add column(s) to admin cpt ui | |
| add_filter ( 'manage_cptname_posts_columns', 'wd_add_acf_columns' ); | |
| function wd_add_acf_columns ( $columns ) { | |
| return array_merge ( $columns, array ( | |
| 'additional_column_1' => __ ( 'Column 1 Label' ), | |
| 'additional_column_2' => __ ( 'Column 2 Label' ), | |
| )); | |
| } |
| /* Put this in a code block just BEFORE the repeater */ | |
| /* WP_Query Reference: https://github.com/luetkemj/wp-query-ref */ | |
| <?php | |
| add_action( 'pre_get_posts', 'custom_query_name' ); | |
| function custom_query_name( $query ) { | |
| $cpt_id = get_queried_object_id(); |
| <?php | |
| if (function_exists('oxygen_vsb_register_condition') ) { | |
| global $oxy_condition_operators; | |
| oxygen_vsb_register_condition('Has Results', array('options'=>array('true', 'false'), 'custom'=>false), array('=='), 'search_has_results_callback', 'Search'); | |
| function search_has_results_callback($value, $operator) { | |
| <?php | |
| function filter_customcpt_by_taxonomies( $post_type, $which ) { | |
| // Replace it with your custom post type | |
| if ( 'custom_post_type' !== $post_type ) | |
| return; | |
| // Here you can add how many taxonomy you want | |
| $taxonomies = array( 'testimonial_type' ); |
| /** | |
| * | |
| * Reference: https://oxywp.com/polylang-condition-in-oxygen/ | |
| */ | |
| <?php | |
| if( function_exists('oxygen_vsb_register_condition') && function_exists('pll_languages_list') ) { | |
| $lang_list = pll_languages_list(); |
| <?php | |
| // Fully Disable Gutenberg editor. | |
| add_filter('use_block_editor_for_post_type', '__return_false', 10); | |
| // Don't load Gutenberg-related stylesheets. | |
| add_action( 'wp_enqueue_scripts', 'remove_block_css', 100 ); | |
| function remove_block_css() { | |
| wp_dequeue_style( 'wp-block-library' ); // Wordpress core | |
| wp_dequeue_style( 'wp-block-library-theme' ); // Wordpress core |