Skip to content

Commit

Permalink
feat: replace slugs with links on connect-translations page
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquimds committed Nov 6, 2023
1 parent ab28bf1 commit 0c94710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/themes/awasqa/src/wpml.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,13 @@ function connect_translations_page()
<ul>
<?php foreach ($untranslated_posts as $post) : ?>
<li>
<?= $post->post_name ?> / <?= get_the_title($post) ?>
<select class="connect-translation-select" name="post-<?= $post->ID ?>">
<option value="0" selected>---</option>
<?php for ($i = 1; $i <= 10; ++$i) : ?>
<option value="<?= $i ?>"><?= $i ?></option>
<?php endfor ?>
</select>
<a href="<?= get_the_permalink($post->ID) ?>"><?= get_the_title($post->ID) ?></a>
</li>
<?php endforeach; ?>
</ul>
Expand Down

0 comments on commit 0c94710

Please sign in to comment.