function divi_add_page_name_id() { $page_name = get_the_title(); // gets the page name/title $page_url = get_permalink(); // gets the page URL ?>