Home Forums Blogary WordPress Theme Open link in comments on new page

This topic contains 14 replies, has 2 voices, and was last updated by  BWSM 2 years, 5 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #6871

    chinlaw
    Participant

    Hi there,

    I have 2 questions:

    1. I put the website url in the comments, but is it possible to make it visible on the page underneath the comment of someone? Now it’s only visible at the backend of the website right?

    2. Is it possible to open a link that is put in a comment opens on a new page? (For example: http://www.revealmystyle.com/floral-sweater-and-leather-skort/) This one opens in the same page.

    Thank you

    Grtz

    #6872

    BWSM
    Keymaster

    Hi Grtz,

    1. I am not clear this question. plz give more tips

    2. plz try to use the plugin: https://wordpress.org/plugins/wp-open-comment-links-in-new-window/

    Best,Bwsm
    Follow on @uiueux to get update news!

    #6876

    chinlaw
    Participant

    Thank you, that works!

    About the first one:
    Normally if someone wants to write a comment, they have to fill in the Name, Email and Comment.
    Now on my blog they have to put there website url as well. But when they leave the comment, only the name and comment is visible on the blog, but not the website url. Is it possible to make the website url visible after leaving a comment?

    Hereby the link with a post and comment, but the website url isn’t visible: http://www.revealmystyle.com/cozy-pullover-with-a-feminine-twist/

    #6879

    BWSM
    Keymaster

    Hi, I checked your site, you have added it, did you?

    Best

    #6881

    chinlaw
    Participant

    I’ve added the website url in the form, but when you send it, i want it under the comment.. see attachment

    #6885

    BWSM
    Keymaster

    I need to change code base on your code. Plz zip your theme folder(blogary) and paste here or(send to uiueux@gmail.com)

    #6890

    chinlaw
    Participant
    This reply has been marked as private.
    #6896

    BWSM
    Keymaster

    I have replied your mail.

    #6962

    chinlaw
    Participant

    Hi there,

    The website in the comment form works, but if someone don’t want to fill in there website or they don’t have a website, they will leave it empty right. Now when they leave it empty you’ll see this: http://Website .
    What i want is when someone don’t fill in there website in the comment form, the website url will not shown.. is that possible? It’s a dead link now.
    Hereby a link as a example what i mean: http://www.revealmystyle.com/black-and-white-floral-jacket/

    Thank you

    Kind regards

    #6965

    BWSM
    Keymaster

    Try to add a if condition in line 112:

    <?php if($comment->comment_author_url != "") { ?><a href="<?php comment_author_url(); ?>"><?php comment_author_url(); ?></a><?php } ?>

    if it doesn’t work, refer other solution: https://www.google.com/?gws_rd=ssl#q=if+has+comment_author_url

    #6968

    chinlaw
    Participant
    This reply has been marked as private.
    #6969

    chinlaw
    Participant
    This reply has been marked as private.
    #6974

    BWSM
    Keymaster

    The file that I mailed you: ▸ blogary-theme ▸ functions ▸ theme ▸ theme-post.php

    #6989

    chinlaw
    Participant

    Oh thank you, unfortunately it doesn’t work 🙁

    #6990

    BWSM
    Keymaster
Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.