Forum Replies Created

Viewing 15 replies - 1 through 15 (of 39 total)
  • Thread Starter tatianamk

    (@tatianamk)

    Duh! I’m an idiot, I was looking for something to fix in the theme itself. ??
    Thank you very much for your help, that worked perfectly.

    Thread Starter tatianamk

    (@tatianamk)

    Thank you, it works better now! ??

    The only thing missing from the plugin (I chose the scroll theme as the other two weren’t really fit for my page) is maybe a little arrow to show people that they’re supposed to scroll. It’s a little difficult to figure it out otherwise.

    I’m having the same problem here. The plugin has stopped tweeting since the last update.

    Thread Starter tatianamk

    (@tatianamk)

    Hello John,

    Actually sorry, I managed to solve the problem. I realized that Buzzblog came with its own separate child theme. Thank you for your answer anyway! ??

    Thread Starter tatianamk

    (@tatianamk)

    IT WORKS!!! thank you very much ??

    Thread Starter tatianamk

    (@tatianamk)

    I have a bit of trouble placing this. This is what my comments.php looks like:

    <?php
    // Do not delete these lines
    if (!empty($_SERVER[‘SCRIPT_FILENAME’]) && ‘comments.php’ == basename($_SERVER[‘SCRIPT_FILENAME’]))
    die (‘Please do not load this page directly. Thanks!’);

    if ( post_password_required() ) { ?>
    <?php echo ‘<p class=”nocomments”>’ . __(‘This post is password protected. Enter the password to view comments.’, HS_CURRENT_THEME ) . ‘</p>’; ?>
    <?php
    return;
    }
    ?>
    <!– BEGIN Comments –>
    <?php if ( have_comments() ) : ?>
    <div id=”comments” class=”comment-holder”>
    <h5 class=”comments-h”><?php printf( _n( ‘1 Comment’, ‘%1$s Comments’, get_comments_number(), HS_CURRENT_THEME ),
    number_format_i18n( get_comments_number() ), ” );?></h5>
    <div class=”pagination”>
    <?php paginate_comments_links(‘prev_text=Prev&next_text=Next’); ?>
    </div>
    <ul class=”commentlist”>
    <?php wp_list_comments(‘type=comment&callback=hercules_comment’); ?>

    <div class=”pagination”>
    <?php paginate_comments_links(‘prev_text=Prev&next_text=Next’); ?>
    </div>
    </div>
    <?php else : // this is displayed if there are no comments so far ?>

    <?php if ( comments_open() ) : ?>
    <!– If comments are open, but there are no comments. –>
    <?php echo ‘<p class=”nocomments”>’ . __(‘No Comments Yet.’, HS_CURRENT_THEME ) . ‘</p>’; ?>
    <?php else : // comments are closed ?>
    <!– If comments are closed. –>
    <?php echo ‘<p class=”nocomments”>’ . __(‘Comments are closed.’, HS_CURRENT_THEME ) . ‘</p>’; ?>

    <?php endif; ?>

    <?php endif; ?>

    <?php $hercules_comments_args = array(
    // change the title of send button
    ‘label_submit’=> __( ‘Post Comment’,HS_CURRENT_THEME),
    // change the title of the reply section
    ‘title_reply’=> __( ‘Leave a Reply’,HS_CURRENT_THEME),
    // remove “Text or HTML to be displayed after the set of comment fields”
    ‘comment_notes_after’ => ”,
    // redefine your own textarea (the comment body)
    ‘comment_field’ => ‘<p class=”comment-form-comment”><label for=”comment”>’ . _x( ‘Commentaire’, HS_CURRENT_THEME ) . ‘</label>
    <textarea id=”comment” name=”comment” aria-required=”true”></textarea></p>’,
    );

    comment_form($hercules_comments_args); ?>

    I tried placing your code at the very end, before comment_form($hercules_comments_args); ?> but the smilies show up at the top of the comment form and it looks weird. And if I place the code even closer to the end, the smilies don’t show up at all ??

    Thread Starter tatianamk

    (@tatianamk)

    Hello,

    Thanks for your help! Wp-monalisa is enabled and works when I write articles. Does not work in comments however ??

    Thread Starter tatianamk

    (@tatianamk)

    Thank you for the tip! The theme worked okay at first so it has to be something I did.
    I will try to do what you said and keep you posted ??

    Forum: Fixing WordPress
    In reply to: Favicon bug
    Thread Starter tatianamk

    (@tatianamk)

    Hi, it ended up working after a while. Thank you guys for your help ??

    Thread Starter tatianamk

    (@tatianamk)

    No, I’m afraid that doesn’t do the trick. If I change the name back to custom-function.php and then change functions to functions.phpdelete, I still get the WSOD. ??

    Right now I have changed
    include_once HS_CHILD_DIR . ‘/includes/custom-function.php’;

    into
    include_once HS_PARENT_DIR . ‘/includes/custom-function.php’;

    so it calls the parent’s custom-function instead of the child’s. It seems to work but I don’t like the idea of updating my custom-function.php directly in the parent if I need to…

    Forum: Fixing WordPress
    In reply to: Favicon bug
    Thread Starter tatianamk

    (@tatianamk)

    Doing that trick didn’t work… The default Hostgator icon still shows. I’ll try harassing the theme maker again because it’s definitely an issue with the theme (if I change themes the favicon shows normally).

    Thread Starter tatianamk

    (@tatianamk)

    Just to specify, I have tried:

    //Loading Custom function
    include_once HS_CHILD_DIR . ‘/includes/custom-function.php’;

    with and without brackets. Many lines after that did not have brackets and I was wondering if that was the problem. It wasn’t.

    Thread Starter tatianamk

    (@tatianamk)

    Actually no, that is not resolved ??

    I have tried deactivating a plugin called Simple Sharer, because it seems redundant with what I already have with my theme. When I deactivated this, my website went haywire and suddenly it said there was a problem with the functions.php file in the parent. So this means I have found the line that calls custom-function.php.

    This is the code before that line:

    <?php

    /*———————————————————————————–*/
    /* Set Proper Parent/Child theme paths for inclusion
    /*———————————————————————————–*/

    @define( ‘HS_PARENT_DIR’, get_template_directory() );
    @define( ‘HS_CHILD_DIR’, get_stylesheet_directory() );

    @define( ‘HS_PARENT_URL’, get_template_directory_uri() );
    @define( ‘HS_CHILD_URL’, get_stylesheet_directory_uri() );

    include_once (HS_PARENT_DIR . ‘/includes/locals.php’);

    //Loading Custom function
    include_once HS_CHILD_DIR . ‘/includes/custom-function.php’;

    Anything weird in there?

    When I put custom-function2.php I become able to deactivate my plugin, but the white screen of death. Why this plugin in particular, I have no idea…

    Forum: Fixing WordPress
    In reply to: Favicon bug
    Thread Starter tatianamk

    (@tatianamk)

    Thanks Jack and songdotech ??

    I have sent about 10 emails in the past 2 weeks to the guy who developed my theme. I got once an answer saying “please send me your login and password and I’ll check it out”, which I did, after that the guy disappeared into thin air again. I have gotten way more support from people on this forum with the issues I’ve been having than from this guy.

    I will try uploading the favicon file to my root directory, thanks ??

    Thread Starter tatianamk

    (@tatianamk)

    Thank you OsakaWebbie.

    Actually I was the one who created the header.php, footer.php and functions.php. Custom-function.php was already there.

    But well, now that there is no longer a problem, I will consider the matter as resolved and maybe just delete the file since it doesn’t seem to matter very much.

    Thank you for spending all that time to help me!

Viewing 15 replies - 1 through 15 (of 39 total)