diff --git a/make-pledge-page.sh b/make-pledge-page.sh index c06bf62..35dea47 100755 --- a/make-pledge-page.sh +++ b/make-pledge-page.sh @@ -4,7 +4,7 @@ # The folder containing data for each council. # Includes the list of candidates and any media. -DATA_PATH="../spl-data" +DATA_PATH="../spl-data/federal_2025" DEFAULT_IMAGE="../spl-data/default.png.json" # Iterate over folders in data path @@ -22,4 +22,4 @@ done content=$(php pledge-update/pledge-page.php --candidates-files "${candidates_files[*]}" \ --default-image $DEFAULT_IMAGE) -echo "$content" | wp post update 12106 - +echo "$content" | wp post update 245816 - diff --git a/pledge-update/template.php b/pledge-update/template.php index 338010a..e48c517 100644 --- a/pledge-update/template.php +++ b/pledge-update/template.php @@ -5,7 +5,7 @@ function sluggify($input) { ?> -

The Streets People Love campaign offers council candidates the opportunity to take the following pledge:

+

The Streets People Love campaign offers federal candidates the opportunity to take the following pledge:

@@ -13,7 +13,7 @@ function sluggify($input) { -

Candidates from these councils have taken the pledge:

+

Candidates from these divisions have taken the pledge: