Skip to content

Commit

Permalink
Merge pull request #183 from PRX/fix/hp-admin-link
Browse files Browse the repository at this point in the history
HOTFIX: Update The World Homepage link
  • Loading branch information
brandonhundt authored Apr 8, 2024
2 parents 29f4702 + ec24020 commit 9d74b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-content/themes/the-world/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function tw_remove_core_block_patterns() {
* @uses add_menu_page() Add links to the menu.
*/
function tw_add_edit_homepage_menu_link() {
add_menu_page( 'tw_edit_homepage_link', 'The World Homepage', 'publish_posts', '/wp-admin/term.php?taxonomy=program&tag_ID=2&post_type=post', '', 'dashicons-admin-site-alt3', 8 );
add_menu_page( 'tw_edit_homepage_link', 'The World Homepage', 'publish_posts', '/wp-admin/term.php?taxonomy=program&tag_ID=12270&post_type=post', '', 'dashicons-admin-site-alt3', 8 );
}
endif;
add_action( 'admin_menu', 'tw_add_edit_homepage_menu_link' );

0 comments on commit 9d74b39

Please sign in to comment.