Matthias Klöpping
asked 10 years ago

Hi,

i bought your theme because i like it very much. But after installing i found a problem. The blog page is using only a popup window to show content. But for Google its not possible to see this content by crawling. So all content in blog or images are not in Google index. Thats a very very handicap of this template. Do you have a solution to use this theme anyway ?

Thanks a lot.

1 Answers
DominicStaff
answered 10 years ago

Hi,
To resolve this issue, you can create a single.php file in the folder path "wp-content > themes > dw-page-modern". Then add the following code to this file:

<?php get_header(); ?>

<div id="main">
    <div class="section">
        <div class="container">
            <?php while ( have_posts() ) : the_post(); ?>
            <article <?php post_class(); ?>>
                    <header class="page-header">
                        <h1 class="page-title"><?php the_title(); ?></h1>
                    </header>
                    <div class="entry-content">
                        <?php the_content(); ?>
                    </div>
                </article>
            <?php endwhile; ?>
        </div>
    </div>
</div>
<?php get_footer(); ?>

Hope this helps !

kloeppy
replied 10 years ago

Hi Dominic,

ok, i created single.php in themes > dw-page-christmas (i dont have dw-page-modern. But what than ? Nothing has changed. Its also the pop up window, when clicking at the thumbnail…

Powered by DW Question & Answer Pro