Forum Replies Created

Viewing 15 replies - 61 through 75 (of 101 total)
  • Thread Starter CallUp

    (@callup)

    samboll,
    You are brilliant! Thank you! Thank you! Thank you!

    I’m back in! 🙂

    What had happened? Was it because there were too many changes at once and it locked up, or something?

    Thread Starter CallUp

    (@callup)

    I moved my theme up to the live site, and got it working there, but I still haven’t managed to sort all this out locally. I had hoped to do all my future updates/fixes locally and then ftp the files up once completed. What a mess I’ve made.

    I’ve put my files back where they were originally. Unfortunately, when I dumped all my WordPress directories and files into the directory one up (the www directory) I didn’t note the files already in www. It still doesn’t work, so I suspect when I moved everything back, I might have moved some of the original files located in www directory down one level into the WordPress directory.

    Do you, by any chance, know what files must be located in the www directory, not including the WordPress directory which houses the Themes, wp-content, etc)?

    Thanks for your help.

    Thread Starter CallUp

    (@callup)

    I found out the solution to my problem on the developer’s site:

    Why isn’t the drop-down menu appearing?

    It’s likely because your your theme wasn’t coded properly. Using the Theme Editor, make sure that the following piece of code is included in your theme’s footer.php file just before the </body> line:

    <?php wp_footer(); ?>

    Thanks for being one step ahead of me. 🙂

    Thread Starter CallUp

    (@callup)

    Hello? Anyone?

    I just continue to make a mess of this.

    Now it’s telling me: Unable to open WampServer’s config file, please change path in index.php file

    Thread Starter CallUp

    (@callup)

    Also, on my local wamp (where I’m developing the theme), the share/save button doesn’t produce a little dialogue box full of icons like it does on the dummy site I have live. When I click on the share/save icon it just acts as a link and takes me to the AddToAny site.

    Does anyone know what is causing this?

    I have this same problem as well.

    I’m the Administrator and I’d like to be able to create different users with different roles so that I can see what each role (with their respective permission levels) can see on the screen.

    Unfortunately, I only have one email address and don’t want to have to create a ton of email addresses to accomplish this simple task.

    I still can’t figure out why Administrators (who supposed to have total power over their site) can’t create more than one account with the same email address. How is anyone supposed to test their site? Good grief!

    You will need to define your custom callback function in your theme’s functions.php file. Here is an example:

    function mytheme_comment($comment, $args, $depth) {
    $GLOBALS[‘comment’] = $comment; ?>
    <li <?php comment_class(); ?> id=”li-comment-<?php comment_ID() ?>”>
    <div id=”comment-<?php comment_ID(); ?>”>
    <div class=”comment-author vcard”>
    <?php echo get_avatar($comment,$size=’48’,$default='<path_to_url>’ ); ?>

    <?php printf(__(‘<cite class=”fn”>%s</cite> <span class=”says”>says:</span>’), get_comment_author_link()) ?>
    </div>
    <?php if ($comment->comment_approved == ‘0’) : ?>
    <?php _e(‘Your comment is awaiting moderation.’) ?>

    <?php endif; ?>

    <div class=”comment-meta commentmetadata”>comment_ID ) ) ?>”><?php printf(__(‘%1$s at %2$s’), get_comment_date(), get_comment_time()) ?><?php edit_comment_link(__(‘(Edit)’),’ ‘,”) ?></div>

    <?php comment_text() ?>

    <div class=”reply”>
    <?php comment_reply_link(array_merge( $args, array(‘depth’ => $depth, ‘max_depth’ => $args[‘max_depth’]))) ?>
    </div>
    </div>
    <?php
    }

    Note the lack of a trailing . WordPress will add it itself once it’s done listing any children and whatnot.

    From this page.

    Thread Starter CallUp

    (@callup)

    For those of you who might be interested, I found this article explaining what’s up with Amazon ending its associate program in NC and RI. It appears N. Carolina just passed legislation to tax all internet click-throughs. That bites for those of us hoping to generate few pennies from a blog.

    nkk,
    The thing about “back” and “next” is that it can confuse the reader as far as what “back” represents.

    For instance the “back” button on your browser takes you to the last page you were on. It doesn’t distinguish between whether that last page you were on contains more recent posts or older posts, and therein lies the potential confusion: Is the “back” button taking you to the page you were just on, even if you were just on a page with the more recent posts than the one you’re on now?

    By better articulating the time line of the page it is taking you too (a page with more recent posts vs a page with more older posts) that clarifies that confusion.

    As far as that button being on the left or right of the screen, you might have a point there.

    Having said all this, if you go into the page that contains this function call, it takes as arguments (in quotes) exactly what you want it to say. You can change “Older posts” to “next” or to “back” if that seems clearer to you.

    Thread Starter CallUp

    (@callup)

    FYI, I’ve tried taking the width of #comment down to 50%. It makes the box small – where you’d respond to the post.

    But it still doesn’t shrink appropriately for responding to nested comments.

    Thread Starter CallUp

    (@callup)

    Thanks again for your help, esmi.

    Thread Starter CallUp

    (@callup)

    I love this widget. It would be great if I could hide that “Next Quote” button. I’d prefer that users not be able to scroll through all my quotes, but to just to be able to see different quotes each day, or refresh or something.

    It also seems to be not working now, for some reason.

    Don’t mess with anything in functions.php.

    That’s where the functions are defined – which are getting called from your other pages.

    Are you using home.php instead of index.php? Look for that.

    You need to find where that function call is coming from. It could be getting called from your header.php file, if that’s how that theme was designed.

    Basically, your Theme has been broken down into several parts:

    The main one is either index.php or home.php and it pulls in the following files:
    header.php
    sidebar.php
    footer.php

    … and possibly others.

    In my index.php, from my index.php, it goes like this:

    get_header() – pulls in the header file

    then comes the main loop inside index.php
    after the main loop it calls that function you’re looking for: ** <?php next_posts_link() **

    then it calls
    get_sidebar()
    get_footer()

    So my next_post_link() is getting called from index.php. Check to see what pages are being called before the main loop in your index.php (or in home.php if you don’t have an index.php). If the only thing above your main loop is a get_header() call, then check inside header.php, and see if it’s in there.

    Not sure if I’m making this clear or just complicating it for you.

    Thread Starter CallUp

    (@callup)

    I finally figured it out. If anyone is curious let me know, and I’ll tell you how I did it.

    That code should be in two places: once before the main Loop, and once after it. You can just delete the one above the loop and leave the bottom one alone.

Viewing 15 replies - 61 through 75 (of 101 total)