Skip to content

Commit 5bf980d

Browse files
committed
fix(theme): fix profile image implementation
1 parent eaaea78 commit 5bf980d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
99 KB
Loading

theme/index.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@
3030
<div class="w-[146px] sm:w-[176px] flex items-center mb-8 z-50 ">
3131
<img
3232
alt="Mazdak Pakaghideh"
33-
height={176}
34-
width={176}
35-
src="https://mazdak.dev/assets/images/Mazdak-Pakaghideh.png"
33+
height="176"
34+
width="176"
35+
src="<?php echo get_template_directory_uri(); ?>/assets/images/Mazdak-Pakaghideh.png"
3636
class="rounded-full"
37+
loading="lazy"
3738
/>
3839
</div>
3940
</div>

theme/template-parts/content/content-single.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<header class="entry-header ">
1515
<h1 class="text-white md:text-5xl text-4xl "><strong><?php the_title(); ?></strong></h1>
1616
<div class="flex flex-row mt-8">
17-
<img alt="Mazdak Pakaghideh" src="https://mazdak.dev/assets/images/avatar.jpeg" class="rounded-full md:w-[24px] md:h-[24px] w-[20px] h-[20px]" loading="lazy" >
17+
<img alt="Mazdak Pakaghideh" src="<?php echo get_template_directory_uri(); ?>/assets/images/Mazdak-Pakaghideh.png" class="rounded-full md:w-[24px] md:h-[24px] w-[20px] h-[20px]" loading="lazy" >
1818

1919
<p class="ml-2 text-sm text-gray-300">Mazdak Pakaghideh / <?php the_date(); ?></p>
2020
</div>

0 commit comments

Comments
 (0)