-
-
Notifications
You must be signed in to change notification settings - Fork 5
Add new magazine article issue to the slider
Ashwin Ramaswami edited this page Feb 20, 2019
·
2 revisions
Add a new magazine issue to the slider on https://www.stanforddaily.com/category/magazine/
-
go to https://issuu.com/home/published and sign in with [email protected] account
-
click add to website -> add to website
-
click "get code"
-
see that the id is equal to "28430991/67880779"
-
Get an image of the article cover from the magazine editor, then upload it to wordpress and click on the image in the media tab.
-
Get the attachment id from the url (in this case, it is "1149963")
-
Add a new entry to https://github.com/TheStanfordDaily/stanforddaily-website/blob/c7c48f8dfd8f23bd8c40198b18d8246531e80643/wp-content/themes/jnews-child/category-magazine.php#L107, for example:
array("volume" => "III",
"issue" => "3",
"date" => "02.19.19",
"id" => "28430991/67880779",
"image" => 1149963),