[gnome-web-www: 59/68] Update the "support-us" references from functions.php
- From: Tom Tryfonidis <tomtryf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www: 59/68] Update the "support-us" references from functions.php
- Date: Tue, 24 Jan 2017 15:52:10 +0000 (UTC)
commit bccd140cd6a775e962850a4fc4c168fe3abb8caa
Author: Tom Tryfonidis <tomtryf gnome org>
Date: Thu Jan 12 14:35:46 2017 +0200
Update the "support-us" references from functions.php
theme/functions.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/theme/functions.php b/theme/functions.php
index 7963469..aa2807f 100644
--- a/theme/functions.php
+++ b/theme/functions.php
@@ -84,8 +84,8 @@ function gnomegrass_resources() {
wp_enqueue_style('style', get_stylesheet_uri());
wp_enqueue_style('font-awesome', get_template_directory_uri() . '/css/font-awesome.min.css' );
- // Scripts and styles for page-friends-of-gnome and page-donate
- if (is_page( array('friends', 'donate', 'support-us')) ) {
+ // Scripts and styles for page-friends, page-support-gnome and page-donate
+ if (is_page( array('friends', 'donate', 'support-gnome')) ) {
friends_common_resources();
}
@@ -95,8 +95,8 @@ function gnomegrass_resources() {
wp_enqueue_script( 'clipboard', get_template_directory_uri() . '/js/clipboard.min.js',
array('jquery'), null, true);
}
- // Scripts and styles for page-support-us
- if (is_page('support-us')) {
+ // Scripts and styles for page-support-gnome
+ if (is_page('support-gnome')) {
wp_enqueue_style('friends', get_template_directory_uri() . '/css/friends.css', array('bootstrap'),
null, 'all');
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]