Horace
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Remove P Tags From Comment ExcerptOkay, I just realized that it only adds <p> tags if there are line breaks in the original comment?
Forum: Fixing WordPress
In reply to: How Can I Put An Excerpt From The Original Comment On RepliesFor inquiring minds:
function reply_woohoo($comment) { $comment_handle = get_comment(get_comment_id()); if ($comment_handle->comment_parent) { $parent = get_comment( $comment_handle->comment_parent ); $parent_author = get_comment_author($parent); $parent_comment = get_comment_excerpt($parent); $comment= '<div class="commentreplywoohoo">This is a reply to '.$parent_author.'\'s comment: '.$parent_comment.'</div>' . $comment; } return $comment; } add_filter('get_comment_text', 'reply_woohoo');
Forum: Fixing WordPress
In reply to: Change The Way Comment Form Errors Are HandledForum: Fixing WordPress
In reply to: Nested CommentsWhen I do this, there is no longer a reply link.
Forum: Fixing WordPress
In reply to: Large grey box on the side of site in Firefox and IEIn the header of your theme, the stylesheet
https://vector.mavrikmarine.com/wp-content/themes/rebel-child/style.css?ver=4.3
is called which importshttps://vector.mavrikmarine.com/wp-content/themes/rebel/style.css
. In that stylesheet it gives the body a background color of#f2f2f2
which, I dunno why, is where the gray box comes from. In the header.php of your theme, below all the other stylesheets but before the </head>, put this:<style type="text/css"> body { background:none; } </style>
Gray box gone :o)
Forum: Fixing WordPress
In reply to: Can't access dashboardIt should be here (although I get a forbidden error when I try it):
https://screen3productions.com/wp-login.php
or
https://screen3productions.com/FOLDERNAME/wp-login.php
if WP is not installed in the root.
Forum: Fixing WordPress
In reply to: Need a Word Press Wizard to tell me what`s wrong with this please??Look at the very bottom of that mess.
Fatal error: Call to undefined function register_nav_menus() in /home/content/53/3018953/html/DOUGLASVW-SEE-OUR-HAPPY-CUSTOMERS/wp-content/themes/twentyfourteen/functions.php on line 82
That tells you what the problem is and where it’s located.
Forum: Fixing WordPress
In reply to: Different Style For Comment Replies?Figured it out. Here’s the code in case anyone ever needs it.
<?php if ($depth > 1) $comment_class = 'commentreply'; elseif ($comment->user_id == 1) $comment_class = 'commentauth'; else $comment_class = 'comment'; ?> <div class="<?php echo $comment_class; ?>">