chris joney
asked 8 years ago

hi

i want to hide the related games from the single.php , i mean i want to hide it from my posts

but i want to keep the tag "Related Games"

i mean i only want to hide related posts but keep the tag title "Related Games"

so i can use a plugin called related posts which has some extra features

PS: i tried to use CSS :

.related-title {
display: none;
}

but seems like not working !

1 Answers
DominicStaff
answered 8 years ago

Hi,
To resolve this issue, you can open the single.php. Line 15:
Replace the following code:
<?php dw_gamez_related_post($post->ID); ?>

With new code:

<div class="related-posts">
    <h2 class="related-posts-title"><?php _e( '<span>Related</span> Articles.', 'dw-gamez' ); ?></h2>
    <div class="related-content">
        <div class="row">
        Post the shostocde of your related plugin here                  
            </div>

         </div>

    </h2>

</div>

Hope this helps !

Powered by DW Question & Answer Pro