Support » Plugin: WP-UserAgent » [Plugin: WP-UserAgent] Visual Configuration

Viewing 2 replies - 1 through 2 (of 2 total)
  • I may suggest to actually put your entire plug-in inside the the div tag, and allow your plug-in’s settings for “UserAgent Output Location” to determine where the div tag will display on the page.

    “Before comment text” would place the div tag between the:
    div class="comment-meta commentmetadata"
    and
    div class="comment-body"

    “After comment text” would place the div tag between the:
    div class="comment-body"
    and
    div class="reply"

    You could then use a .CSS file to control the visual elements of your plug-in.

    I guess I’m looking for something similar to Comment Info Detector.

    Notice how the output is displayed inside a Red box? Only, I’d like there to be some customization to the way it was displayed.

    Also, notice how it displays a country’s flag based on location of the poster? I would expand on that just a little, and give the option to show the country’s flag and/or display the IP address of the post.

    Lastly, I’d like to see the ability to control whether your plug-in is shown on comments, posts, and/or pages.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP-UserAgent] Visual Configuration’ is closed to new replies.