add files

This commit is contained in:
Andrey Kuvshinov
2025-07-09 21:21:17 +03:00
commit 8fc8cbae32
596 changed files with 207566 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
/*
YARPP Template: Multilingual
Description: An example template for use with the WPML and Polylang plugins
Author: mitcho (Michael Yoshitaka Erlewine)
*/
if (function_exists("icl_register_string")) {
icl_register_string("Yet Another Related Posts Plugin", "related posts header", "Related Posts");
icl_register_string("Yet Another Related Posts Plugin", "no related posts message", "No related posts.");
}
?><h3><?php echo (function_exists("icl_t") ? icl_t("Yet Another Related Posts Plugin", "related posts header", "Related Posts") : "Related Posts") ?></h3>
<?php if (have_posts()):?>
<ol>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li>
<?php endwhile; ?>
</ol>
<?php else: ?>
<p><?php echo (function_exists("icl_t") ? icl_t("Yet Another Related Posts Plugin", "no related posts message", "No related posts.") : "No related posts.") ?></p>
<?php endif; ?>