chris joney
asked 9 years ago

hi

i’m using DW Gamez theme

and i want to know, how i can delete the input box for the website URL , when a visitor wants to leave a comment !

but i don’t want to break CSS

i have tried to delete the code


            'url' =>
            '<p class="comment-form-url"><label for="url">' .
            __( 'Website', 'dw-gamez' ) . '</label>' .
            '<input id="url" class="form-control" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) .
            '" size="30" /></p>

but it breaks the sidebar !


also i want to know how i can delete the "meta date" in the related posts

thanks in advance 🙂

2 Answers
DominicStaff
answered 9 years ago

Hi,
To resolve this issue, you can add the following code to the style.css file:

 .single .comment-form-url {
     display: none;
 }
 .single .related-meta {
    display: none;
 }

Hope this helps !

chris joney
answered 9 years ago

thanks a lot

thank you very very much <3

btw, i put images in my posts but using a third party image hosting

so the related posts doesn’t show any images

is there any code which can catch the first image in the post and put it in the related posts ?

so the related posts has the title and the first image of the post and resized in 104×85 (for example )

thanks in advance <3

dominic Staff
replied 9 years ago

Please send me username & password of your site for further checking.
Regards,

Powered by DW Question & Answer Pro