Commit b65cbdb3 authored by Jakob Moser's avatar Jakob Moser
Browse files

Fix articles not showing on English landing page

parent 7217b892
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -21,7 +21,11 @@ get_header();
    <section class="news">
        <?php 
        // Formulate a query for all posts that are displayed on the "blog" page
        if (get_bloginfo('language') === 'de-DE') {
            $the_query = new WP_Query("pagename=blog"); 
        } else {
            $the_query = new WP_Query("pagename=blog-2"); 
        }
        ?>

        <?php if ($the_query->have_posts()): ?>
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
 * Author: personads :: Maximilian Müller-Eberstein (ursprüngliche Version und Design); Jakob Moser (Code-Rewrite)
 * Author URI: https://personads.me/
 *
 * Version: 1.12
 * Version: 1.13
 *
 * License: GNU General Public License v3.0
 * License URI: https://www.gnu.org/licenses/gpl-3.0.html