Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweak register & enqueue and some code cleanup [TMZ-61] #38

Merged
merged 57 commits into from
Oct 25, 2024

Conversation

nuritsha
Copy link
Collaborator

No description provided.

mserino and others added 30 commits October 1, 2024 18:48
…title

# Conflicts:
#	modules/template-parts/classes/render/widget-header-render.php
#	modules/template-parts/scss/breakpoints.scss
#	modules/template-parts/scss/variables.scss
#	modules/template-parts/widgets/header.php
…title

# Conflicts:
#	modules/template-parts/scss/hello-plus-header.scss
use wp native function for site logo / title/ url
# Conflicts:
#	modules/template-parts/assets/scss/hello-plus-header.scss
#	modules/template-parts/classes/render/widget-header-render.php
#	modules/template-parts/widgets/header.php
@nuritsha nuritsha requested a review from mserino October 23, 2024 06:46
@nuritsha nuritsha requested a review from nicoladj77 October 23, 2024 11:54
@@ -86,7 +93,9 @@ public static function is_active(): bool {
*/
protected function register_hooks(): void {
parent::register_hooks();
add_action( 'wp_enqueue_scripts', [ $this, 'enqueue' ] );
// add_action( 'wp_enqueue_scripts', [ $this, 'enqueue' ] );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nuritsha can we remove this since it's commented out?

wp_enqueue_style( 'hello-plus-header' );
wp_enqueue_style( 'hello-plus-footer' );
wp_enqueue_script( 'hello-plus-header' );
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding space between function

@nuritsha nuritsha requested a review from mserino October 23, 2024 13:32
@nuritsha nuritsha merged commit 04b3051 into master Oct 25, 2024
4 of 5 checks passed
@nuritsha nuritsha deleted the feature/TMZ-61 branch October 25, 2024 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants