Skip to content

Commit

Permalink
fix project_slug on project pages
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Abraham <[email protected]>
  • Loading branch information
cjyabraham committed Oct 21, 2024
1 parent 026427e commit 38d2697
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
$youtube = get_post_meta( get_the_ID(), 'lf_project_youtube', true );
$gitter = get_post_meta( get_the_ID(), 'lf_project_gitter', true );

$project_slug = strtolower( get_the_title() );

global $post;
$project_slug = strtolower( $post->post_name );
?>

<main class="projects-single">
Expand Down

0 comments on commit 38d2697

Please sign in to comment.