Forum Replies Created

Viewing 15 replies - 16 through 30 (of 50 total)
  • Thread Starter geoff67

    (@geoff67)

    Thanks for the quick reply. I think I’ll try replacing a text input, because hiding one would be a disservice to disabled visitors (duplicate fields).

    The code I posted was unaltered from the source. I was just curious if I was looking in the right spot for my jSON to tie in to… but apparently not.

    That said, your third option of hooking into the submit button was what I was trying to find… how might I pass these values and push() them together into the array? (In this way, avoiding a text input type altogether)

    I think the lowest interval you can use is 1 minute.

    Thread Starter geoff67

    (@geoff67)

    Amazing. That fixed it. Thanks so much, figaro.

    Thread Starter geoff67

    (@geoff67)

    Thanks for the suggestion. I found 38 instances, in 4 variations. Uploading new db now.

    Do you know what would’ve caused this? I don’t want another SQL bug.

    Thread Starter geoff67

    (@geoff67)

    wp-config.php is normal. DB stuff at top, keys, table prefix, lang and the wp-settings.php line.

    Thread Starter geoff67

    (@geoff67)

    Oh, and here’s the link to the website: shafr.org.

    geoff67

    (@geoff67)

    I think you and I were asking for the same thing. Check out my solution, it might help.

    Thread Starter geoff67

    (@geoff67)

    Figures once I post here, I find a semi-solution.

    Installing this plug-in allows for what I wanted, but I can’t get « to be in the link.

    I guess I’ll live.

    For those who want to know how, you put this somewhere in your template:
    <?php mdv_recent_posts(1,'','',false,1,false,false); ?>

    And I modified line26 of the plug-in so that Previous is displayed, instead of the title of the post (which is default):
    $output .= $before . '<a href="' . $permalink . '" rel="bookmark" title="Permanent Link: ' . htmlspecialchars($post_title, ENT_COMPAT) . '">' . htmlspecialchars(Previous) . '</a>';

    #sidebar-wrapper is too wide for its parent div.

    I’m assuming you don’t want a blog for the homepage, and just the text on https://www.ohiocichlid.com/home/ ?
    I’d create a new page template and rename that as your index.php. Also, your permalinks seem to be working now.

    You’re welcome; mark this thread as resolved.

    Sigh. Last time I’m touching this, man.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
    
    <?php get_header(); ?>
    
    <body>
    <div class="main">
    <div class="container">
    <div class="span-24 header">
    <h1 class="name"><?php bloginfo('name'); ?><!--<span class="bubble"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $bubbles; ?>" alt="bubbles" /></span>--></h1>
    <span class="slogan"><?php bloginfo('description'); ?></span>
    </div>
    
    <?php include (TEMPLATEPATH . "/navigation.php"); ?>
    
    <?php include (TEMPLATEPATH . "/banner.php"); ?>
    
    <div class="span-24 content">
    <div class="span-16 post-wrapper">
    
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="post">
    <div class="text-header">
    <h2 class="title" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
    <span class="no"><?php comments_number('0', '1', '%', 'comments'); ?></span>
    <div class="clear"></div>
    </div>
    
    <div class="hr"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $scissors; ?>" alt="scissors" /></div>
    
    <div class="info-small">
    <span class="date"><?php the_time('F jS, Y') ?></span><span class="author"><?php the_author() ?></span><span class="cat"><?php the_category(', ') ?></span>
    </div>
    
    <?php the_content('Read the rest of this entry ?'); ?>
    <?php the_tags('<span class="tag"> Tags: ', ', ', '</span>'); ?>
    <?php comments_popup_link('No Comments ?', '1 Comment ?', '% Comments ?'); ?>
    <?php edit_post_link('Edit', '<p class="edit">', '</p>'); ?>
    </div>
    <?php endwhile; ?>
    <?php else : ?>
    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn't here.</p>
    
    <?php endif; ?>
    <div class="post">
    <p class="alignleft"><?php next_posts_link('? Older Entries') ?></p>
    <p class="alignright"><?php previous_posts_link('Newer Entries ?') ?></p>
    </div>
    </div>
    <div class="span-8 last sidebar">
    <?php get_sidebar(); ?>
    </div>
    </div>
    
    <?php get_footer(); ?>
    </div>
    </div>
    </body>
    </html>

    Oh. Man that theme is trash! I’d find a new one.
    Noob didn’t close the li tags. See what happens with this code…

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
    
    <?php get_header(); ?>
    
    <body>
    <div class="main">
    <div class="container">
    <div class="span-24 header">
    <h1 class="name"><?php bloginfo('name'); ?><!--<span class="bubble"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $bubbles; ?>" alt="bubbles" /></span>--></h1>
    <span class="slogan"><?php bloginfo('description'); ?></span>
    </div>
    
    <?php include (TEMPLATEPATH . "/navigation.php"); ?>
    
    <?php include (TEMPLATEPATH . "/banner.php"); ?>
    
    <div class="span-24 content">
    <div class="span-16 post-wrapper">
    
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="post">
    <div class="text-header">
    <h2 class="title" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
    <span class="no"><?php comments_number('0', '1', '%', 'comments'); ?></span>
    <div class="clear"></div>
    </div>
    
    <div class="hr"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $scissors; ?>" alt="scissors" /></div>
    
    <div class="info-small">
    <span class="date"><?php the_time('F jS, Y') ?></span><span class="author"><?php the_author() ?></span><span class="cat"><?php the_category(', ') ?></span>
    </div>
    
    <?php the_content('Read the rest of this entry ?'); ?>
    <?php the_tags('<span class="tag"> Tags: ', ', ', '</span>'); ?>
    <?php comments_popup_link('No Comments ?', '1 Comment ?', '% Comments ?'); ?>
    <?php edit_post_link('Edit', '<p class="edit">', '</p>'); ?>
    
    <?php endwhile; ?>
    <?php else : ?>
    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn't here.</p>
    
    <?php endif; ?>
    <div class="post">
    <p class="alignleft"><?php next_posts_link('? Older Entries') ?></p>
    <p class="alignright"><?php previous_posts_link('Newer Entries ?') ?></p>
    
    </div>
    <div class="span-8 last sidebar">
    <?php get_sidebar(); ?>
    </div>
    </div>
    
    <?php get_footer(); ?>
    </div>
    </div>
    </body>
    </html>

    What the. Okay, what’s below will fix the title, but the dots are coming from the theme’s style, I believe.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
    
    <?php get_header(); ?>
    
    <body>
    <div class="main">
    <div class="container">
    <div class="span-24 header">
    <h1 class="name"><?php bloginfo('name'); ?><!--<span class="bubble"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $bubbles; ?>" alt="bubbles" /></span>--></h1>
    <span class="slogan"><?php bloginfo('description'); ?></span>
    </div>
    
    <?php include (TEMPLATEPATH . "/navigation.php"); ?>
    
    <?php include (TEMPLATEPATH . "/banner.php"); ?>
    
    <div class="span-24 content">
    <div class="span-16 post-wrapper">
    
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <li class="post">
    <div class="text-header">
    <h2 class="title" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
    <span class="no"><?php comments_number('0', '1', '%', 'comments'); ?></span>
    <div class="clear"></div>
    </div>
    
    <div class="hr"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $scissors; ?>" alt="scissors" /></div>
    
    <div class="info-small">
    <span class="date"><?php the_time('F jS, Y') ?></span><span class="author"><?php the_author() ?></span><span class="cat"><?php the_category(', ') ?></span>
    </div>
    
    <?php the_content('Read the rest of this entry ?'); ?>
    <?php the_tags('<span class="tag"> Tags: ', ', ', '</span>'); ?>
    <?php comments_popup_link('No Comments ?', '1 Comment ?', '% Comments ?'); ?>
    <?php edit_post_link('Edit', '<p class="edit">', '</p>'); ?>
    
    <?php endwhile; ?>
    <?php else : ?>
    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn't here.</p>
    
    <?php endif; ?>
    <li class="post">
    <p class="alignleft"><?php next_posts_link('? Older Entries') ?></p>
    <p class="alignright"><?php previous_posts_link('Newer Entries ?') ?></p>
    
    </div>
    <div class="span-8 last sidebar">
    <?php get_sidebar(); ?>
    </div>
    </div>
    
    <?php get_footer(); ?>
    </div>
    </div>
    </body>
    </html>

    Eh, ignore that first character (`) as well.

Viewing 15 replies - 16 through 30 (of 50 total)